Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_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.001921/0.001921, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002068/0.002068, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.454/1.454, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 64.39 kB / 307.9 MB, free: 464 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/0.09442, allocations: 50.54 MB / 358.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.1619/0.2563, allocations: 14.26 MB / 372.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007853/0.2642, allocations: 4.679 MB / 377.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.2663, allocations: 83.34 kB / 377.5 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00269/0.269, allocations: 1.022 MB / 378.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.2724, allocations: 1.292 MB / 379.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.2743, allocations: 0.9441 MB / 380.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003934/0.2783, allocations: 4.103 MB / 384.8 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003317/0.2816, allocations: 3.228 MB / 388.1 MB, free: 5.199 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.2844, allocations: 1.898 MB / 390 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003708/0.2881, allocations: 2.205 MB / 392.2 MB, free: 3.289 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009124/0.289, allocations: 0.5089 MB / 392.7 MB, free: 3.289 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.2909, allocations: 0.7555 MB / 393.4 MB, free: 3.203 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007571/0.2917, allocations: 1.119 MB / 394.5 MB, free: 2.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002038/0.2937, allocations: 2.135 MB / 396.7 MB, free: 1.059 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006542/0.3003, allocations: 6.71 MB / 403.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.3003, allocations: 4 kB / 403.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3003, allocations: 0 / 403.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001392/0.3005, allocations: 0 / 403.4 MB, free: 12.5 MB / 318.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.01153/0.312, allocations: 4.436 MB / 407.8 MB, free: 8.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3121, allocations: 8.031 kB / 407.8 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004337/0.3164, allocations: 0.8247 MB / 408.7 MB, free: 7.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004489/0.3209, allocations: 2.39 MB / 411 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.3211, allocations: 245.4 kB / 411.3 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005257/0.3217, allocations: 327.8 kB / 411.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00755/0.3292, allocations: 4.256 MB / 415.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.179e-05/0.3293, allocations: 11.92 kB / 415.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000318/0.3297, allocations: 138.1 kB / 416 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/0.3298, allocations: 146.4 kB / 416.2 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006712/0.3365, allocations: 3.594 MB / 419.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0238/0.3604, allocations: 13.98 MB / 433.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007401/0.3678, allocations: 6.671 MB / 440.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002772/0.3706, allocations: 1.392 MB / 441.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006842/0.3775, allocations: 3.888 MB / 445.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.3776, allocations: 51.81 kB / 445.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 5.971e-06/0.3776, allocations: 4 kB / 445.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01259/0.3902, allocations: 5.888 MB / 451.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.3903, allocations: 72.72 kB / 451.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/0.3932, allocations: 1.798 MB / 453.5 MB, free: 9.586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.3934, allocations: 53.7 kB / 453.5 MB, free: 9.527 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.3946, allocations: 1.452 MB / 455 MB, free: 8.062 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004919/0.3951, allocations: 477.3 kB / 455.5 MB, free: 7.602 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005034/0.3956, allocations: 311.3 kB / 455.8 MB, free: 7.293 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3958, allocations: 309.1 kB / 456.1 MB, free: 6.988 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.3969, allocations: 0.6754 MB / 456.7 MB, free: 6.312 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.3985, allocations: 1.201 MB / 457.9 MB, free: 4.887 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0029/0.4015, allocations: 2.01 MB / 460 MB, free: 2.656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.4015, allocations: 4 kB / 460 MB, free: 2.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004452/0.4059, allocations: 2.547 MB / 462.5 MB, free: 64 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.406, allocations: 12 kB / 462.5 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/0.406, allocations: 16 kB / 462.5 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.407, allocations: 374.3 kB / 462.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.4084, allocations: 371.4 kB / 463.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008634/0.4171, allocations: 8.401 MB / 471.7 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.4186, allocations: 79.97 kB / 471.7 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.4188, allocations: 75.98 kB / 471.8 MB, free: 6.207 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001837/0.4206, allocations: 1.001 MB / 472.8 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/0.4211, allocations: 197.6 kB / 473 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004348/0.4254, allocations: 2.296 MB / 475.3 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.4254, allocations: 12 kB / 475.3 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.4255, allocations: 8 kB / 475.3 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/0.4255, allocations: 7.969 kB / 475.3 MB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008488/0.434, allocations: 5.089 MB / 480.4 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.434, allocations: 4 kB / 480.4 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008266/0.4349, allocations: 172 kB / 480.6 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001489/0.4364, allocations: 0.5322 MB / 481.1 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.93e-05/0.4365, allocations: 39.98 kB / 481.2 MB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/0.4505, allocations: 13.26 MB / 494.4 MB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.4506, allocations: 4.031 kB / 494.4 MB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005433/0.456, allocations: 3.219 MB / 497.6 MB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009818/0.457, allocations: 426.6 kB / 498.1 MB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/0.4573, allocations: 35.92 kB / 498.1 MB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008516/0.4581, allocations: 67.95 kB / 498.2 MB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/0.4584, allocations: 109.2 kB / 498.3 MB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-05/0.4585, allocations: 32 kB / 498.3 MB, free: 10.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001889/0.4604, allocations: 1.236 MB / 499.5 MB, free: 9.363 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4604, allocations: 0 / 499.5 MB, free: 9.363 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002188/0.4626, allocations: 0.59 MB / 0.4884 GB, free: 8.773 MB / 414.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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003624/0.463, allocations: 177.7 kB / 0.4886 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005/0.468, allocations: 2.693 MB / 0.4912 GB, free: 5.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.468, allocations: 4 kB / 0.4912 GB, free: 5.824 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002557/0.4706, allocations: 1.731 MB / 0.4929 GB, free: 4.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.473, allocations: 0.5519 MB / 0.4934 GB, free: 3.473 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009969/0.483, allocations: 5.868 MB / 0.4992 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00229/0.4853, allocations: 2.265 MB / 0.5014 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005528/0.4859, allocations: 139.4 kB / 0.5015 GB, free: 11.13 MB / 430.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4859, allocations: 0 / 0.5015 GB, free: 11.13 MB / 430.1 MB Notification: Performance of Templates: time 0.248/0.7339, allocations: 129.3 MB / 0.6278 GB, free: 59.98 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches