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.008422/0.008422, allocations: 166.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.565/1.565, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001625/0.001625, allocations: 110.7 kB / 226.2 MB, free: 8.008 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 8 kB / 274.1 MB, free: 7.988 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2116, allocations: 38.77 MB / 312.9 MB, free: 24.26 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.318, allocations: 84.1 MB / 397 MB, free: 4.027 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.3183, allocations: 87.95 kB / 397.1 MB, free: 3.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2139/0.5322, allocations: 23.89 MB / 421 MB, free: 70.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5323, allocations: 0 / 421 MB, free: 70.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.122e-05/0.5323, allocations: 23.98 kB / 421 MB, free: 70.04 MB / 298.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.001579/0.5339, allocations: 1.137 MB / 422.1 MB, free: 68.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.5339, allocations: 12.02 kB / 422.1 MB, free: 68.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004462/0.5344, allocations: 150.6 kB / 422.3 MB, free: 68.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009903/0.5354, allocations: 0.6718 MB / 423 MB, free: 67.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/0.5354, allocations: 62 kB / 423 MB, free: 67.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.352e-05/0.5355, allocations: 84 kB / 423.1 MB, free: 67.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.5367, allocations: 0.8144 MB / 423.9 MB, free: 66.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.5367, allocations: 11.84 kB / 423.9 MB, free: 66.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-05/0.5368, allocations: 36 kB / 424 MB, free: 66.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.5368, allocations: 20 kB / 424 MB, free: 66.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008614/0.5376, allocations: 0.5582 MB / 424.5 MB, free: 66.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003435/0.5411, allocations: 3.508 MB / 428.1 MB, free: 62.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/0.5416, allocations: 248.1 kB / 428.3 MB, free: 62.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.5416, allocations: 4 kB / 428.3 MB, free: 62.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.5416, allocations: 30.56 kB / 428.3 MB, free: 62.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.335e-06/0.5416, allocations: 0 / 428.3 MB, free: 62.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001876/0.5435, allocations: 1.121 MB / 429.5 MB, free: 61.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.5436, allocations: 81.11 kB / 429.5 MB, free: 61.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006727/0.5442, allocations: 0.6839 MB / 430.2 MB, free: 60.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.5443, allocations: 37.7 kB / 430.3 MB, free: 60.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.5445, allocations: 0.4983 MB / 430.8 MB, free: 59.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.5446, allocations: 106.5 kB / 430.9 MB, free: 59.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/0.5446, allocations: 16 kB / 430.9 MB, free: 59.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.299e-05/0.5447, allocations: 329.9 kB / 431.2 MB, free: 59.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.5449, allocations: 133.2 kB / 431.3 MB, free: 59.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.5453, allocations: 430.1 kB / 431.7 MB, free: 58.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.5456, allocations: 199.9 kB / 431.9 MB, free: 58.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.5456, allocations: 8 kB / 431.9 MB, free: 58.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000844/0.5464, allocations: 0.6383 MB / 432.6 MB, free: 57.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5465, allocations: 8 kB / 432.6 MB, free: 57.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.5465, allocations: 15.98 kB / 432.6 MB, free: 57.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/0.5466, allocations: 28.86 kB / 432.6 MB, free: 57.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.5471, allocations: 155.9 kB / 432.8 MB, free: 57.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007242/0.5478, allocations: 1.303 MB / 434.1 MB, free: 56.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.5483, allocations: 39.89 kB / 434.1 MB, free: 56.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.5483, allocations: 32 kB / 434.2 MB, free: 56.11 MB / 298.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.0003004/0.5486, allocations: 241.7 kB / 434.4 MB, free: 55.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/0.5487, allocations: 79 kB / 434.5 MB, free: 55.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005982/0.5493, allocations: 362.9 kB / 434.8 MB, free: 55.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5493, allocations: 3.953 kB / 434.8 MB, free: 55.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5494, allocations: 7.984 kB / 434.8 MB, free: 55.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5494, allocations: 0 / 434.8 MB, free: 55.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.5507, allocations: 1.11 MB / 436 MB, free: 54.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5507, allocations: 0 / 436 MB, free: 54.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.551, allocations: 71.89 kB / 436 MB, free: 54.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.307e-05/0.5511, allocations: 24.84 kB / 436 MB, free: 54.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.5511, allocations: 8 kB / 436.1 MB, free: 54.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005688/0.5517, allocations: 1.276 MB / 437.3 MB, free: 52.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5517, allocations: 4 kB / 437.3 MB, free: 52.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007489/0.5524, allocations: 0.6854 MB / 438 MB, free: 51.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.5526, allocations: 188.1 kB / 438.2 MB, free: 51.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.5527, allocations: 11.95 kB / 438.2 MB, free: 51.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.553, allocations: 27.98 kB / 438.2 MB, free: 51.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.5531, allocations: 23.91 kB / 438.3 MB, free: 51.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.5531, allocations: 11.98 kB / 438.3 MB, free: 51.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005089/0.5536, allocations: 0.5264 MB / 438.8 MB, free: 51.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5536, allocations: 0 / 438.8 MB, free: 51.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007616/0.5544, allocations: 207.9 kB / 439 MB, free: 50.92 MB / 298.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.0004215/0.5548, allocations: 316.3 kB / 439.3 MB, free: 50.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000738/0.5556, allocations: 484.8 kB / 439.8 MB, free: 50.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5556, allocations: 0 / 439.8 MB, free: 50.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.5559, allocations: 251.3 kB / 440 MB, free: 49.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008584/0.5568, allocations: 221.7 kB / 440.3 MB, free: 49.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.5589, allocations: 1.782 MB / 442 MB, free: 47.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.5592, allocations: 0.9762 MB / 443 MB, free: 46.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00035/0.5596, allocations: 98.69 kB / 443.1 MB, free: 46.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.83e-05/0.5597, allocations: 55.42 kB / 443.2 MB, free: 46.66 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5597, allocations: 0 / 443.2 MB, free: 46.66 MB / 298.7 MB Notification: Performance of Templates: time 0.01808/0.5778, allocations: 11.29 MB / 454.4 MB, free: 35.36 MB / 298.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)