Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009806/0.0009834, allocations: 95.36 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002277/0.0002277, allocations: 8 kB / 306.6 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09018/0.09043, allocations: 51.49 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01176/0.1022, allocations: 11.48 MB / 369.6 MB, free: 2.379 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1703/0.2726, allocations: 4.415 MB / 374 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003118/0.2757, allocations: 72.91 kB / 374 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003383/0.2791, allocations: 0.7983 MB / 374.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004981/0.2842, allocations: 1.2 MB / 376 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.2862, allocations: 0.6594 MB / 376.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005424/0.2916, allocations: 2.868 MB / 379.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002969/0.2946, allocations: 2.215 MB / 381.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003067/0.2977, allocations: 1.274 MB / 383.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/0.301, allocations: 1.475 MB / 384.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006618/0.3016, allocations: 206.3 kB / 384.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.3037, allocations: 398 kB / 385.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007324/0.3044, allocations: 0.7206 MB / 385.8 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.3057, allocations: 0.7462 MB / 386.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00547/0.3112, allocations: 5.467 MB / 392.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3112, allocations: 0 / 392.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.3112, allocations: 1.188 kB / 392.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001443/0.3114, allocations: 0 / 392.1 MB, free: 5.945 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.009536/0.3209, allocations: 3.76 MB / 395.8 MB, free: 3.531 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.321, allocations: 9.625 kB / 395.8 MB, free: 3.531 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004751/0.3258, allocations: 0.834 MB / 396.7 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004495/0.3303, allocations: 2.305 MB / 399 MB, free: 1.465 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.3304, allocations: 243.3 kB / 399.2 MB, free: 1.355 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005571/0.331, allocations: 325.8 kB / 399.5 MB, free: 1.246 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006794/0.3378, allocations: 4.215 MB / 403.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.879e-05/0.3379, allocations: 7.938 kB / 403.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003085/0.3382, allocations: 133.6 kB / 403.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/0.3384, allocations: 146.4 kB / 404 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006285/0.3447, allocations: 3.586 MB / 407.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02275/0.3674, allocations: 13.98 MB / 421.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00611/0.3736, allocations: 6.663 MB / 428.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005493/0.3791, allocations: 3.454 MB / 431.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3792, allocations: 47.83 kB / 431.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=140): time 2.695e-06/0.3792, allocations: 0 / 431.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=143): time 0.01097/0.3902, allocations: 6.018 MB / 437.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.3902, allocations: 72.72 kB / 437.8 MB, free: 11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/0.3925, allocations: 1.742 MB / 439.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.3926, allocations: 49.7 kB / 439.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008797/0.3935, allocations: 1.446 MB / 441.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003331/0.3938, allocations: 492.8 kB / 441.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.665e-05/0.3939, allocations: 36 kB / 441.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3941, allocations: 377.9 kB / 442 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.3952, allocations: 0.6949 MB / 442.7 MB, free: 6.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.3965, allocations: 1.198 MB / 443.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.3978, allocations: 0.916 MB / 444.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.3978, allocations: 4 kB / 444.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.003825/0.4017, allocations: 2.57 MB / 447.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.4017, allocations: 12 kB / 447.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.4017, allocations: 16 kB / 447.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008823/0.4026, allocations: 376.1 kB / 447.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.404, allocations: 379.4 kB / 448.1 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007025/0.4111, allocations: 7.779 MB / 455.9 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.4128, allocations: 88 kB / 456 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/0.4131, allocations: 72 kB / 456 MB, free: 7.957 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(1,100.0%) 1,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002418/0.4155, allocations: 1.005 MB / 457.1 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005094/0.416, allocations: 193.7 kB / 457.2 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004105/0.4201, allocations: 2.344 MB / 459.6 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.4201, allocations: 19.94 kB / 459.6 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.4202, allocations: 8 kB / 459.6 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.4202, allocations: 7.969 kB / 459.6 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009275/0.4295, allocations: 5.165 MB / 464.8 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.4295, allocations: 0 / 464.8 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008542/0.4304, allocations: 195.7 kB / 465 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/0.4318, allocations: 0.5278 MB / 465.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.906e-05/0.4319, allocations: 39.98 kB / 465.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/0.4436, allocations: 12.21 MB / 477.8 MB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4437, allocations: 0 / 477.8 MB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005456/0.4491, allocations: 3.399 MB / 481.2 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.4502, allocations: 430.6 kB / 481.6 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/0.4505, allocations: 32 kB / 481.6 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008523/0.4513, allocations: 75.94 kB / 481.7 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/0.4516, allocations: 107.6 kB / 481.8 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.518e-05/0.4517, allocations: 40 kB / 481.8 MB, free: 13.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00194/0.4537, allocations: 1.188 MB / 483 MB, free: 11.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4537, allocations: 0 / 483 MB, free: 11.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002404/0.4561, allocations: 0.5939 MB / 483.6 MB, free: 11.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003401/0.4564, allocations: 187.1 kB / 483.8 MB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003472/0.4599, allocations: 2.401 MB / 486.2 MB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4599, allocations: 0.875 kB / 486.2 MB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.4623, allocations: 1.779 MB / 488 MB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.4643, allocations: 0.5036 MB / 488.5 MB, free: 6.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009674/0.474, allocations: 7.122 MB / 495.6 MB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/0.4761, allocations: 2.374 MB / 498 MB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001734/0.4778, allocations: 409.1 kB / 498.4 MB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003752/0.4782, allocations: 123.4 kB / 498.5 MB, free: 12.14 MB / 414.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4783, allocations: 0 / 498.5 MB, free: 12.14 MB / 414.1 MB Notification: Performance of Templates: time 0.04762/0.5259, allocations: 27.58 MB / 0.5137 GB, free: 0.8711 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches