Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_cpp_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_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 195.8 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 226.5 MB / 245.3 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008029/0.0008029, allocations: 97.8 kB / 297.4 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002557/0.0002558, allocations: 8 kB / 357.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2125, allocations: 51.28 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3195/0.5321, allocations: 124.6 MB / 0.5208 GB, free: 92.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5324, allocations: 100.5 kB / 0.5209 GB, free: 92.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.245/0.7774, allocations: 120.7 MB / 0.6388 GB, free: 3.406 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.7775, allocations: 0 / 0.6388 GB, free: 3.406 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006376/0.7781, allocations: 131.8 kB / 0.6389 GB, free: 3.277 MB / 410.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.01785/0.796, allocations: 5.424 MB / 0.6442 GB, free: 13.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.7961, allocations: 8.875 kB / 0.6442 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006085/0.8022, allocations: 1.036 MB / 0.6452 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01101/0.8132, allocations: 4.056 MB / 0.6492 GB, free: 8.586 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/0.8136, allocations: 386.7 kB / 0.6496 GB, free: 8.207 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001541/0.8152, allocations: 0.5159 MB / 0.6501 GB, free: 7.691 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/0.8276, allocations: 6.866 MB / 0.6568 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001189/0.8278, allocations: 11.84 kB / 0.6568 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000513/0.8283, allocations: 224 kB / 0.657 GB, free: 396 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000214/0.8285, allocations: 226.2 kB / 0.6572 GB, free: 168 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.8392, allocations: 5.592 MB / 0.6627 GB, free: 10.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2601/1.099, allocations: 21.54 MB / 0.6837 GB, free: 51.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006742/1.106, allocations: 8.746 MB / 0.6922 GB, free: 45.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003157/1.109, allocations: 2.274 MB / 0.6945 GB, free: 45.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00987/1.119, allocations: 6.45 MB / 0.7008 GB, free: 44.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/1.119, allocations: 55.28 kB / 0.7008 GB, free: 44.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=222): time 4.489e-06/1.119, allocations: 2.344 kB / 0.7008 GB, free: 44.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=241): time 0.02052/1.14, allocations: 11.58 MB / 0.7121 GB, free: 42.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/1.14, allocations: 77.97 kB / 0.7122 GB, free: 42.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/1.144, allocations: 2.949 MB / 0.7151 GB, free: 42.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002587/1.144, allocations: 71.45 kB / 0.7152 GB, free: 42.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001109/1.145, allocations: 2.307 MB / 0.7174 GB, free: 41.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005446/1.146, allocations: 0.8137 MB / 0.7182 GB, free: 41.28 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/1.146, allocations: 65.41 kB / 0.7183 GB, free: 41.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/1.146, allocations: 420.2 kB / 0.7187 GB, free: 40.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/1.148, allocations: 1.349 MB / 0.72 GB, free: 40.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/1.15, allocations: 2.12 MB / 0.7221 GB, free: 40.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00411/1.154, allocations: 3.672 MB / 0.7256 GB, free: 39.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/1.154, allocations: 7 kB / 0.7256 GB, free: 39.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.006622/1.161, allocations: 4.649 MB / 0.7302 GB, free: 38.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/1.161, allocations: 15.97 kB / 0.7302 GB, free: 38.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/1.161, allocations: 21.16 kB / 0.7302 GB, free: 38.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/1.162, allocations: 0.7623 MB / 0.731 GB, free: 38.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/1.165, allocations: 0.6394 MB / 0.7316 GB, free: 38.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008983/1.174, allocations: 13.38 MB / 0.7447 GB, free: 28.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/1.176, allocations: 161 kB / 0.7448 GB, free: 28.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/1.177, allocations: 121 kB / 0.7449 GB, free: 28.79 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 314 * 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%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002801/1.179, allocations: 1.6 MB / 0.7465 GB, free: 28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006084/1.18, allocations: 322.8 kB / 0.7468 GB, free: 27.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006257/1.186, allocations: 4.234 MB / 0.7509 GB, free: 26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/1.186, allocations: 25.41 kB / 0.751 GB, free: 26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/1.186, allocations: 14.81 kB / 0.751 GB, free: 25.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/1.186, allocations: 13.55 kB / 0.751 GB, free: 25.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/1.2, allocations: 9.17 MB / 0.7599 GB, free: 22.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.2, allocations: 6.125 kB / 0.76 GB, free: 22.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/1.201, allocations: 385 kB / 0.7603 GB, free: 22.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002152/1.203, allocations: 0.9315 MB / 0.7612 GB, free: 21.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/1.204, allocations: 68.23 kB / 0.7613 GB, free: 21.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/1.216, allocations: 16.56 MB / 0.7775 GB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/1.216, allocations: 10.67 kB / 0.7775 GB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008264/1.224, allocations: 6.099 MB / 0.7834 GB, free: 5.555 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/1.226, allocations: 0.6989 MB / 0.7841 GB, free: 5.109 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005258/1.226, allocations: 60.5 kB / 0.7842 GB, free: 5.074 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/1.228, allocations: 143.8 kB / 0.7843 GB, free: 5.043 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004485/1.228, allocations: 204.9 kB / 0.7845 GB, free: 5.008 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.228, allocations: 68.44 kB / 0.7846 GB, free: 4.992 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002796/1.231, allocations: 2.009 MB / 0.7865 GB, free: 4.234 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.231, allocations: 2.953 kB / 0.7865 GB, free: 4.234 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003413/1.234, allocations: 1.03 MB / 0.7875 GB, free: 4.129 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 173 * 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%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007209/1.235, allocations: 473.4 kB / 0.788 GB, free: 3.945 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005797/1.241, allocations: 4.592 MB / 0.7925 GB, free: 1.629 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.241, allocations: 0 / 0.7925 GB, free: 1.629 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00381/1.245, allocations: 3.063 MB / 0.7955 GB, free: 15.87 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005786/1.251, allocations: 0.8657 MB / 0.7963 GB, free: 15.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/1.268, allocations: 11.87 MB / 0.8079 GB, free: 6.539 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003141/1.271, allocations: 3.348 MB / 0.8112 GB, free: 3.934 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.272, allocations: 234.5 kB / 0.8114 GB, free: 3.715 MB / 458.7 MB Notification: Performance of SimCode: time 1.252e-06/1.272, allocations: 7.188 kB / 0.8114 GB, free: 3.711 MB / 458.7 MB Notification: Performance of Templates: time 0.667/1.939, allocations: 314.8 MB / 1.119 GB, free: 86.14 MB / 0.4948 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/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_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches