Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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.DCPM_QuasiStationary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001201/0.001201, allocations: 180.9 kB / 16.39 MB, free: 5.762 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.214/1.214, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.001538/0.001538, allocations: 114.8 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000274/0.000274, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07744/0.07773, allocations: 44.49 MB / 355.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.238/0.3158, allocations: 89.94 MB / 445 MB, free: 15.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.3161, allocations: 85.45 kB / 445.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1016/0.4177, allocations: 40.6 MB / 485.7 MB, free: 9.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4178, allocations: 0 / 485.7 MB, free: 9.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001002/0.4179, allocations: 36 kB / 485.7 MB, free: 9.383 MB / 362.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.003013/0.4209, allocations: 1.758 MB / 487.5 MB, free: 7.562 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4209, allocations: 12.02 kB / 487.5 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007203/0.4217, allocations: 257.5 kB / 487.7 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.4235, allocations: 1.098 MB / 488.8 MB, free: 6.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.367e-05/0.4236, allocations: 115.1 kB / 489 MB, free: 6.039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.4238, allocations: 159.9 kB / 489.1 MB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.4262, allocations: 1.468 MB / 490.6 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/0.4262, allocations: 11.84 kB / 490.6 MB, free: 4.328 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.4263, allocations: 63.98 kB / 490.7 MB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/0.4264, allocations: 40 kB / 490.7 MB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.4281, allocations: 0.9825 MB / 491.7 MB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007614/0.4357, allocations: 6.667 MB / 498.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/0.4365, allocations: 409.2 kB / 498.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.4366, allocations: 8.438 kB / 498.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004511/0.437, allocations: 276.8 kB / 499 MB, free: 11.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 2.475e-06/0.437, allocations: 0 / 499 MB, free: 11.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=56): time 0.003144/0.4402, allocations: 1.801 MB / 0.4891 GB, free: 9.613 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/0.4403, allocations: 162.8 kB / 0.4892 GB, free: 9.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.4416, allocations: 1.079 MB / 0.4903 GB, free: 8.324 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.4416, allocations: 37.7 kB / 0.4903 GB, free: 8.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006207/0.4423, allocations: 0.8672 MB / 0.4912 GB, free: 7.402 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.4424, allocations: 205.2 kB / 0.4914 GB, free: 7.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.4425, allocations: 20 kB / 0.4914 GB, free: 7.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4426, allocations: 353.9 kB / 0.4917 GB, free: 6.828 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/0.443, allocations: 242.4 kB / 0.492 GB, free: 6.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000711/0.4437, allocations: 0.8073 MB / 0.4927 GB, free: 5.508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005782/0.4443, allocations: 395.6 kB / 0.4931 GB, free: 5.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.4443, allocations: 11.95 kB / 0.4931 GB, free: 5.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.001795/0.4461, allocations: 1.189 MB / 0.4943 GB, free: 3.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.4462, allocations: 37.7 kB / 0.4943 GB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.4462, allocations: 24.06 kB / 0.4944 GB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002167/0.4464, allocations: 73.62 kB / 0.4944 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007515/0.4472, allocations: 267.6 kB / 0.4947 GB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.4488, allocations: 2.595 MB / 0.4972 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009308/0.4498, allocations: 83.94 kB / 0.4973 GB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/0.4499, allocations: 56 kB / 0.4974 GB, free: 500 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006713/0.4505, allocations: 356.4 kB / 0.4977 GB, free: 136 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.4507, allocations: 130.4 kB / 0.4978 GB, free: 4 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.4517, allocations: 0.5684 MB / 0.4984 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4517, allocations: 4 kB / 0.4984 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4517, allocations: 4 kB / 0.4984 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4517, allocations: 3.984 kB / 0.4984 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.4544, allocations: 1.869 MB / 0.5002 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.4544, allocations: 4 kB / 0.5002 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.4549, allocations: 103.8 kB / 0.5003 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/0.455, allocations: 45.69 kB / 0.5004 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.4551, allocations: 12 kB / 0.5004 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.4568, allocations: 2.56 MB / 0.5029 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.4568, allocations: 7.938 kB / 0.5029 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.4583, allocations: 1.125 MB / 0.504 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000429/0.4588, allocations: 255.4 kB / 0.5042 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.4589, allocations: 16 kB / 0.5042 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.4594, allocations: 39.91 kB / 0.5043 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.4596, allocations: 55.83 kB / 0.5043 GB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.4596, allocations: 16 kB / 0.5043 GB, free: 8.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001107/0.4607, allocations: 0.8071 MB / 0.5051 GB, free: 7.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4607, allocations: 0 / 0.5051 GB, free: 7.926 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001211/0.4619, allocations: 344 kB / 0.5055 GB, free: 7.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (dcpm1.inertiaRotor.phi,dcpm1.inertiaRotor.w,dcpm1.la.i,dcpm2.inertiaRotor.phi,dcpm2.inertiaRotor.w) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004486/0.4624, allocations: 311.5 kB / 0.5057 GB, free: 7.273 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.4639, allocations: 0.9406 MB / 0.5067 GB, free: 6.297 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4639, allocations: 0 / 0.5067 GB, free: 6.297 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006356/0.4645, allocations: 482.5 kB / 0.5071 GB, free: 5.801 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.4657, allocations: 302.9 kB / 0.5074 GB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/0.4699, allocations: 3.074 MB / 0.5104 GB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007063/0.4706, allocations: 1.213 MB / 0.5116 GB, free: 1.113 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000665/0.4713, allocations: 175.3 kB / 0.5118 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.4714, allocations: 83.44 kB / 0.5119 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4715, allocations: 0 / 0.5119 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of Templates: time 0.1808/0.6522, allocations: 15.82 MB / 0.5273 GB, free: 99.86 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe 2>&1)