Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.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 3.2.3+maint.om/package.mo", uses=false) 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 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 102.3 kB / 18.4 MB, free: 4.68 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.0009959/0.0009959, allocations: 188.3 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 55.92 kB / 330.6 MB, free: 1.895 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06786/0.06906, allocations: 46.62 MB / 377.3 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.1737/0.2428, allocations: 36.59 MB / 413.9 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0191/0.2619, allocations: 9.77 MB / 423.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005604/0.2676, allocations: 223.8 kB / 423.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02035/0.288, allocations: 9.667 MB / 433.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0115/0.2995, allocations: 4.103 MB / 437.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005814/0.3053, allocations: 2.463 MB / 440.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01795/0.3233, allocations: 17.06 MB / 457.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03786/0.3612, allocations: 31.25 MB / 488.4 MB, free: 15.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009751/0.3709, allocations: 8.801 MB / 497.2 MB, free: 6.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01231/0.3832, allocations: 9.601 MB / 0.4949 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004351/0.3876, allocations: 2.52 MB / 0.4974 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005507/0.3931, allocations: 2.894 MB / 0.5002 GB, free: 7.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003875/0.397, allocations: 5.039 MB / 0.5051 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009751/0.4068, allocations: 9.475 MB / 0.5144 GB, free: 8.777 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02697/0.4338, allocations: 33.21 MB / 0.5468 GB, free: 7.473 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4338, allocations: 0 / 0.5468 GB, free: 7.473 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4338, allocations: 0 / 0.5468 GB, free: 7.473 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004871/0.4343, allocations: 0 / 0.5468 GB, free: 7.473 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.349/0.7833, allocations: 19.3 MB / 0.5657 GB, free: 132.4 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.7834, allocations: 9.188 kB / 0.5657 GB, free: 132.4 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05179/0.8352, allocations: 9.732 MB / 0.5752 GB, free: 128.9 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01636/0.8515, allocations: 9.48 MB / 0.5844 GB, free: 122.2 MB / 478.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005509/0.8521, allocations: 1.063 MB / 0.5855 GB, free: 121.1 MB / 478.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002655/0.8548, allocations: 1.404 MB / 0.5868 GB, free: 119.7 MB / 478.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03375/0.8885, allocations: 23.58 MB / 0.6099 GB, free: 96.07 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002558/0.8888, allocations: 19.81 kB / 0.6099 GB, free: 96.05 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001433/0.8902, allocations: 0.5814 MB / 0.6105 GB, free: 95.48 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004991/0.8908, allocations: 0.8029 MB / 0.6112 GB, free: 94.68 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02856/0.9193, allocations: 22.21 MB / 0.6329 GB, free: 72.45 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07805/0.9974, allocations: 74.06 MB / 0.7052 GB, free: 13.3 MB / 494.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02897/1.026, allocations: 38.1 MB / 0.7425 GB, free: 3.395 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008975/1.035, allocations: 6.508 MB / 0.7488 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2062/1.242, allocations: 18.22 MB / 0.7666 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.095e-05/1.242, allocations: 96.2 kB / 0.7667 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=581): time 7.905e-06/1.242, allocations: 3.609 kB / 0.7667 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=589): time 0.0856/1.327, allocations: 37.24 MB / 0.8031 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/1.327, allocations: 136.9 kB / 0.8032 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00828/1.336, allocations: 6.081 MB / 0.8091 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003982/1.336, allocations: 120.3 kB / 0.8093 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002274/1.338, allocations: 6.121 MB / 0.8152 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.34, allocations: 1.993 MB / 0.8172 GB, free: 155 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00205/1.342, allocations: 1.594 MB / 0.8187 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.48e-05/1.342, allocations: 308.2 kB / 0.819 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004933/1.347, allocations: 4.233 MB / 0.8232 GB, free: 150 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005743/1.352, allocations: 7.153 MB / 0.8301 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/1.363, allocations: 12.04 MB / 0.8419 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.188e-05/1.363, allocations: 28 kB / 0.8419 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.01865/1.382, allocations: 14.28 MB / 0.8559 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.938e-05/1.382, allocations: 44 kB / 0.8559 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.302e-05/1.382, allocations: 92 kB / 0.856 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00615/1.388, allocations: 2.765 MB / 0.8587 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005452/1.394, allocations: 1.692 MB / 0.8604 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03098/1.425, allocations: 31.61 MB / 0.8912 GB, free: 76.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005725/1.431, allocations: 435.4 kB / 0.8916 GB, free: 76.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001071/1.432, allocations: 392.8 kB / 0.892 GB, free: 75.94 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 429 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStepYDQS[3].y,booleanStepYDQS[2].y,booleanStepYDQS[1].y,booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (881): * Single equations (assignments): 874 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (9,19,33.3%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (24,96,32.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007227/1.439, allocations: 5.419 MB / 0.8973 GB, free: 70.51 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.44, allocations: 0.6406 MB / 0.8979 GB, free: 69.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01743/1.458, allocations: 11.56 MB / 0.9092 GB, free: 58.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-05/1.458, allocations: 31.89 kB / 0.9093 GB, free: 58.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.458, allocations: 0 / 0.9093 GB, free: 58.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003164/1.461, allocations: 1.543 MB / 0.9108 GB, free: 56.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001461/1.462, allocations: 113 kB / 0.9109 GB, free: 56.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0035/1.466, allocations: 299.7 kB / 0.9112 GB, free: 56.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009018/1.467, allocations: 0.5507 MB / 0.9117 GB, free: 55.64 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01784/1.485, allocations: 11.26 MB / 0.9227 GB, free: 44.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01459/1.499, allocations: 12.68 MB / 0.9351 GB, free: 31.69 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004183/1.504, allocations: 4.067 MB / 0.939 GB, free: 27.62 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005709/1.509, allocations: 4.104 MB / 0.9431 GB, free: 23.51 MB / 0.5294 GB Notification: Performance of Backend: time 1.313e-06/1.509, allocations: 0 / 0.9431 GB, free: 23.51 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01431/1.524, allocations: 8.839 MB / 0.9517 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of SimCode: time 0.2097/1.733, allocations: 25.56 MB / 0.9766 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.1738/1.907, allocations: 131 MB / 1.105 GB, free: 56.23 MB / 0.5294 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1)