Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 109.5 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 242.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009956/0.0009957, allocations: 59.55 kB / 302.1 MB, free: 5.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09312/0.09414, allocations: 49.44 MB / 351.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01375/0.1079, allocations: 13.63 MB / 365.1 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007604/0.1156, allocations: 4.419 MB / 369.6 MB, free: 1.539 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.1172, allocations: 83.69 kB / 369.6 MB, free: 1.457 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.1195, allocations: 1.006 MB / 370.6 MB, free: 456 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1819/0.3014, allocations: 1.305 MB / 371.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.3034, allocations: 0.8838 MB / 372.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004741/0.3082, allocations: 4.088 MB / 376.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00385/0.3121, allocations: 3.235 MB / 380.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003407/0.3155, allocations: 1.888 MB / 382 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003021/0.3185, allocations: 2.09 MB / 384.1 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007583/0.3193, allocations: 0.5122 MB / 384.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.321, allocations: 0.7072 MB / 385.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009154/0.3219, allocations: 1.116 MB / 386.5 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002331/0.3243, allocations: 2.136 MB / 388.6 MB, free: 6.531 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004958/0.3293, allocations: 6.707 MB / 395.3 MB, free: 3.074 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3293, allocations: 3.984 kB / 395.3 MB, free: 3.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3293, allocations: 3.938 kB / 395.3 MB, free: 3.066 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.042e-05/0.3294, allocations: 0 / 395.3 MB, free: 3.066 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.009254/0.3386, allocations: 4.394 MB / 399.7 MB, free: 136 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3387, allocations: 13.64 kB / 399.7 MB, free: 132 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004029/0.3427, allocations: 0.8122 MB / 400.5 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004504/0.3473, allocations: 2.428 MB / 403 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.3474, allocations: 249.6 kB / 403.2 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000495/0.3479, allocations: 324.5 kB / 403.5 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.3584, allocations: 4.264 MB / 407.8 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.3586, allocations: 11.27 kB / 407.8 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004546/0.3591, allocations: 135.7 kB / 407.9 MB, free: 8.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002148/0.3593, allocations: 150.4 kB / 408.1 MB, free: 8.637 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009765/0.3691, allocations: 3.6 MB / 411.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03507/0.4042, allocations: 13.68 MB / 425.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007578/0.4118, allocations: 6.562 MB / 431.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003293/0.4151, allocations: 1.397 MB / 433.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008793/0.424, allocations: 3.619 MB / 436.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.4241, allocations: 47.88 kB / 437 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 4.679e-06/0.4241, allocations: 0 / 437 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01405/0.4381, allocations: 5.876 MB / 442.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.4382, allocations: 72.64 kB / 442.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003905/0.4422, allocations: 1.78 MB / 444.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001736/0.4423, allocations: 49.7 kB / 444.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.4436, allocations: 1.438 MB / 446.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000505/0.4441, allocations: 474.9 kB / 446.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006626/0.4448, allocations: 327.2 kB / 447 MB, free: 364 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4449, allocations: 301.1 kB / 447.3 MB, free: 60 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.4465, allocations: 0.6871 MB / 448 MB, free: 15.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.4486, allocations: 1.195 MB / 449.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004008/0.4526, allocations: 2.003 MB / 451.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.4527, allocations: 4 kB / 451.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.006039/0.4587, allocations: 2.545 MB / 453.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.4588, allocations: 12 kB / 453.7 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/0.4588, allocations: 16 kB / 453.7 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.4601, allocations: 366.7 kB / 454.1 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.4615, allocations: 375.4 kB / 454.5 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007928/0.4695, allocations: 8.413 MB / 462.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.4711, allocations: 67.97 kB / 462.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.4713, allocations: 75.98 kB / 463 MB, free: 15.29 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.001729/0.473, allocations: 1.016 MB / 464 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003995/0.4734, allocations: 189.7 kB / 464.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003935/0.4773, allocations: 2.285 MB / 466.5 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.4774, allocations: 12 kB / 466.5 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.4774, allocations: 8 kB / 466.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.4774, allocations: 11.97 kB / 466.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008332/0.4857, allocations: 5.078 MB / 471.6 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.4858, allocations: 4 kB / 471.6 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007772/0.4866, allocations: 167.8 kB / 471.8 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/0.488, allocations: 0.5399 MB / 472.3 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.4881, allocations: 39.98 kB / 472.4 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/0.5005, allocations: 13.22 MB / 485.6 MB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.5006, allocations: 7.969 kB / 485.6 MB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005534/0.5061, allocations: 3.213 MB / 488.8 MB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.5073, allocations: 422.6 kB / 489.2 MB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002918/0.5076, allocations: 40.48 kB / 489.3 MB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008765/0.5085, allocations: 60.05 kB / 489.3 MB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000319/0.5088, allocations: 109.1 kB / 489.4 MB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.605e-05/0.5089, allocations: 39.98 kB / 489.5 MB, free: 3.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001785/0.5107, allocations: 1.219 MB / 490.7 MB, free: 2.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5107, allocations: 0 / 490.7 MB, free: 2.508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002193/0.5129, allocations: 0.5781 MB / 491.3 MB, free: 1.93 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 (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.0003326/0.5132, allocations: 163.1 kB / 491.4 MB, free: 1.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003535/0.5168, allocations: 2.366 MB / 493.8 MB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.5168, allocations: 0 / 493.8 MB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002581/0.5194, allocations: 1.749 MB / 495.5 MB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/0.522, allocations: 0.5397 MB / 496.1 MB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009579/0.5316, allocations: 5.801 MB / 0.4901 GB, free: 7.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/0.5337, allocations: 2.311 MB / 0.4924 GB, free: 4.781 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001371/0.5351, allocations: 401 kB / 0.4927 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/0.5354, allocations: 123.4 kB / 0.4929 GB, free: 4.266 MB / 414.1 MB Notification: Performance of SimCode: time 2.695e-06/0.5354, allocations: 0 / 0.4929 GB, free: 4.266 MB / 414.1 MB Notification: Performance of Templates: time 0.05115/0.5866, allocations: 29.65 MB / 0.5218 GB, free: 7.008 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches