Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_cpp_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.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008662/0.0008663, allocations: 174.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.4 MB / 222.9 MB, free: 8.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000794/0.0007938, allocations: 98.34 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003367, allocations: 8 kB / 327.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3024, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02665/0.3291, allocations: 28.95 MB / 404.1 MB, free: 19.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02074/0.3499, allocations: 8.343 MB / 412.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009791/0.3597, allocations: 191.2 kB / 412.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008039/0.3678, allocations: 1.635 MB / 414.2 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01506/0.3829, allocations: 3.096 MB / 417.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007017/0.3899, allocations: 1.411 MB / 418.7 MB, free: 4.984 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02371/0.4136, allocations: 15.94 MB / 434.7 MB, free: 5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04067/0.4544, allocations: 21.1 MB / 455.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01078/0.4652, allocations: 4.82 MB / 460.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01142/0.4767, allocations: 5.538 MB / 466.1 MB, free: 5.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003805/0.4805, allocations: 0.7305 MB / 466.9 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007011/0.4876, allocations: 1.082 MB / 467.9 MB, free: 3.543 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00443/0.492, allocations: 2.41 MB / 470.4 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01684/0.5089, allocations: 5.486 MB / 475.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03133/0.5403, allocations: 21.1 MB / 496.9 MB, free: 6.449 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.5404, allocations: 0 / 496.9 MB, free: 6.449 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.21e-06/0.5404, allocations: 0 / 496.9 MB, free: 6.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.001325/0.5417, allocations: 0 / 496.9 MB, free: 6.449 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.4774/1.019, allocations: 12.38 MB / 0.4974 GB, free: 91.28 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.806e-05/1.019, allocations: 10.72 kB / 0.4974 GB, free: 91.28 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04238/1.062, allocations: 7.776 MB / 0.505 GB, free: 87.86 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01948/1.081, allocations: 7.301 MB / 0.5121 GB, free: 81.95 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009405/1.082, allocations: 0.8051 MB / 0.5129 GB, free: 81.16 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00539/1.088, allocations: 1.073 MB / 0.5139 GB, free: 80.1 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05055/1.138, allocations: 17.6 MB / 0.5311 GB, free: 62.47 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007133/1.139, allocations: 19.8 kB / 0.5312 GB, free: 62.45 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004998/1.144, allocations: 454.9 kB / 0.5316 GB, free: 62.02 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007314/1.145, allocations: 0.6553 MB / 0.5322 GB, free: 61.36 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03935/1.184, allocations: 16.91 MB / 0.5487 GB, free: 44.42 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1001/1.284, allocations: 57.33 MB / 0.6047 GB, free: 2.121 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04142/1.326, allocations: 40.01 MB / 0.6438 GB, free: 5.148 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008995/1.335, allocations: 4.513 MB / 0.6482 GB, free: 0.6367 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02425/1.359, allocations: 12.71 MB / 0.6606 GB, free: 3.922 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.77e-05/1.359, allocations: 81.75 kB / 0.6607 GB, free: 3.832 MB / 458.8 MB Notification: Performance of pre-optimization done (n=398): time 7.885e-06/1.359, allocations: 4 kB / 0.6607 GB, free: 3.828 MB / 458.8 MB Notification: Performance of matching and sorting (n=423): time 0.295/1.654, allocations: 21.5 MB / 0.6817 GB, free: 151.6 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/1.654, allocations: 120.3 kB / 0.6818 GB, free: 151.5 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008353/1.663, allocations: 4.798 MB / 0.6865 GB, free: 149.7 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009811/1.664, allocations: 97.52 kB / 0.6866 GB, free: 149.6 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00295/1.667, allocations: 4.795 MB / 0.6913 GB, free: 146 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001796/1.669, allocations: 1.451 MB / 0.6927 GB, free: 144.9 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004294/1.669, allocations: 127.6 kB / 0.6928 GB, free: 144.8 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002975/1.669, allocations: 0.5517 MB / 0.6933 GB, free: 144.4 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004625/1.674, allocations: 2.956 MB / 0.6962 GB, free: 143.2 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005359/1.679, allocations: 5.217 MB / 0.7013 GB, free: 139.1 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009996/1.689, allocations: 8.706 MB / 0.7098 GB, free: 131.3 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-05/1.689, allocations: 24 kB / 0.7098 GB, free: 131.3 MB / 458.8 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01724/1.707, allocations: 10.01 MB / 0.7196 GB, free: 122.1 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.916e-05/1.707, allocations: 36 kB / 0.7197 GB, free: 122 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/1.707, allocations: 72 kB / 0.7197 GB, free: 122 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004088/1.711, allocations: 1.677 MB / 0.7214 GB, free: 120.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005111/1.716, allocations: 1.404 MB / 0.7227 GB, free: 118.9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01835/1.735, allocations: 16.46 MB / 0.7388 GB, free: 101.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005763/1.74, allocations: 343.7 kB / 0.7391 GB, free: 101.6 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/1.741, allocations: 300 kB / 0.7394 GB, free: 101.3 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * 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 (710): * Single equations (assignments): 706 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(7,61.2%) 28,(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008178/1.75, allocations: 3.948 MB / 0.7433 GB, free: 97.31 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001664/1.751, allocations: 0.4978 MB / 0.7438 GB, free: 96.81 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/1.764, allocations: 7.807 MB / 0.7514 GB, free: 88.9 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/1.764, allocations: 44 kB / 0.7514 GB, free: 88.86 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-05/1.764, allocations: 19.94 kB / 0.7514 GB, free: 88.84 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.9e-05/1.764, allocations: 19.92 kB / 0.7515 GB, free: 88.82 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03121/1.795, allocations: 17.52 MB / 0.7686 GB, free: 71.16 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/1.795, allocations: 7.984 kB / 0.7686 GB, free: 71.15 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002736/1.798, allocations: 0.7301 MB / 0.7693 GB, free: 70.42 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003559/1.801, allocations: 1.551 MB / 0.7708 GB, free: 68.85 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003597/1.802, allocations: 108 kB / 0.7709 GB, free: 68.74 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01734/1.819, allocations: 19.51 MB / 0.79 GB, free: 48.34 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.819, allocations: 11.94 kB / 0.79 GB, free: 48.33 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/1.834, allocations: 11.44 MB / 0.8011 GB, free: 36.71 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002835/1.837, allocations: 1.174 MB / 0.8023 GB, free: 35.51 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009352/1.838, allocations: 87.98 kB / 0.8024 GB, free: 35.43 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/1.841, allocations: 247.8 kB / 0.8026 GB, free: 35.18 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007391/1.841, allocations: 323.4 kB / 0.8029 GB, free: 34.86 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002626/1.842, allocations: 131.9 kB / 0.803 GB, free: 34.73 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.004538/1.846, allocations: 3.22 MB / 0.8062 GB, free: 31.52 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.51e-07/1.846, allocations: 3.938 kB / 0.8062 GB, free: 31.52 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.007761/1.854, allocations: 1.897 MB / 0.808 GB, free: 29.62 MB / 458.8 MB 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.strayReluctance.Phi.re,imc.stator.strayReluctance.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 (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,40.8%) 44,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008416/1.855, allocations: 276.8 kB / 0.8083 GB, free: 29.35 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.012/1.867, allocations: 8.2 MB / 0.8163 GB, free: 21.1 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.867, allocations: 0 / 0.8163 GB, free: 21.1 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006687/1.874, allocations: 4.654 MB / 0.8209 GB, free: 16.36 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00991/1.884, allocations: 1.242 MB / 0.8221 GB, free: 15.13 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2317/2.115, allocations: 23.07 MB / 0.8446 GB, free: 138.5 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008345/2.124, allocations: 6.642 MB / 0.8511 GB, free: 137.6 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002058/2.126, allocations: 445.4 kB / 0.8515 GB, free: 137.6 MB / 458.8 MB Notification: Performance of SimCode: time 1.673e-06/2.126, allocations: 0 / 0.8515 GB, free: 137.6 MB / 458.8 MB Notification: Performance of Templates: time 0.9067/3.032, allocations: 464.1 MB / 1.305 GB, free: 38.14 MB / 474.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches