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.0009676/0.0009676, allocations: 179 kB / 16.38 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.175/1.175, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001602/0.001602, allocations: 112.9 kB / 256.9 MB, free: 4.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.0003121, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09061/0.09094, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2508/0.3418, allocations: 89.23 MB / 444.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.3421, allocations: 79.45 kB / 444.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05919/0.4013, allocations: 23.82 MB / 468.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4013, allocations: 0 / 468.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.053e-05/0.4014, allocations: 16 kB / 468.2 MB, free: 11.02 MB / 346.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.00171/0.4031, allocations: 1.125 MB / 469.3 MB, free: 9.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.4031, allocations: 12.03 kB / 469.3 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000472/0.4036, allocations: 154.9 kB / 469.5 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.4047, allocations: 0.6757 MB / 470.2 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.4047, allocations: 69.94 kB / 470.2 MB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.4048, allocations: 87.91 kB / 470.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.4061, allocations: 0.8145 MB / 471.1 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.4061, allocations: 7.938 kB / 471.1 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-05/0.4062, allocations: 32 kB / 471.2 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.4062, allocations: 27.95 kB / 471.2 MB, free: 7.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009738/0.4072, allocations: 0.5505 MB / 471.8 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.411, allocations: 3.505 MB / 475.3 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.4115, allocations: 238.7 kB / 475.5 MB, free: 3.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.4116, allocations: 15.89 kB / 475.5 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.4116, allocations: 38.56 kB / 475.5 MB, free: 3.328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.4116, allocations: 0 / 475.5 MB, free: 3.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.001936/0.4136, allocations: 1.111 MB / 476.7 MB, free: 2.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.4136, allocations: 85.09 kB / 476.7 MB, free: 2.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007811/0.4144, allocations: 0.6839 MB / 477.4 MB, free: 1.348 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.4145, allocations: 29.7 kB / 477.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.4148, allocations: 0.51 MB / 478 MB, free: 0.793 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.894e-05/0.4149, allocations: 98.56 kB / 478.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/0.4149, allocations: 12 kB / 478.1 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.415, allocations: 330 kB / 478.4 MB, free: 364 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.4153, allocations: 137.2 kB / 478.5 MB, free: 228 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/0.4158, allocations: 422.3 kB / 478.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.4161, allocations: 212.6 kB / 479.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4161, allocations: 3.984 kB / 479.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009652/0.4171, allocations: 0.646 MB / 479.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.4171, allocations: 12 kB / 479.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.4172, allocations: 8 kB / 479.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001256/0.4173, allocations: 32.84 kB / 479.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.4177, allocations: 156 kB / 480 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008981/0.4187, allocations: 1.292 MB / 481.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/0.4191, allocations: 47.95 kB / 481.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.4191, allocations: 31.98 kB / 481.4 MB, free: 13.09 MB / 362.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 (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.0003176/0.4195, allocations: 244.6 kB / 481.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.4196, allocations: 86.97 kB / 481.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006272/0.4202, allocations: 346.4 kB / 482 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4202, allocations: 8 kB / 482 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.4202, allocations: 0 / 482 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4202, allocations: 3.953 kB / 482 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.4217, allocations: 1.109 MB / 483.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4217, allocations: 4 kB / 483.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.422, allocations: 64.19 kB / 483.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.292e-05/0.4221, allocations: 24.78 kB / 483.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.4222, allocations: 8 kB / 483.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008049/0.423, allocations: 1.295 MB / 484.5 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.423, allocations: 0 / 484.5 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008841/0.4239, allocations: 0.6819 MB / 485.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.4241, allocations: 184.1 kB / 485.4 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.4242, allocations: 8 kB / 485.4 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.4245, allocations: 27.97 kB / 485.4 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.4246, allocations: 31.92 kB / 485.5 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.4246, allocations: 8 kB / 485.5 MB, free: 8.645 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006046/0.4252, allocations: 0.5341 MB / 486 MB, free: 8.113 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4252, allocations: 0 / 486 MB, free: 8.113 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006971/0.4259, allocations: 207.9 kB / 486.2 MB, free: 7.91 MB / 362.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 (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.0004141/0.4264, allocations: 309.3 kB / 486.5 MB, free: 7.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007945/0.4272, allocations: 486.9 kB / 487 MB, free: 7.121 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4272, allocations: 7.938 kB / 487 MB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.4276, allocations: 248.7 kB / 487.2 MB, free: 6.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008075/0.4284, allocations: 213 kB / 487.5 MB, free: 6.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.4305, allocations: 1.783 MB / 489.2 MB, free: 4.824 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.431, allocations: 0.9687 MB / 490.2 MB, free: 3.828 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003633/0.4314, allocations: 110.7 kB / 490.3 MB, free: 3.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.4315, allocations: 51.44 kB / 490.4 MB, free: 3.664 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4315, allocations: 0 / 490.4 MB, free: 3.664 MB / 362.7 MB Notification: Performance of Templates: time 0.01781/0.4493, allocations: 11.25 MB / 0.4899 GB, free: 8.414 MB / 378.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)