Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.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.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 176.4 kB / 8.346 MB, free: 0.7266 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.26/1.26, allocations: 221.5 MB / 230.3 MB, free: 7.59 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.0008769/0.0008769, allocations: 94.59 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.602e-05/1.604e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08244/0.08247, allocations: 50.41 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3132/0.3957, allocations: 100.7 MB / 488.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.396, allocations: 83.95 kB / 488.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09059/0.4866, allocations: 34.64 MB / 0.5106 GB, free: 7.195 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4866, allocations: 3.938 kB / 0.5106 GB, free: 7.191 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.585e-05/0.4867, allocations: 43.88 kB / 0.5107 GB, free: 7.148 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.002698/0.4894, allocations: 1.635 MB / 0.5123 GB, free: 5.461 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.4894, allocations: 12.03 kB / 0.5123 GB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005535/0.49, allocations: 217.7 kB / 0.5125 GB, free: 5.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.4919, allocations: 1.187 MB / 0.5136 GB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.4919, allocations: 51.94 kB / 0.5137 GB, free: 3.953 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.4921, allocations: 91.91 kB / 0.5138 GB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002187/0.4943, allocations: 1.4 MB / 0.5151 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/0.4969, allocations: 1.695 MB / 0.5168 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/0.497, allocations: 8 kB / 0.5168 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.4971, allocations: 8 kB / 0.5168 GB, free: 0.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.341e-05/0.4972, allocations: 70.92 kB / 0.5169 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008165/0.5054, allocations: 6 MB / 0.5227 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.5066, allocations: 0.8319 MB / 0.5236 GB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008351/0.5074, allocations: 0.5606 MB / 0.5241 GB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/0.5077, allocations: 129.6 kB / 0.5242 GB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.5077, allocations: 43.11 kB / 0.5243 GB, free: 8.785 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 2.625e-06/0.5077, allocations: 0 / 0.5243 GB, free: 8.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.00743/0.5152, allocations: 4.146 MB / 0.5283 GB, free: 4.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.5152, allocations: 64.19 kB / 0.5284 GB, free: 4.492 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009452/0.5162, allocations: 0.7841 MB / 0.5291 GB, free: 3.688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.5163, allocations: 25.7 kB / 0.5292 GB, free: 3.656 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004756/0.5167, allocations: 0.7707 MB / 0.5299 GB, free: 2.871 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.517, allocations: 331.1 kB / 0.5302 GB, free: 2.543 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.517, allocations: 0 / 0.5302 GB, free: 2.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5172, allocations: 353.9 kB / 0.5306 GB, free: 2.191 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006976/0.5179, allocations: 0.5414 MB / 0.5311 GB, free: 1.648 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009073/0.5188, allocations: 0.8735 MB / 0.532 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008917/0.5197, allocations: 0.6973 MB / 0.5326 GB, free: 15.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.5197, allocations: 4 kB / 0.5326 GB, free: 15.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002993/0.5227, allocations: 1.992 MB / 0.5346 GB, free: 13.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.5227, allocations: 9.094 kB / 0.5346 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.5228, allocations: 12 kB / 0.5346 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/0.5241, allocations: 0.5712 MB / 0.5352 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008735/0.525, allocations: 267.6 kB / 0.5354 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007156/0.5322, allocations: 7.765 MB / 0.543 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007482/0.5329, allocations: 43.94 kB / 0.543 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.339e-05/0.533, allocations: 51.98 kB / 0.5431 GB, free: 4.723 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(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: 4 {(1,100.0%) 1,(4,87.5%) 8,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002269/0.5333, allocations: 146.9 kB / 0.5432 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.5334, allocations: 114.6 kB / 0.5433 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/0.5365, allocations: 1.846 MB / 0.5451 GB, free: 2.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/0.5365, allocations: 8.141 kB / 0.5451 GB, free: 2.582 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.5365, allocations: 11.98 kB / 0.5452 GB, free: 2.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.5365, allocations: 8.078 kB / 0.5452 GB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1908/0.7273, allocations: 3.707 MB / 0.5488 GB, free: 115 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.7274, allocations: 4.781 kB / 0.5488 GB, free: 115 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.7279, allocations: 112.9 kB / 0.5489 GB, free: 115 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00187/0.7297, allocations: 0.7253 MB / 0.5496 GB, free: 115 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.7298, allocations: 11.77 kB / 0.5496 GB, free: 115 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008332/0.7382, allocations: 8.094 MB / 0.5575 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/0.7382, allocations: 3.406 kB / 0.5575 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004088/0.7423, allocations: 2.74 MB / 0.5602 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005282/0.7428, allocations: 298.8 kB / 0.5605 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.743, allocations: 11.75 kB / 0.5605 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006056/0.7436, allocations: 44.61 kB / 0.5605 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/0.7438, allocations: 80.58 kB / 0.5606 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.337e-05/0.7439, allocations: 37.36 kB / 0.5607 GB, free: 110.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000884/0.7448, allocations: 0.5815 MB / 0.5612 GB, free: 110.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7448, allocations: 1.344 kB / 0.5612 GB, free: 110.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001443/0.7462, allocations: 365.4 kB / 0.5616 GB, free: 110.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (imc.inertiaRotor.phi,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * 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: 3 * 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: 3 {(7,63.3%) 22,(1,100.0%) 1,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004873/0.7467, allocations: 298.8 kB / 0.5619 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003091/0.7498, allocations: 2.129 MB / 0.5639 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7498, allocations: 3.562 kB / 0.5639 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.7518, allocations: 1.359 MB / 0.5653 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.7531, allocations: 259.7 kB / 0.5655 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.7573, allocations: 2.679 MB / 0.5681 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.7585, allocations: 1.513 MB / 0.5696 GB, free: 108.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007868/0.7593, allocations: 240.6 kB / 0.5698 GB, free: 108.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.7595, allocations: 77.5 kB / 0.5699 GB, free: 108.1 MB / 426.7 MB Notification: Performance of SimCode: time 7.81e-07/0.7595, allocations: 0 / 0.5699 GB, free: 108.1 MB / 426.7 MB Notification: Performance of Templates: time 0.02536/0.7849, allocations: 18.55 MB / 0.588 GB, free: 107.1 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1)