Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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_Temperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001289/0.001289, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.124/1.124, allocations: 170.7 MB / 178.7 MB, free: 7.039 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.001634/0.001634, allocations: 103.5 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.319e-05/1.32e-05, allocations: 0 / 262.2 MB, free: 3.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2176, allocations: 38.76 MB / 301 MB, free: 39.09 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09804/0.3157, allocations: 83.36 MB / 384.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.316, allocations: 80.66 kB / 384.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06239/0.3784, allocations: 23.59 MB / 408 MB, free: 4.598 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3784, allocations: 4 kB / 408 MB, free: 4.594 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.198e-05/0.3785, allocations: 16 kB / 408 MB, free: 4.578 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.001989/0.3805, allocations: 1.006 MB / 409 MB, free: 3.527 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3806, allocations: 8.031 kB / 409 MB, free: 3.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006797/0.3813, allocations: 154.6 kB / 409.2 MB, free: 3.367 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.3828, allocations: 0.6724 MB / 409.9 MB, free: 2.652 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.3828, allocations: 32 kB / 409.9 MB, free: 2.621 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.383, allocations: 55.89 kB / 409.9 MB, free: 2.566 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000971/0.384, allocations: 448 kB / 410.4 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.3852, allocations: 0.6545 MB / 411 MB, free: 1.441 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.3852, allocations: 0 / 411 MB, free: 1.441 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.3853, allocations: 11.92 kB / 411 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.3853, allocations: 27.98 kB / 411.1 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004395/0.3897, allocations: 3.31 MB / 414.4 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.3901, allocations: 216.8 kB / 414.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.3903, allocations: 104.8 kB / 414.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.3903, allocations: 0 / 414.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.3903, allocations: 34.56 kB / 414.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.212e-06/0.3903, allocations: 0 / 414.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001385/0.3917, allocations: 0.7866 MB / 415.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.3918, allocations: 81.11 kB / 415.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006832/0.3925, allocations: 0.5074 MB / 416.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.3925, allocations: 25.7 kB / 416.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/0.3929, allocations: 0.5132 MB / 416.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.331e-05/0.393, allocations: 110.5 kB / 416.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/0.393, allocations: 0 / 416.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3931, allocations: 370.8 kB / 417.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.3933, allocations: 97.56 kB / 417.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.3936, allocations: 389.9 kB / 417.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.3939, allocations: 168.3 kB / 417.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3939, allocations: 0 / 417.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007975/0.3947, allocations: 0.5065 MB / 418.3 MB, free: 9.754 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.3948, allocations: 8 kB / 418.3 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.3948, allocations: 12 kB / 418.3 MB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001443/0.3949, allocations: 36.78 kB / 418.3 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.3954, allocations: 152.2 kB / 418.5 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008767/0.3963, allocations: 1.229 MB / 419.7 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004491/0.3968, allocations: 36.05 kB / 419.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.417e-05/0.3968, allocations: 28 kB / 419.8 MB, free: 8.141 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.0001116/0.397, allocations: 132.7 kB / 419.9 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-05/0.3971, allocations: 75.11 kB / 420 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.3975, allocations: 265.3 kB / 420.2 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3975, allocations: 4 kB / 420.2 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.3976, allocations: 0 / 420.2 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3976, allocations: 0 / 420.2 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.3988, allocations: 0.9461 MB / 421.2 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3988, allocations: 4 kB / 421.2 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.3991, allocations: 59.91 kB / 421.2 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.918e-05/0.3992, allocations: 29.06 kB / 421.3 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.3993, allocations: 4 kB / 421.3 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008409/0.4001, allocations: 1.229 MB / 422.5 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4001, allocations: 3.953 kB / 422.5 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000611/0.4007, allocations: 0.5703 MB / 423.1 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.401, allocations: 168.2 kB / 423.2 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-05/0.4011, allocations: 4 kB / 423.2 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.4014, allocations: 23.97 kB / 423.3 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.4014, allocations: 19.97 kB / 423.3 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.4015, allocations: 12 kB / 423.3 MB, free: 4.289 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004512/0.4019, allocations: 395.2 kB / 423.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4019, allocations: 0 / 423.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006533/0.4026, allocations: 152 kB / 423.8 MB, free: 3.762 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.0004084/0.403, allocations: 282.2 kB / 424.1 MB, free: 3.484 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006492/0.4037, allocations: 403.7 kB / 424.5 MB, free: 3.082 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4037, allocations: 0 / 424.5 MB, free: 3.082 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.404, allocations: 209.6 kB / 424.7 MB, free: 2.867 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008531/0.4048, allocations: 160.5 kB / 424.9 MB, free: 2.711 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.4068, allocations: 1.033 MB / 425.9 MB, free: 1.629 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/0.4074, allocations: 0.9717 MB / 426.9 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003606/0.4077, allocations: 85.38 kB / 426.9 MB, free: 0.543 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.4078, allocations: 51.42 kB / 427 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4079, allocations: 0 / 427 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of Templates: time 0.1787/0.5866, allocations: 7.332 MB / 434.3 MB, free: 90.34 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1)