Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007162/0.007162, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.237/1.237, allocations: 170.8 MB / 186.6 MB, free: 1.02 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.0014/0.0014, allocations: 115.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 12 kB / 274.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.208, allocations: 38.75 MB / 312.9 MB, free: 38.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1035/0.3115, allocations: 83.57 MB / 396.5 MB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.3119, allocations: 83.95 kB / 396.5 MB, free: 6.836 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2255/0.5374, allocations: 23.04 MB / 419.6 MB, free: 79.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.5375, allocations: 1.25 kB / 419.6 MB, free: 79.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001034/0.5376, allocations: 18.52 kB / 419.6 MB, free: 79.57 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.00255/0.5401, allocations: 1.081 MB / 420.7 MB, free: 79.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.5402, allocations: 9.156 kB / 420.7 MB, free: 79.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006519/0.5409, allocations: 149.6 kB / 420.8 MB, free: 79.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.5424, allocations: 0.6928 MB / 421.5 MB, free: 78.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.093e-05/0.5425, allocations: 58.88 kB / 421.6 MB, free: 78.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.5426, allocations: 81 kB / 421.7 MB, free: 78.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.5438, allocations: 0.7707 MB / 422.4 MB, free: 78.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.5439, allocations: 12.94 kB / 422.4 MB, free: 78.67 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.055e-05/0.544, allocations: 33 kB / 422.5 MB, free: 78.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.544, allocations: 19.25 kB / 422.5 MB, free: 78.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009304/0.5449, allocations: 0.5348 MB / 423 MB, free: 78.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003532/0.5485, allocations: 3.457 MB / 426.5 MB, free: 77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/0.5489, allocations: 240.3 kB / 426.7 MB, free: 76.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.5489, allocations: 9.609 kB / 426.7 MB, free: 76.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.549, allocations: 38.19 kB / 426.8 MB, free: 76.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.285e-06/0.549, allocations: 1.031 kB / 426.8 MB, free: 76.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001853/0.5508, allocations: 1.081 MB / 427.9 MB, free: 76.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.5509, allocations: 84.53 kB / 427.9 MB, free: 76.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.5516, allocations: 0.618 MB / 428.6 MB, free: 76.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.5516, allocations: 30.86 kB / 428.6 MB, free: 76.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.5518, allocations: 0.4928 MB / 429.1 MB, free: 75.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.5519, allocations: 107.8 kB / 429.2 MB, free: 75.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.5519, allocations: 10.91 kB / 429.2 MB, free: 75.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.552, allocations: 373.9 kB / 429.6 MB, free: 75.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.5523, allocations: 131.8 kB / 429.7 MB, free: 75.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.5526, allocations: 426.7 kB / 430.1 MB, free: 75.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.5529, allocations: 208.7 kB / 430.3 MB, free: 75.15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5529, allocations: 3.625 kB / 430.3 MB, free: 75.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000928/0.5539, allocations: 0.6285 MB / 430.9 MB, free: 75.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5539, allocations: 14.06 kB / 431 MB, free: 75.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.5539, allocations: 9.562 kB / 431 MB, free: 75.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/0.5541, allocations: 35.5 kB / 431 MB, free: 75.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.5545, allocations: 145 kB / 431.1 MB, free: 75.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006895/0.5552, allocations: 1.287 MB / 432.4 MB, free: 73.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.5557, allocations: 42.78 kB / 432.5 MB, free: 73.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.5558, allocations: 35.78 kB / 432.5 MB, free: 73.8 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (74): * Single equations (assignments): 73 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002986/0.5561, allocations: 234.3 kB / 432.7 MB, free: 73.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/0.5562, allocations: 77.58 kB / 432.8 MB, free: 73.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005888/0.5568, allocations: 346.7 kB / 433.1 MB, free: 73.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.5568, allocations: 3.281 kB / 433.1 MB, free: 73.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5568, allocations: 1.438 kB / 433.1 MB, free: 73.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.5568, allocations: 1.062 kB / 433.1 MB, free: 73.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.5582, allocations: 1.098 MB / 434.2 MB, free: 73.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5582, allocations: 3.594 kB / 434.3 MB, free: 73.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.5585, allocations: 61.09 kB / 434.3 MB, free: 73.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.942e-05/0.5585, allocations: 31.09 kB / 434.3 MB, free: 73.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.5586, allocations: 6.906 kB / 434.3 MB, free: 73.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005417/0.5591, allocations: 1.278 MB / 435.6 MB, free: 71.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5591, allocations: 5.344 kB / 435.6 MB, free: 71.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007475/0.5599, allocations: 0.6559 MB / 436.3 MB, free: 71.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.5601, allocations: 168.3 kB / 436.5 MB, free: 71.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.081e-05/0.5602, allocations: 7.938 kB / 436.5 MB, free: 71.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.5605, allocations: 21.59 kB / 436.5 MB, free: 71.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.5605, allocations: 39.19 kB / 436.5 MB, free: 71.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.5606, allocations: 9.031 kB / 436.5 MB, free: 71.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004683/0.561, allocations: 482.9 kB / 437 MB, free: 70.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.561, allocations: 0 / 437 MB, free: 70.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007086/0.5618, allocations: 191.8 kB / 437.2 MB, free: 70.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * 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 (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003546/0.5621, allocations: 282.9 kB / 437.5 MB, free: 70.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007226/0.5628, allocations: 475.7 kB / 437.9 MB, free: 70.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5629, allocations: 0 / 437.9 MB, free: 70.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.5632, allocations: 250.1 kB / 438.2 MB, free: 70.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006917/0.5639, allocations: 162.7 kB / 438.3 MB, free: 70.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.5657, allocations: 1.741 MB / 440.1 MB, free: 69.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.566, allocations: 0.9666 MB / 441 MB, free: 68.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003298/0.5663, allocations: 86.08 kB / 441.1 MB, free: 68.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.21e-05/0.5664, allocations: 48.5 kB / 441.2 MB, free: 68.44 MB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5664, allocations: 0 / 441.2 MB, free: 68.44 MB / 314.7 MB Notification: Performance of Templates: time 0.01424/0.5807, allocations: 9.448 MB / 450.6 MB, free: 67.71 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1)