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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 90.84 kB / 16.65 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001013, allocations: 177.3 kB / 17.56 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.000492, allocations: 8 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1247, allocations: 47.58 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01038/0.1352, allocations: 7.405 MB / 335.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006686/0.1419, allocations: 2.556 MB / 338.3 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.1443, allocations: 23.94 kB / 338.3 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.1469, allocations: 461.5 kB / 338.8 MB, free: 9.254 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.1493, allocations: 345.5 kB / 339.1 MB, free: 8.914 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008494/0.1502, allocations: 191.7 kB / 339.3 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002051/0.1522, allocations: 1.167 MB / 340.4 MB, free: 7.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008851/0.1531, allocations: 463.9 kB / 340.9 MB, free: 7.082 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008172/0.154, allocations: 394.1 kB / 341.3 MB, free: 6.695 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000763/0.1547, allocations: 457.7 kB / 341.7 MB, free: 6.246 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.1549, allocations: 55.98 kB / 341.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003827/0.1553, allocations: 95.97 kB / 341.9 MB, free: 6.098 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.1555, allocations: 167.2 kB / 342 MB, free: 5.934 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005853/0.1561, allocations: 0.5186 MB / 342.6 MB, free: 5.406 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.1574, allocations: 1.37 MB / 343.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1575, allocations: 0 / 343.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1575, allocations: 0 / 343.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.1575, allocations: 0 / 343.9 MB, free: 4.031 MB / 286.1 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.00211/0.1596, allocations: 1.145 MB / 345.1 MB, free: 2.832 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.1597, allocations: 12.03 kB / 345.1 MB, free: 2.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004864/0.1602, allocations: 151.6 kB / 345.2 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009525/0.1611, allocations: 0.6376 MB / 345.9 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.1612, allocations: 66.38 kB / 345.9 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.1613, allocations: 95.83 kB / 346 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.1629, allocations: 0.8262 MB / 346.9 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.1629, allocations: 4 kB / 346.9 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-05/0.163, allocations: 32 kB / 346.9 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.1631, allocations: 20 kB / 346.9 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.1641, allocations: 0.5582 MB / 347.5 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004471/0.1686, allocations: 3.59 MB / 351.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005543/0.1692, allocations: 250.6 kB / 351.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.1695, allocations: 124.8 kB / 351.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.1695, allocations: 3.984 kB / 351.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.1696, allocations: 46.5 kB / 351.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.385e-06/0.1696, allocations: 0 / 351.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002283/0.1719, allocations: 1.11 MB / 352.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.172, allocations: 85.05 kB / 352.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.173, allocations: 0.7585 MB / 353.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.173, allocations: 33.64 kB / 353.5 MB, free: 10 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.1734, allocations: 0.5136 MB / 354 MB, free: 9.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.666e-05/0.1736, allocations: 106.5 kB / 354.1 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/0.1736, allocations: 57.69 kB / 354.1 MB, free: 9.309 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1738, allocations: 382.8 kB / 354.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.1741, allocations: 141.2 kB / 354.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/0.1746, allocations: 458.2 kB / 355.1 MB, free: 8.191 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008745/0.1755, allocations: 0.6219 MB / 355.7 MB, free: 7.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.1756, allocations: 11.94 kB / 355.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001187/0.1767, allocations: 0.661 MB / 356.4 MB, free: 6.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.1768, allocations: 8 kB / 356.4 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.1768, allocations: 16.84 kB / 356.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.177, allocations: 32.84 kB / 356.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/0.1775, allocations: 159.7 kB / 356.6 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.1787, allocations: 1.299 MB / 357.9 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005219/0.1792, allocations: 43.89 kB / 357.9 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.1793, allocations: 36 kB / 358 MB, free: 5.008 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003882/0.1797, allocations: 245.6 kB / 358.2 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.1798, allocations: 75.06 kB / 358.3 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007238/0.1805, allocations: 350.2 kB / 358.6 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1806, allocations: 4 kB / 358.6 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1806, allocations: 0 / 358.6 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1806, allocations: 3.984 kB / 358.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.1825, allocations: 1.141 MB / 359.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1825, allocations: 0 / 359.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.1828, allocations: 63.91 kB / 359.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.1829, allocations: 24.84 kB / 359.9 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.1829, allocations: 8 kB / 359.9 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.184, allocations: 1.268 MB / 361.1 MB, free: 1.602 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.184, allocations: 8.016 kB / 361.2 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009717/0.185, allocations: 0.5916 MB / 361.7 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.1852, allocations: 180.2 kB / 361.9 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.58e-05/0.1853, allocations: 8 kB / 361.9 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.1857, allocations: 27.92 kB / 362 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.1858, allocations: 27.91 kB / 362 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.1858, allocations: 19.98 kB / 362 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006966/0.1865, allocations: 0.5147 MB / 362.5 MB, free: 176 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1865, allocations: 0 / 362.5 MB, free: 176 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007213/0.1873, allocations: 168 kB / 362.7 MB, free: 8 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002438/0.1875, allocations: 119.1 kB / 362.8 MB, free: 15.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009791/0.1885, allocations: 495.9 kB / 363.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1885, allocations: 0 / 363.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003833/0.1889, allocations: 251.9 kB / 363.5 MB, free: 15.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.1901, allocations: 178.8 kB / 363.7 MB, free: 14.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.1931, allocations: 1.902 MB / 365.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008446/0.1939, allocations: 0.9565 MB / 366.6 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004552/0.1944, allocations: 94.17 kB / 366.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.1945, allocations: 47.44 kB / 366.7 MB, free: 11.88 MB / 318.1 MB Notification: Performance of SimCode: time 2.104e-06/0.1945, allocations: 0 / 366.7 MB, free: 11.88 MB / 318.1 MB Notification: Performance of Templates: time 0.02009/0.2146, allocations: 7.949 MB / 374.7 MB, free: 3.938 MB / 318.1 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)