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.002646/0.002646, allocations: 100.8 kB / 16.62 MB, free: 6.812 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.002922/0.002922, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.888/1.888, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001658/0.001658, allocations: 51.92 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1221, allocations: 46.63 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009891/0.1321, allocations: 7.887 MB / 334 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005763/0.1379, allocations: 2.576 MB / 336.6 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.1398, allocations: 20 kB / 336.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.1418, allocations: 469.5 kB / 337.1 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.1432, allocations: 349.5 kB / 337.4 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.1437, allocations: 191.8 kB / 337.6 MB, free: 9.254 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001846/0.1456, allocations: 1.226 MB / 338.8 MB, free: 8.023 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009933/0.1466, allocations: 0.5331 MB / 339.4 MB, free: 7.473 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008398/0.1475, allocations: 478.1 kB / 339.8 MB, free: 7.004 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007089/0.1482, allocations: 0.5172 MB / 340.4 MB, free: 6.484 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.1484, allocations: 120 kB / 340.5 MB, free: 6.367 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003535/0.1487, allocations: 152 kB / 340.6 MB, free: 6.219 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.1489, allocations: 231.2 kB / 340.9 MB, free: 5.992 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006228/0.1496, allocations: 0.5676 MB / 341.4 MB, free: 5.422 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001962/0.1515, allocations: 1.44 MB / 342.9 MB, free: 3.977 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.1516, allocations: 0 / 342.9 MB, free: 3.977 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.668e-06/0.1516, allocations: 0 / 342.9 MB, free: 3.977 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.1516, allocations: 3.938 kB / 342.9 MB, free: 3.973 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.002352/0.154, allocations: 1.301 MB / 344.2 MB, free: 2.617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.154, allocations: 8.031 kB / 344.2 MB, free: 2.609 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005039/0.1545, allocations: 155.5 kB / 344.3 MB, free: 2.457 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009888/0.1555, allocations: 0.6299 MB / 345 MB, free: 1.785 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.28e-05/0.1556, allocations: 66.38 kB / 345 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.1557, allocations: 87.84 kB / 345.1 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.1572, allocations: 0.8223 MB / 345.9 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.1572, allocations: 4 kB / 345.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.665e-05/0.1573, allocations: 36 kB / 346 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.1574, allocations: 20 kB / 346 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.1584, allocations: 0.5465 MB / 346.5 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00462/0.163, allocations: 3.582 MB / 350.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.1636, allocations: 246.6 kB / 350.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.1638, allocations: 116.8 kB / 350.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.1639, allocations: 3.938 kB / 350.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1639, allocations: 50.48 kB / 350.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.764e-06/0.1639, allocations: 0 / 350.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002191/0.1661, allocations: 1.063 MB / 351.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.1662, allocations: 88.98 kB / 351.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009536/0.1672, allocations: 0.7624 MB / 352.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.1672, allocations: 33.7 kB / 352.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/0.1676, allocations: 0.5058 MB / 353 MB, free: 9.352 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.1677, allocations: 114.5 kB / 353.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.1679, allocations: 122.2 kB / 353.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.1681, allocations: 386.8 kB / 353.6 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.1684, allocations: 125.2 kB / 353.7 MB, free: 8.605 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000575/0.169, allocations: 446.2 kB / 354.1 MB, free: 8.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000924/0.1699, allocations: 0.6141 MB / 354.8 MB, free: 7.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.17, allocations: 4 kB / 354.8 MB, free: 7.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001175/0.1711, allocations: 0.6499 MB / 355.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.1712, allocations: 11.94 kB / 355.4 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.1712, allocations: 15.94 kB / 355.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.1714, allocations: 36.84 kB / 355.5 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.1719, allocations: 147.7 kB / 355.6 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.1731, allocations: 1.398 MB / 357 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.1737, allocations: 35.89 kB / 357 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.1737, allocations: 32 kB / 357.1 MB, free: 4.773 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.0003681/0.1741, allocations: 245.5 kB / 357.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.1742, allocations: 79.12 kB / 357.4 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006884/0.1749, allocations: 338.1 kB / 357.7 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1749, allocations: 4 kB / 357.7 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1749, allocations: 0 / 357.7 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1749, allocations: 7.922 kB / 357.7 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.1767, allocations: 1.106 MB / 358.8 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1768, allocations: 4.062 kB / 358.8 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.1771, allocations: 63.91 kB / 358.9 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.787e-05/0.1772, allocations: 24.84 kB / 358.9 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.1772, allocations: 8 kB / 358.9 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.1784, allocations: 1.374 MB / 360.3 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/0.1784, allocations: 7.969 kB / 360.3 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.1795, allocations: 0.5721 MB / 360.9 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.1797, allocations: 180.1 kB / 361.1 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.464e-05/0.1798, allocations: 11.98 kB / 361.1 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.1802, allocations: 19.98 kB / 361.1 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.1803, allocations: 31.91 kB / 361.1 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.1803, allocations: 12 kB / 361.1 MB, free: 408 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007178/0.181, allocations: 0.5108 MB / 361.7 MB, free: 15.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.181, allocations: 0 / 361.7 MB, free: 15.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007798/0.1818, allocations: 172 kB / 361.8 MB, free: 15.72 MB / 318.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.0002762/0.1821, allocations: 119.2 kB / 361.9 MB, free: 15.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.1833, allocations: 487.9 kB / 362.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1833, allocations: 0 / 362.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004089/0.1837, allocations: 243.9 kB / 362.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.1849, allocations: 195.1 kB / 362.8 MB, free: 14.67 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.1877, allocations: 1.822 MB / 364.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007045/0.1884, allocations: 0.9485 MB / 365.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003917/0.1888, allocations: 102.1 kB / 365.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.1889, allocations: 47.44 kB / 365.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1889, allocations: 0 / 365.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of Templates: time 0.01774/0.2067, allocations: 8.352 MB / 374.1 MB, free: 3.324 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)