Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001803/0.001803, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2727, allocations: 50.55 MB / 409.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03289/0.3056, allocations: 33.5 MB / 442.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01889/0.3245, allocations: 9.239 MB / 452 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005532/0.3301, allocations: 239.2 kB / 452.3 MB, free: 6.426 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01902/0.3492, allocations: 7.97 MB / 460.2 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01297/0.3622, allocations: 3.663 MB / 463.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006323/0.3685, allocations: 2.138 MB / 466 MB, free: 8.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01773/0.3862, allocations: 13.13 MB / 479.2 MB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04209/0.4284, allocations: 22.48 MB / 0.4899 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01316/0.4416, allocations: 6.553 MB / 0.4963 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01368/0.4553, allocations: 7.374 MB / 0.5035 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005216/0.4606, allocations: 1.883 MB / 0.5053 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008182/0.4688, allocations: 2.269 MB / 0.5075 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006042/0.4749, allocations: 3.745 MB / 0.5112 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01541/0.4903, allocations: 7.117 MB / 0.5181 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5407/1.031, allocations: 25.1 MB / 0.5427 GB, free: 52.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.031, allocations: 0.8438 kB / 0.5427 GB, free: 52.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/1.031, allocations: 0.5312 kB / 0.5427 GB, free: 52.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005938/1.032, allocations: 0 / 0.5427 GB, free: 52.91 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.0421/1.074, allocations: 14.89 MB / 0.5572 GB, free: 48.76 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/1.074, allocations: 9.406 kB / 0.5572 GB, free: 48.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03756/1.111, allocations: 6.899 MB / 0.5639 GB, free: 48.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01547/1.127, allocations: 8.148 MB / 0.5719 GB, free: 46.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007151/1.128, allocations: 0.7885 MB / 0.5727 GB, free: 46.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003805/1.132, allocations: 1.052 MB / 0.5737 GB, free: 46.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03901/1.171, allocations: 17.22 MB / 0.5905 GB, free: 34.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004478/1.171, allocations: 22.14 kB / 0.5905 GB, free: 34.09 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003671/1.175, allocations: 442.5 kB / 0.591 GB, free: 33.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005506/1.175, allocations: 0.6275 MB / 0.5916 GB, free: 33.04 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02738/1.203, allocations: 16.31 MB / 0.6075 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09481/1.298, allocations: 56.44 MB / 0.6626 GB, free: 7.723 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0273/1.325, allocations: 31.41 MB / 0.6933 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006863/1.332, allocations: 4.325 MB / 0.6975 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01893/1.351, allocations: 10.72 MB / 0.708 GB, free: 5.582 MB / 0.5451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.277e-05/1.351, allocations: 73.81 kB / 0.7081 GB, free: 5.5 MB / 0.5451 GB Notification: Performance of pre-optimization done (n=398): time 5.631e-06/1.351, allocations: 0 / 0.7081 GB, free: 5.5 MB / 0.5451 GB Notification: Performance of matching and sorting (n=423): time 0.05155/1.402, allocations: 21.8 MB / 0.7293 GB, free: 15.43 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/1.402, allocations: 124.2 kB / 0.7295 GB, free: 15.29 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008616/1.411, allocations: 4.711 MB / 0.7341 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008568/1.412, allocations: 97.7 kB / 0.7342 GB, free: 10.47 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00354/1.416, allocations: 4.828 MB / 0.7389 GB, free: 5.629 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00228/1.418, allocations: 1.52 MB / 0.7404 GB, free: 4.129 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003705/1.422, allocations: 1.133 MB / 0.7415 GB, free: 2.984 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.422, allocations: 301.1 kB / 0.7417 GB, free: 2.688 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005006/1.427, allocations: 2.911 MB / 0.7446 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006476/1.433, allocations: 4.954 MB / 0.7494 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/1.446, allocations: 8.332 MB / 0.7576 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.267e-05/1.446, allocations: 20 kB / 0.7576 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.2928/1.739, allocations: 9.754 MB / 0.7671 GB, free: 231.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.987e-05/1.739, allocations: 42.91 kB / 0.7672 GB, free: 231.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/1.739, allocations: 67.27 kB / 0.7672 GB, free: 231.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004481/1.743, allocations: 1.653 MB / 0.7688 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0053/1.749, allocations: 1.318 MB / 0.7701 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02363/1.772, allocations: 17.77 MB / 0.7875 GB, free: 219.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00675/1.779, allocations: 330.1 kB / 0.7878 GB, free: 219.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/1.78, allocations: 287 kB / 0.7881 GB, free: 219.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008214/1.789, allocations: 3.891 MB / 0.7919 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001714/1.79, allocations: 0.5157 MB / 0.7924 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01872/1.809, allocations: 7.78 MB / 0.8 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-05/1.809, allocations: 51.94 kB / 0.8 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001086/1.809, allocations: 16 kB / 0.8 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001431/1.81, allocations: 22.41 kB / 0.8 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03952/1.849, allocations: 17.47 MB / 0.8171 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/1.849, allocations: 8 kB / 0.8171 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003328/1.853, allocations: 0.7255 MB / 0.8178 GB, free: 198 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004407/1.857, allocations: 1.552 MB / 0.8193 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00111/1.858, allocations: 108 kB / 0.8194 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02098/1.879, allocations: 21.23 MB / 0.8402 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.879, allocations: 9.469 kB / 0.8402 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01928/1.898, allocations: 11.48 MB / 0.8514 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002943/1.901, allocations: 1.169 MB / 0.8525 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001577/1.903, allocations: 95.92 kB / 0.8526 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003548/1.907, allocations: 231.8 kB / 0.8528 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00099/1.908, allocations: 327.3 kB / 0.8532 GB, free: 161.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005289/1.908, allocations: 132 kB / 0.8533 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005564/1.914, allocations: 3.19 MB / 0.8564 GB, free: 157.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.81e-07/1.914, allocations: 1.203 kB / 0.8564 GB, free: 157.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007946/1.922, allocations: 1.87 MB / 0.8582 GB, free: 155.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001061/1.923, allocations: 278.3 kB / 0.8585 GB, free: 155.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01244/1.935, allocations: 8.158 MB / 0.8665 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/1.935, allocations: 4 kB / 0.8665 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007117/1.942, allocations: 4.652 MB / 0.871 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007957/1.95, allocations: 1.314 MB / 0.8723 GB, free: 141.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03559/1.986, allocations: 19.46 MB / 0.8913 GB, free: 121.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008814/1.995, allocations: 6.77 MB / 0.8979 GB, free: 115 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005302/2, allocations: 1.865 MB / 0.8997 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/2.001, allocations: 379.3 kB / 0.9001 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/2.001, allocations: 0 / 0.9001 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1167/2.118, allocations: 81.25 MB / 0.9794 GB, free: 32.18 MB / 0.5919 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches