Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001045/0.001045, allocations: 182.2 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.502/1.502, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001634/0.001634, allocations: 120.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.183e-05/2.185e-05, allocations: 0 / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07366/0.0737, allocations: 44.5 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3001/0.3739, allocations: 92.68 MB / 442.1 MB, free: 2.988 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.3741, allocations: 86.44 kB / 442.2 MB, free: 2.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06612/0.4403, allocations: 26.21 MB / 468.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4403, allocations: 0 / 468.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001025/0.4404, allocations: 24 kB / 468.4 MB, free: 12.82 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002319/0.4428, allocations: 1.1 MB / 469.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4428, allocations: 8.031 kB / 469.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005907/0.4434, allocations: 170.5 kB / 469.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.4448, allocations: 0.7653 MB / 470.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.4449, allocations: 71.88 kB / 470.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.445, allocations: 106.2 kB / 470.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.4466, allocations: 0.8789 MB / 471.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.4467, allocations: 0 / 471.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-05/0.4468, allocations: 42.92 kB / 471.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.4468, allocations: 24 kB / 471.6 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.4479, allocations: 0.5707 MB / 472.2 MB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005581/0.4535, allocations: 3.946 MB / 476.1 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005419/0.454, allocations: 333.4 kB / 476.4 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.4543, allocations: 130.4 kB / 476.6 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.487e-05/0.4543, allocations: 288 / 476.6 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.4544, allocations: 46.39 kB / 476.6 MB, free: 6.059 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.4544, allocations: 0 / 476.6 MB, free: 6.059 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001832/0.4562, allocations: 0.951 MB / 477.6 MB, free: 5.199 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.4563, allocations: 85.09 kB / 477.6 MB, free: 5.098 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000929/0.4572, allocations: 0.6828 MB / 478.3 MB, free: 4.582 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.4573, allocations: 36.39 kB / 478.4 MB, free: 4.547 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/0.4577, allocations: 0.5567 MB / 478.9 MB, free: 4.137 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.4578, allocations: 137.9 kB / 479.1 MB, free: 4.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.4578, allocations: 10.5 kB / 479.1 MB, free: 4.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.458, allocations: 338.3 kB / 479.4 MB, free: 3.695 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.4582, allocations: 126.1 kB / 479.5 MB, free: 3.617 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.4586, allocations: 431.2 kB / 479.9 MB, free: 3.117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.459, allocations: 218.1 kB / 480.2 MB, free: 2.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.459, allocations: 4 kB / 480.2 MB, free: 2.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009818/0.46, allocations: 0.6373 MB / 480.8 MB, free: 2.441 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.46, allocations: 16.89 kB / 480.8 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.46, allocations: 8 kB / 480.8 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/0.4602, allocations: 36.8 kB / 480.9 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.4608, allocations: 166.5 kB / 481 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.4621, allocations: 1.299 MB / 482.3 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006854/0.4628, allocations: 41.33 kB / 482.4 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.4629, allocations: 34.31 kB / 482.4 MB, free: 0.7852 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0001483/0.463, allocations: 153.5 kB / 482.5 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.4631, allocations: 79.06 kB / 482.6 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006814/0.4638, allocations: 342.7 kB / 483 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.4639, allocations: 4 kB / 483 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4639, allocations: 0 / 483 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4639, allocations: 3.984 kB / 483 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.4656, allocations: 1.217 MB / 484.2 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4656, allocations: 3.953 kB / 484.2 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.4659, allocations: 84.05 kB / 484.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.073e-05/0.466, allocations: 24.84 kB / 484.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.466, allocations: 11.94 kB / 484.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008454/0.4669, allocations: 1.272 MB / 485.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4669, allocations: 0 / 485.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007515/0.4677, allocations: 0.678 MB / 486.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.4679, allocations: 184.2 kB / 486.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.857e-05/0.468, allocations: 8 kB / 486.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.4684, allocations: 31.91 kB / 486.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.618e-05/0.4685, allocations: 35.92 kB / 486.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.4685, allocations: 12 kB / 486.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006768/0.4692, allocations: 0.5148 MB / 487 MB, free: 11.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4692, allocations: 0 / 487 MB, free: 11.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008224/0.47, allocations: 227.9 kB / 487.3 MB, free: 11.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.0004245/0.4704, allocations: 293.8 kB / 487.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007506/0.4712, allocations: 484.5 kB / 488 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4712, allocations: 0 / 488 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.4715, allocations: 246.4 kB / 488.3 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008318/0.4724, allocations: 197.1 kB / 488.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.4744, allocations: 1.252 MB / 489.7 MB, free: 9.176 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.475, allocations: 1.012 MB / 490.7 MB, free: 8.133 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003912/0.4754, allocations: 107 kB / 490.8 MB, free: 8.023 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.4755, allocations: 55.44 kB / 490.9 MB, free: 7.973 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4755, allocations: 0 / 490.9 MB, free: 7.973 MB / 346.7 MB Notification: Performance of Templates: time 0.01973/0.4953, allocations: 11.18 MB / 0.4903 GB, free: 12.79 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1)