Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007775/0.0007776, allocations: 93.06 kB / 17.3 MB, free: 6.043 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.0008083/0.0008083, allocations: 180.2 kB / 18.21 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004722, allocations: 8.516 kB / 281.4 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08203/0.08252, allocations: 47.59 MB / 329 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01235/0.09491, allocations: 12.77 MB / 341.7 MB, free: 6.914 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007491/0.1024, allocations: 4.339 MB / 346.1 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.1043, allocations: 67.75 kB / 346.1 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003028/0.1073, allocations: 0.8589 MB / 347 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004438/0.1118, allocations: 1.177 MB / 348.2 MB, free: 456 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.1142, allocations: 0.8226 MB / 349 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006109/0.1203, allocations: 4.332 MB / 353.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005033/0.1254, allocations: 2.604 MB / 355.9 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00299/0.1285, allocations: 1.33 MB / 357.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003887/0.1324, allocations: 1.676 MB / 358.9 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000997/0.1334, allocations: 212 kB / 359.2 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.1352, allocations: 423.7 kB / 359.6 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000881/0.1361, allocations: 0.7626 MB / 360.3 MB, free: 4.191 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0024/0.1386, allocations: 1.766 MB / 362.1 MB, free: 2.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007618/0.1462, allocations: 6.268 MB / 368.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1462, allocations: 0 / 368.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.1463, allocations: 4 kB / 368.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002328/0.1465, allocations: 0 / 368.4 MB, free: 12.12 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.01517/0.1617, allocations: 3.704 MB / 372.1 MB, free: 8.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.1618, allocations: 8.031 kB / 372.1 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007122/0.1689, allocations: 0.8202 MB / 372.9 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004017/0.1729, allocations: 2.221 MB / 375.1 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.1731, allocations: 246.8 kB / 375.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006286/0.1738, allocations: 324 kB / 375.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00731/0.1811, allocations: 4.27 MB / 380 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.199e-05/0.1812, allocations: 7.938 kB / 380 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002946/0.1815, allocations: 140 kB / 380.1 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/0.1816, allocations: 142.4 kB / 380.2 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1678/0.3495, allocations: 3.599 MB / 383.8 MB, free: 47.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0217/0.3712, allocations: 13.95 MB / 397.8 MB, free: 39.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00517/0.3764, allocations: 6.576 MB / 404.4 MB, free: 33.13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.3784, allocations: 1.395 MB / 405.7 MB, free: 32.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004933/0.3833, allocations: 3.642 MB / 409.4 MB, free: 29.83 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.3834, allocations: 45.94 kB / 409.4 MB, free: 29.78 MB / 318.1 MB Notification: Performance of pre-optimization done (n=134): time 2.945e-06/0.3834, allocations: 4 kB / 409.4 MB, free: 29.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=137): time 0.009593/0.393, allocations: 5.923 MB / 415.4 MB, free: 24.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.393, allocations: 68.72 kB / 415.4 MB, free: 24.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.395, allocations: 1.788 MB / 417.2 MB, free: 22.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.036e-05/0.3951, allocations: 45.7 kB / 417.3 MB, free: 22.87 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006051/0.3957, allocations: 1.43 MB / 418.7 MB, free: 21.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.396, allocations: 483.2 kB / 419.2 MB, free: 20.96 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.3961, allocations: 142.7 kB / 419.3 MB, free: 20.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.455e-05/0.3962, allocations: 309.1 kB / 419.6 MB, free: 20.51 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008414/0.397, allocations: 0.6871 MB / 420.3 MB, free: 19.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009928/0.398, allocations: 1.193 MB / 421.5 MB, free: 18.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.4, allocations: 2.007 MB / 423.5 MB, free: 16.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.4, allocations: 4 kB / 423.5 MB, free: 16.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003165/0.4032, allocations: 2.544 MB / 426 MB, free: 13.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.4032, allocations: 12 kB / 426.1 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.4032, allocations: 16.34 kB / 426.1 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008089/0.404, allocations: 370.5 kB / 426.4 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.4052, allocations: 383 kB / 426.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00504/0.4103, allocations: 7.711 MB / 434.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.4116, allocations: 79.86 kB / 434.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-05/0.4117, allocations: 72 kB / 434.7 MB, free: 4.445 MB / 318.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.001437/0.4131, allocations: 1.009 MB / 435.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/0.4133, allocations: 189.7 kB / 435.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003185/0.4165, allocations: 2.3 MB / 438.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.4166, allocations: 15.94 kB / 438.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4166, allocations: 8 kB / 438.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.4166, allocations: 7.969 kB / 438.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00733/0.4239, allocations: 5.078 MB / 443.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.424, allocations: 4 kB / 443.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000766/0.4247, allocations: 176 kB / 443.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/0.4261, allocations: 0.528 MB / 444 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.981e-05/0.4262, allocations: 35.98 kB / 444 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01157/0.4378, allocations: 12.1 MB / 456.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.4378, allocations: 7.969 kB / 456.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004913/0.4427, allocations: 3.227 MB / 459.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008489/0.4436, allocations: 426.6 kB / 459.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.4439, allocations: 36 kB / 459.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008512/0.4447, allocations: 67.95 kB / 459.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002896/0.445, allocations: 109.8 kB / 460 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-05/0.4451, allocations: 35.98 kB / 460 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001765/0.4469, allocations: 1.231 MB / 461.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4469, allocations: 2.516 kB / 461.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001964/0.4489, allocations: 0.5742 MB / 461.8 MB, free: 8.227 MB / 350.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.0003056/0.4492, allocations: 163.8 kB / 462 MB, free: 8.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003355/0.4525, allocations: 2.359 MB / 464.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4526, allocations: 0 / 464.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002391/0.455, allocations: 1.756 MB / 466.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/0.4578, allocations: 0.5059 MB / 466.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009909/0.4677, allocations: 7.404 MB / 474 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/0.4696, allocations: 2.307 MB / 476.3 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001392/0.471, allocations: 397 kB / 476.7 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.4713, allocations: 127.4 kB / 476.8 MB, free: 8.992 MB / 366.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4714, allocations: 0 / 476.8 MB, free: 8.992 MB / 366.1 MB Notification: Performance of Templates: time 0.04752/0.5189, allocations: 28.26 MB / 0.4932 GB, free: 12.71 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches