Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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_Temperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001565/0.001565, allocations: 182.7 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.351/1.351, 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.001578/0.001578, allocations: 122.3 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.194e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06801/0.06804, allocations: 44.5 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2773/0.3454, allocations: 89.15 MB / 438.6 MB, free: 6.453 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.3456, allocations: 79.89 kB / 438.7 MB, free: 6.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06019/0.4058, allocations: 23.82 MB / 462.5 MB, free: 2.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4058, allocations: 0 / 462.5 MB, free: 2.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.034e-05/0.4059, allocations: 20 kB / 462.5 MB, free: 2.301 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001373/0.4073, allocations: 1.003 MB / 463.5 MB, free: 1.309 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4073, allocations: 12.03 kB / 463.5 MB, free: 1.297 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004588/0.4078, allocations: 150.6 kB / 463.7 MB, free: 1.148 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.4088, allocations: 0.6754 MB / 464.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.4089, allocations: 65.47 kB / 464.4 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.409, allocations: 82.81 kB / 464.5 MB, free: 488 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.4102, allocations: 0.783 MB / 465.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.4102, allocations: 7.906 kB / 465.3 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.4103, allocations: 30.81 kB / 465.3 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.4103, allocations: 27.95 kB / 465.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000822/0.4111, allocations: 0.492 MB / 465.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003958/0.4151, allocations: 3.502 MB / 469.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.4155, allocations: 232.1 kB / 469.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.4157, allocations: 96.5 kB / 469.7 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.4157, allocations: 4 kB / 469.7 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.4157, allocations: 37.62 kB / 469.7 MB, free: 12.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 2.264e-06/0.4157, allocations: 0 / 469.7 MB, free: 12.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001314/0.4171, allocations: 0.8407 MB / 470.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.4171, allocations: 85.11 kB / 470.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007813/0.4179, allocations: 0.6849 MB / 471.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.418, allocations: 28.95 kB / 471.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.4182, allocations: 0.5019 MB / 471.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.688e-05/0.4183, allocations: 103.2 kB / 471.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.89e-05/0.4183, allocations: 13.25 kB / 471.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4185, allocations: 330.7 kB / 472.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.4186, allocations: 108.4 kB / 472.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.419, allocations: 402.8 kB / 472.8 MB, free: 9.543 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.4193, allocations: 187.3 kB / 473 MB, free: 9.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.4193, allocations: 8 kB / 473 MB, free: 9.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000824/0.4201, allocations: 0.5806 MB / 473.5 MB, free: 8.922 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4202, allocations: 8 kB / 473.6 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.4202, allocations: 16.12 kB / 473.6 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/0.4203, allocations: 32.16 kB / 473.6 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.4208, allocations: 155.3 kB / 473.7 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009098/0.4217, allocations: 1.287 MB / 475 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/0.4222, allocations: 46.95 kB / 475.1 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.4222, allocations: 35.89 kB / 475.1 MB, free: 7.277 MB / 330.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0001121/0.4224, allocations: 148.3 kB / 475.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.4225, allocations: 83 kB / 475.3 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004936/0.423, allocations: 298.9 kB / 475.6 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.423, allocations: 4 kB / 475.6 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.423, allocations: 0 / 475.6 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.423, allocations: 7.953 kB / 475.6 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.4244, allocations: 1.076 MB / 476.7 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4244, allocations: 0 / 476.7 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.4247, allocations: 63.95 kB / 476.8 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.916e-05/0.4248, allocations: 24.42 kB / 476.8 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.4248, allocations: 14.17 kB / 476.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008425/0.4257, allocations: 1.27 MB / 478.1 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4257, allocations: 0 / 478.1 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000664/0.4263, allocations: 0.6124 MB / 478.7 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.4266, allocations: 185.3 kB / 478.9 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.608e-05/0.4267, allocations: 7.562 kB / 478.9 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.427, allocations: 31.09 kB / 478.9 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.4271, allocations: 26.11 kB / 478.9 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.4271, allocations: 8 kB / 479 MB, free: 3.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005999/0.4277, allocations: 0.5135 MB / 479.5 MB, free: 3.289 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4277, allocations: 0 / 479.5 MB, free: 3.289 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006749/0.4284, allocations: 209.3 kB / 479.7 MB, free: 3.105 MB / 330.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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.0004294/0.4289, allocations: 335.8 kB / 480 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006273/0.4295, allocations: 429.5 kB / 480.4 MB, free: 2.426 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.4295, allocations: 8.062 kB / 480.4 MB, free: 2.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.4298, allocations: 218.1 kB / 480.6 MB, free: 2.223 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008785/0.4307, allocations: 214.5 kB / 480.9 MB, free: 2.062 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.4325, allocations: 1.073 MB / 481.9 MB, free: 1.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.433, allocations: 0.9686 MB / 482.9 MB, free: 40 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003701/0.4334, allocations: 102.6 kB / 483 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.4335, allocations: 56.23 kB / 483.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4335, allocations: 0 / 483.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of Templates: time 0.01947/0.453, allocations: 11.69 MB / 494.7 MB, free: 4.176 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1)