Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001704/0.001704, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00201/0.00201, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 69 kB / 308.4 MB, free: 15.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09519/0.09634, allocations: 50.53 MB / 358.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.1878/0.2841, allocations: 33.48 MB / 392.4 MB, free: 2.316 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01951/0.3037, allocations: 9.257 MB / 401.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007602/0.3113, allocations: 239.6 kB / 401.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01883/0.3302, allocations: 7.965 MB / 409.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01291/0.3432, allocations: 3.658 MB / 413.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007283/0.3505, allocations: 2.152 MB / 415.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01725/0.3677, allocations: 13.13 MB / 428.8 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03494/0.4027, allocations: 22.49 MB / 451.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01279/0.4155, allocations: 6.553 MB / 457.9 MB, free: 8.688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01326/0.4289, allocations: 7.382 MB / 465.2 MB, free: 1.281 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005763/0.4347, allocations: 1.887 MB / 467.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007767/0.4424, allocations: 2.257 MB / 469.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005365/0.4478, allocations: 3.749 MB / 473.1 MB, free: 9.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01282/0.4607, allocations: 7.117 MB / 480.2 MB, free: 2.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03443/0.4951, allocations: 25.04 MB / 0.4934 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4952, allocations: 0 / 0.4934 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4952, allocations: 0 / 0.4934 GB, free: 9.125 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000645/0.4959, allocations: 0 / 0.4934 GB, free: 9.125 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.0444/0.5403, allocations: 14.62 MB / 0.5077 GB, free: 10.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.5403, allocations: 8.031 kB / 0.5077 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03964/0.58, allocations: 6.835 MB / 0.5144 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01943/0.5994, allocations: 8.127 MB / 0.5223 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008376/0.6003, allocations: 0.7868 MB / 0.5231 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004358/0.6047, allocations: 1.047 MB / 0.5241 GB, free: 9.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.347/0.9517, allocations: 17.21 MB / 0.5409 GB, free: 122.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004634/0.9522, allocations: 23.28 kB / 0.541 GB, free: 122.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00261/0.9548, allocations: 442.2 kB / 0.5414 GB, free: 122.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006405/0.9555, allocations: 0.629 MB / 0.542 GB, free: 122 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03271/0.9882, allocations: 16.31 MB / 0.5579 GB, free: 115.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08658/1.075, allocations: 56.32 MB / 0.6129 GB, free: 67.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02137/1.096, allocations: 31.38 MB / 0.6436 GB, free: 32.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006293/1.103, allocations: 4.374 MB / 0.6478 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0181/1.121, allocations: 10.7 MB / 0.6583 GB, free: 17.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.359e-05/1.121, allocations: 77.81 kB / 0.6584 GB, free: 17.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 6.271e-06/1.121, allocations: 4 kB / 0.6584 GB, free: 17.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.04187/1.163, allocations: 21.53 MB / 0.6794 GB, free: 11.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/1.163, allocations: 128.7 kB / 0.6795 GB, free: 11.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008594/1.171, allocations: 4.706 MB / 0.6841 GB, free: 6.551 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001004/1.172, allocations: 97.7 kB / 0.6842 GB, free: 6.449 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003527/1.176, allocations: 4.669 MB / 0.6888 GB, free: 1.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001847/1.178, allocations: 1.454 MB / 0.6902 GB, free: 316 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003495/1.181, allocations: 1.132 MB / 0.6913 GB, free: 15.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/1.182, allocations: 301.1 kB / 0.6916 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005064/1.187, allocations: 2.905 MB / 0.6944 GB, free: 11.96 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006458/1.193, allocations: 4.953 MB / 0.6993 GB, free: 6.078 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/1.205, allocations: 8.341 MB / 0.7074 GB, free: 12.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.196e-05/1.205, allocations: 20 kB / 0.7074 GB, free: 12.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.0204/1.225, allocations: 9.734 MB / 0.7169 GB, free: 2.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.524e-05/1.225, allocations: 33.88 kB / 0.717 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/1.226, allocations: 68 kB / 0.717 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004646/1.23, allocations: 1.651 MB / 0.7186 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.179/1.409, allocations: 1.312 MB / 0.7199 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02513/1.434, allocations: 17.75 MB / 0.7372 GB, free: 147.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005036/1.439, allocations: 328.9 kB / 0.7376 GB, free: 147.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000746/1.44, allocations: 280.8 kB / 0.7378 GB, free: 147.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0078/1.448, allocations: 3.897 MB / 0.7416 GB, free: 145.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/1.449, allocations: 0.495 MB / 0.7421 GB, free: 145.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/1.462, allocations: 7.79 MB / 0.7497 GB, free: 142.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/1.462, allocations: 46.72 kB / 0.7498 GB, free: 142.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.465e-05/1.462, allocations: 15.81 kB / 0.7498 GB, free: 142.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-05/1.462, allocations: 21.89 kB / 0.7498 GB, free: 142.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02853/1.491, allocations: 17.47 MB / 0.7669 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/1.491, allocations: 7.531 kB / 0.7669 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003473/1.494, allocations: 0.7248 MB / 0.7676 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004068/1.498, allocations: 1.551 MB / 0.7691 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007119/1.499, allocations: 106.4 kB / 0.7692 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02024/1.519, allocations: 21.22 MB / 0.7899 GB, free: 117.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.519, allocations: 8 kB / 0.7899 GB, free: 117.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/1.535, allocations: 11.45 MB / 0.8011 GB, free: 107.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003512/1.539, allocations: 1.149 MB / 0.8022 GB, free: 106.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001504/1.54, allocations: 91.94 kB / 0.8023 GB, free: 106 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003379/1.544, allocations: 231.8 kB / 0.8025 GB, free: 105.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001026/1.545, allocations: 329.7 kB / 0.8029 GB, free: 105.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004656/1.545, allocations: 132 kB / 0.803 GB, free: 105.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005782/1.551, allocations: 3.19 MB / 0.8061 GB, free: 102.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.551, allocations: 0 / 0.8061 GB, free: 102.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008805/1.56, allocations: 1.866 MB / 0.8079 GB, free: 100.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/1.561, allocations: 274.2 kB / 0.8082 GB, free: 100 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01354/1.575, allocations: 8.144 MB / 0.8161 GB, free: 91.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/1.575, allocations: 0 / 0.8161 GB, free: 91.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007017/1.582, allocations: 4.644 MB / 0.8207 GB, free: 87.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006211/1.588, allocations: 1.319 MB / 0.822 GB, free: 85.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03154/1.62, allocations: 19.17 MB / 0.8407 GB, free: 66.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007277/1.627, allocations: 6.777 MB / 0.8473 GB, free: 59.78 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005107/1.632, allocations: 1.865 MB / 0.8491 GB, free: 57.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/1.633, allocations: 375.4 kB / 0.8495 GB, free: 57.54 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/1.633, allocations: 4 kB / 0.8495 GB, free: 57.54 MB / 494.1 MB Notification: Performance of Templates: time 0.3155/1.949, allocations: 78.83 MB / 0.9265 GB, free: 139.3 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches