Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.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.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 110.6 kB / 18.4 MB, free: 4.688 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.001142/0.001142, allocations: 186.2 kB / 19.34 MB, free: 3.766 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.272/1.272, allocations: 205.1 MB / 225.2 MB, free: 12.28 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.001121/0.001121, allocations: 51.92 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07288/0.07401, allocations: 46.61 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start): time 0.1651/0.2391, allocations: 23.57 MB / 399.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.2522, allocations: 6.908 MB / 406.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003485/0.2557, allocations: 141.6 kB / 406.5 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003648/0.2594, allocations: 1.624 MB / 408.1 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006245/0.2657, allocations: 2.369 MB / 410.5 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003097/0.2688, allocations: 1.439 MB / 411.9 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009665/0.2784, allocations: 8.928 MB / 420.8 MB, free: 392 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007793/0.2863, allocations: 7.004 MB / 427.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005437/0.2917, allocations: 4.05 MB / 431.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006574/0.2983, allocations: 4.725 MB / 436.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002075/0.3004, allocations: 1.105 MB / 437.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/0.3038, allocations: 1.378 MB / 439.1 MB, free: 188 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002399/0.3062, allocations: 2.716 MB / 441.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005864/0.3121, allocations: 4.68 MB / 446.5 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.3259, allocations: 14.44 MB / 460.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3259, allocations: 0 / 460.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.326, allocations: 0 / 460.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002954/0.3263, allocations: 0 / 460.9 MB, free: 10.28 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.02152/0.3478, allocations: 8.908 MB / 469.8 MB, free: 1.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3478, allocations: 8.031 kB / 469.8 MB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005849/0.3537, allocations: 1.307 MB / 471.1 MB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00997/0.3637, allocations: 5.079 MB / 476.2 MB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004002/0.3641, allocations: 0.498 MB / 476.7 MB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001525/0.3656, allocations: 0.6642 MB / 477.4 MB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01754/0.3832, allocations: 9.449 MB / 486.8 MB, free: 72 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/0.3834, allocations: 11.89 kB / 486.8 MB, free: 60 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007138/0.3841, allocations: 284 kB / 487.1 MB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002514/0.3843, allocations: 301.4 kB / 487.4 MB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0156/0.4, allocations: 8.075 MB / 495.5 MB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04865/0.4486, allocations: 29.01 MB / 0.5122 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/0.4595, allocations: 11.99 MB / 0.5239 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00513/0.4647, allocations: 3.369 MB / 0.5272 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01284/0.4775, allocations: 7.956 MB / 0.535 GB, free: 1.098 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/0.4776, allocations: 76.89 kB / 0.5351 GB, free: 1.012 MB / 462.1 MB Notification: Performance of pre-optimization done (n=305): time 4.208e-06/0.4776, allocations: 0 / 0.5351 GB, free: 1.012 MB / 462.1 MB Notification: Performance of matching and sorting (n=324): time 0.02923/0.5069, allocations: 15.84 MB / 0.5505 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.5069, allocations: 81.95 kB / 0.5506 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2879/0.7949, allocations: 3.999 MB / 0.5545 GB, free: 145.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005179/0.7954, allocations: 82.08 kB / 0.5546 GB, free: 145.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001733/0.7972, allocations: 3.08 MB / 0.5576 GB, free: 143.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009488/0.7981, allocations: 1.092 MB / 0.5587 GB, free: 143 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/0.7992, allocations: 0.6785 MB / 0.5593 GB, free: 142.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.471e-05/0.7992, allocations: 303.4 kB / 0.5596 GB, free: 142.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/0.802, allocations: 1.862 MB / 0.5614 GB, free: 141.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003112/0.8051, allocations: 2.839 MB / 0.5642 GB, free: 139.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005861/0.811, allocations: 4.909 MB / 0.569 GB, free: 137.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.309e-05/0.811, allocations: 8.25 kB / 0.569 GB, free: 137.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.01002/0.8211, allocations: 6.399 MB / 0.5753 GB, free: 134.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.8211, allocations: 22.88 kB / 0.5753 GB, free: 134.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.954e-05/0.8212, allocations: 27.84 kB / 0.5753 GB, free: 134.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002587/0.8238, allocations: 1.266 MB / 0.5765 GB, free: 133.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003106/0.8269, allocations: 0.8204 MB / 0.5773 GB, free: 133.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/0.8413, allocations: 22.54 MB / 0.5994 GB, free: 114.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/0.8446, allocations: 190.9 kB / 0.5995 GB, free: 114.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003497/0.845, allocations: 156.5 kB / 0.5997 GB, free: 114.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 130 * Number of states: 0 () * Number of discrete variables: 9 (rheostatE.booleanStep[3].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (424): * Single equations (assignments): 410 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (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): 11 systems {(1,8,100.0%), (2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002992/0.848, allocations: 2.184 MB / 0.6018 GB, free: 113.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000766/0.8487, allocations: 453 kB / 0.6022 GB, free: 113.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008034/0.8568, allocations: 6.051 MB / 0.6082 GB, free: 109.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.817e-05/0.8568, allocations: 20.7 kB / 0.6082 GB, free: 109.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.8568, allocations: 0 / 0.6082 GB, free: 109.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001744/0.8586, allocations: 0.9092 MB / 0.6091 GB, free: 108.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005556/0.8592, allocations: 63.28 kB / 0.6091 GB, free: 108.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/0.8611, allocations: 178.3 kB / 0.6093 GB, free: 108.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004854/0.8616, allocations: 300.6 kB / 0.6096 GB, free: 108.4 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01009/0.8717, allocations: 5.801 MB / 0.6152 GB, free: 102.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007768/0.8795, allocations: 6.734 MB / 0.6218 GB, free: 95.78 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002088/0.8816, allocations: 1.991 MB / 0.6238 GB, free: 93.78 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0032/0.8848, allocations: 2.717 MB / 0.6264 GB, free: 91.06 MB / 478.1 MB Notification: Performance of Backend: time 4.4e-07/0.8848, allocations: 0 / 0.6264 GB, free: 91.06 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006988/0.8918, allocations: 4.953 MB / 0.6313 GB, free: 85.94 MB / 478.1 MB Notification: Performance of SimCode: time 0.0181/0.9099, allocations: 13.95 MB / 0.6449 GB, free: 71.96 MB / 478.1 MB Notification: Performance of Templates: time 0.103/1.013, allocations: 75.79 MB / 0.7189 GB, free: 12.16 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMS_Start/AIMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches