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_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000852/0.0008521, allocations: 90.89 kB / 16.31 MB, free: 6.133 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.0008611/0.0008612, allocations: 182.9 kB / 17.2 MB, free: 6.016 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.259/1.259, allocations: 223.2 MB / 241.1 MB, free: 292 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002654, allocations: 4.688 kB / 300.8 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.08907, allocations: 50.41 MB / 351.2 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01027/0.09938, allocations: 10.36 MB / 361.5 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006968/0.1064, allocations: 4.053 MB / 365.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.1079, allocations: 63.75 kB / 365.6 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.1098, allocations: 0.7579 MB / 366.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.1127, allocations: 1.129 MB / 367.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.114, allocations: 0.5574 MB / 368.1 MB, free: 3.051 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003988/0.118, allocations: 2.736 MB / 370.8 MB, free: 320 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1662/0.2842, allocations: 2.224 MB / 373 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.2862, allocations: 1.235 MB / 374.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.288, allocations: 1.477 MB / 375.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003806/0.2884, allocations: 204 kB / 376 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009897/0.2894, allocations: 375.7 kB / 376.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006735/0.2901, allocations: 0.7338 MB / 377.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007067/0.2908, allocations: 0.7397 MB / 377.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005865/0.2967, allocations: 5.493 MB / 383.3 MB, free: 8.398 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.2967, allocations: 0 / 383.3 MB, free: 8.398 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2967, allocations: 0 / 383.3 MB, free: 8.398 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002357/0.297, allocations: 0 / 383.3 MB, free: 8.398 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01119/0.3082, allocations: 3.75 MB / 387 MB, free: 6.312 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3082, allocations: 9.406 kB / 387 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004622/0.3129, allocations: 0.8209 MB / 387.9 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004655/0.3175, allocations: 2.322 MB / 390.2 MB, free: 5.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.3177, allocations: 235.1 kB / 390.4 MB, free: 5.152 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004351/0.3181, allocations: 316.3 kB / 390.7 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007196/0.3253, allocations: 4.214 MB / 394.9 MB, free: 4.184 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.16e-05/0.3254, allocations: 10.41 kB / 395 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000288/0.3257, allocations: 126.1 kB / 395.1 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.3258, allocations: 144.2 kB / 395.2 MB, free: 4.164 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005385/0.3312, allocations: 3.653 MB / 398.9 MB, free: 2.773 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01975/0.351, allocations: 13.52 MB / 412.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006066/0.3571, allocations: 6.858 MB / 419.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005312/0.3624, allocations: 3.234 MB / 422.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.3625, allocations: 47.86 kB / 422.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=130): time 2.605e-06/0.3625, allocations: 0 / 422.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=150): time 0.01255/0.375, allocations: 6.747 MB / 429.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.3751, allocations: 72.7 kB / 429.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/0.3776, allocations: 1.8 MB / 431.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-05/0.3777, allocations: 49.7 kB / 431.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009255/0.3786, allocations: 1.411 MB / 432.6 MB, free: 456 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003581/0.379, allocations: 0.5035 MB / 433.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/0.3791, allocations: 36 kB / 433.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3792, allocations: 373.9 kB / 433.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.3804, allocations: 0.7847 MB / 434.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.3819, allocations: 1.226 MB / 435.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.3833, allocations: 0.9974 MB / 436.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.3833, allocations: 4 kB / 436.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.004163/0.3875, allocations: 2.694 MB / 439.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.3875, allocations: 15.98 kB / 439.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.3875, allocations: 14.69 kB / 439.2 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.3888, allocations: 497.8 kB / 439.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.3903, allocations: 391.4 kB / 440.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007738/0.3981, allocations: 6.537 MB / 446.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.3994, allocations: 83.86 kB / 446.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.3995, allocations: 64 kB / 446.8 MB, free: 1.789 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 182 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(7,61.2%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002147/0.4017, allocations: 1.058 MB / 447.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003026/0.402, allocations: 197.7 kB / 448 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004313/0.4063, allocations: 2.559 MB / 450.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.4063, allocations: 16 kB / 450.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.173e-05/0.4064, allocations: 8 kB / 450.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.4064, allocations: 7.969 kB / 450.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009606/0.416, allocations: 5.601 MB / 456.2 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.416, allocations: 0 / 456.2 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.4171, allocations: 235.9 kB / 456.5 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.4184, allocations: 495.9 kB / 456.9 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.4185, allocations: 31.98 kB / 457 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/0.4286, allocations: 10.59 MB / 467.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.423e-06/0.4286, allocations: 8.031 kB / 467.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005899/0.4345, allocations: 3.757 MB / 471.3 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.4358, allocations: 458.6 kB / 471.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006408/0.4365, allocations: 28 kB / 471.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/0.4378, allocations: 78.56 kB / 471.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/0.4382, allocations: 109.1 kB / 472 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.4383, allocations: 47.98 kB / 472 MB, free: 7.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002578/0.4409, allocations: 1.235 MB / 473.3 MB, free: 6.336 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.4409, allocations: 4 kB / 473.3 MB, free: 6.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002802/0.4437, allocations: 0.5897 MB / 473.9 MB, free: 5.742 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 103 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003896/0.4441, allocations: 155.1 kB / 474 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004623/0.4487, allocations: 2.445 MB / 476.5 MB, free: 3.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.4488, allocations: 0 / 476.5 MB, free: 3.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002668/0.4514, allocations: 1.751 MB / 478.2 MB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/0.4543, allocations: 482.8 kB / 478.7 MB, free: 0.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.4679, allocations: 7.171 MB / 485.9 MB, free: 9.629 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003486/0.4714, allocations: 2.421 MB / 488.3 MB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001978/0.4734, allocations: 427.1 kB / 488.7 MB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005401/0.474, allocations: 127.4 kB / 488.8 MB, free: 6.637 MB / 398.1 MB Notification: Performance of SimCode: time 1.492e-06/0.474, allocations: 4 kB / 488.8 MB, free: 6.633 MB / 398.1 MB Notification: Performance of Templates: time 0.05024/0.5242, allocations: 28.3 MB / 0.505 GB, free: 10.65 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches