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_DOL.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 181.5 kB / 8.131 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 221.4 MB / 229.9 MB, free: 3.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000906/0.0009063, allocations: 102.5 kB / 280.8 MB, free: 1.223 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.019e-05/1.025e-05, allocations: 4 kB / 336.5 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2126, allocations: 50.39 MB / 386.9 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2503/0.4629, allocations: 122.7 MB / 0.4977 GB, free: 104.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.4633, allocations: 99.72 kB / 0.4978 GB, free: 104.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.2446/0.7079, allocations: 116.3 MB / 0.6113 GB, free: 13.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004968/0.7084, allocations: 139.8 kB / 0.6114 GB, free: 13.04 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01392/0.7223, allocations: 4.944 MB / 0.6163 GB, free: 8.023 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.7224, allocations: 12.03 kB / 0.6163 GB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005618/0.728, allocations: 0.9923 MB / 0.6172 GB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/0.7391, allocations: 4.618 MB / 0.6218 GB, free: 2.316 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.7393, allocations: 168 kB / 0.6219 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009247/0.7403, allocations: 311.8 kB / 0.6222 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01052/0.7508, allocations: 5.226 MB / 0.6273 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.7642, allocations: 6.046 MB / 0.6332 GB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/0.7644, allocations: 15.84 kB / 0.6332 GB, free: 6.352 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004876/0.7649, allocations: 4 kB / 0.6332 GB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001919/0.7651, allocations: 234.2 kB / 0.6335 GB, free: 6.117 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03799/0.8031, allocations: 20.56 MB / 0.6535 GB, free: 1.098 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.124/0.9271, allocations: 1.735 MB / 0.6552 GB, free: 91.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003001/0.9302, allocations: 2.258 MB / 0.6574 GB, free: 91.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00809/0.9383, allocations: 5.213 MB / 0.6625 GB, free: 91.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.9383, allocations: 61.25 kB / 0.6626 GB, free: 91.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=258): time 4.508e-06/0.9383, allocations: 0 / 0.6626 GB, free: 91.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=277): time 0.01453/0.9529, allocations: 8.734 MB / 0.6711 GB, free: 90.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.9529, allocations: 78.91 kB / 0.6712 GB, free: 90.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00289/0.9558, allocations: 2.14 MB / 0.6733 GB, free: 89.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002395/0.9561, allocations: 25.7 kB / 0.6733 GB, free: 89.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006947/0.9568, allocations: 1.828 MB / 0.6751 GB, free: 89.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005825/0.9574, allocations: 0.9057 MB / 0.676 GB, free: 88.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.9575, allocations: 0 / 0.676 GB, free: 88.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.9577, allocations: 425.8 kB / 0.6764 GB, free: 88.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/0.9595, allocations: 1.441 MB / 0.6778 GB, free: 88.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/0.9616, allocations: 2.193 MB / 0.6799 GB, free: 87.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002562/0.9642, allocations: 1.859 MB / 0.6817 GB, free: 87.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.9642, allocations: 6.406 kB / 0.6818 GB, free: 87.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=403) (initialization): time 0.007405/0.9716, allocations: 4.708 MB / 0.6864 GB, free: 86.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.9717, allocations: 3.938 kB / 0.6864 GB, free: 86.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.405e-05/0.9717, allocations: 22.78 kB / 0.6864 GB, free: 86.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/0.9736, allocations: 0.7563 MB / 0.6871 GB, free: 86.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/0.9766, allocations: 0.6857 MB / 0.6878 GB, free: 86.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009519/0.9861, allocations: 12.53 MB / 0.7 GB, free: 78.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002973/0.9891, allocations: 81.95 kB / 0.7001 GB, free: 78.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004162/0.9896, allocations: 134.6 kB / 0.7002 GB, free: 78.13 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (360): * Single equations (assignments): 350 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005328/0.9901, allocations: 190.9 kB / 0.7004 GB, free: 78.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005365/0.9907, allocations: 301 kB / 0.7007 GB, free: 77.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007123/0.9978, allocations: 4.382 MB / 0.705 GB, free: 77.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/0.9978, allocations: 25.84 kB / 0.705 GB, free: 77.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/0.9979, allocations: 17.91 kB / 0.705 GB, free: 77.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-05/0.9979, allocations: 13.45 kB / 0.705 GB, free: 77.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/1.012, allocations: 9.205 MB / 0.714 GB, free: 76.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.012, allocations: 3.5 kB / 0.714 GB, free: 76.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/1.015, allocations: 443.3 kB / 0.7144 GB, free: 76.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002363/1.017, allocations: 0.9141 MB / 0.7153 GB, free: 76.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002054/1.017, allocations: 31.33 kB / 0.7154 GB, free: 76.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/1.029, allocations: 15.44 MB / 0.7304 GB, free: 66.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.029, allocations: 8.25 kB / 0.7305 GB, free: 66.3 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009869/1.039, allocations: 6.831 MB / 0.7371 GB, free: 64.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/1.041, allocations: 0.7075 MB / 0.7378 GB, free: 63.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005888/1.042, allocations: 30.59 kB / 0.7378 GB, free: 63.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/1.043, allocations: 95.23 kB / 0.7379 GB, free: 63.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003344/1.044, allocations: 156.5 kB / 0.7381 GB, free: 63.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/1.044, allocations: 85.02 kB / 0.7382 GB, free: 63.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002804/1.047, allocations: 1.594 MB / 0.7397 GB, free: 62.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004537/1.051, allocations: 0.9141 MB / 0.7406 GB, free: 62.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008039/1.052, allocations: 411.5 kB / 0.741 GB, free: 62.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006253/1.058, allocations: 4.611 MB / 0.7455 GB, free: 60.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.058, allocations: 4.438 kB / 0.7455 GB, free: 60.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004085/1.063, allocations: 2.941 MB / 0.7484 GB, free: 58.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003408/1.066, allocations: 0.6065 MB / 0.749 GB, free: 58.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/1.082, allocations: 8.449 MB / 0.7572 GB, free: 55.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003691/1.086, allocations: 3.735 MB / 0.7609 GB, free: 54.22 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/1.086, allocations: 0 / 0.7609 GB, free: 54.22 MB / 426.7 MB Notification: Performance of Templates: time 0.07016/1.156, allocations: 47.21 MB / 0.807 GB, free: 30.98 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches