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.001494/0.001494, allocations: 97.22 kB / 16.5 MB, free: 6.203 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.001661/0.001661, allocations: 193.4 kB / 17.42 MB, free: 5.844 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.776/1.776, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.001194/0.001194, allocations: 43.92 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1439, allocations: 46.63 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01041/0.1544, allocations: 7.891 MB / 333.9 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005778/0.1602, allocations: 2.591 MB / 336.4 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.1622, allocations: 19.94 kB / 336.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.1644, allocations: 457.6 kB / 336.9 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.1665, allocations: 345.5 kB / 337.3 MB, free: 9.531 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.1672, allocations: 187.8 kB / 337.4 MB, free: 9.348 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001552/0.1687, allocations: 1.179 MB / 338.6 MB, free: 8.164 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007385/0.1695, allocations: 463.9 kB / 339.1 MB, free: 7.691 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006523/0.1701, allocations: 442 kB / 339.5 MB, free: 7.258 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007915/0.1709, allocations: 497.7 kB / 340 MB, free: 6.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.1711, allocations: 72 kB / 340.1 MB, free: 6.699 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.1714, allocations: 116 kB / 340.2 MB, free: 6.586 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.1716, allocations: 195.1 kB / 340.4 MB, free: 6.395 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006609/0.1723, allocations: 0.5208 MB / 340.9 MB, free: 5.871 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.1739, allocations: 1.413 MB / 342.3 MB, free: 4.453 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.1739, allocations: 0 / 342.3 MB, free: 4.453 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1739, allocations: 4 kB / 342.3 MB, free: 4.449 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.1739, allocations: 0 / 342.3 MB, free: 4.449 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.003041/0.177, allocations: 1.305 MB / 343.6 MB, free: 3.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.342e-05/0.1771, allocations: 12.03 kB / 343.6 MB, free: 3.078 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006705/0.1778, allocations: 151.5 kB / 343.8 MB, free: 2.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.1791, allocations: 0.6377 MB / 344.4 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-05/0.1792, allocations: 62.38 kB / 344.5 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.1794, allocations: 95.83 kB / 344.6 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.1812, allocations: 0.8184 MB / 345.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.1812, allocations: 0 / 345.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.529e-05/0.1813, allocations: 39.98 kB / 345.4 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.433e-05/0.1814, allocations: 24 kB / 345.4 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.1826, allocations: 0.5387 MB / 346 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005127/0.1878, allocations: 3.57 MB / 349.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007018/0.1885, allocations: 246.5 kB / 349.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.1888, allocations: 120.8 kB / 349.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.1889, allocations: 11.92 kB / 349.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.1889, allocations: 34.56 kB / 349.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 5.41e-06/0.1889, allocations: 0 / 349.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002564/0.1915, allocations: 1.071 MB / 351 MB, free: 11.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.1916, allocations: 89.03 kB / 351.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009924/0.1926, allocations: 0.7546 MB / 351.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.1926, allocations: 29.7 kB / 351.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.1931, allocations: 0.5136 MB / 352.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.1932, allocations: 118.5 kB / 352.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.1934, allocations: 118.1 kB / 352.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002344/0.1936, allocations: 382.8 kB / 353 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.1939, allocations: 133.2 kB / 353.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.1945, allocations: 454.2 kB / 353.6 MB, free: 8.488 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008693/0.1954, allocations: 0.6063 MB / 354.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.1954, allocations: 7.984 kB / 354.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001182/0.1966, allocations: 0.6454 MB / 354.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.1967, allocations: 12.94 kB / 354.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.1967, allocations: 11.94 kB / 354.9 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.1969, allocations: 36.8 kB / 354.9 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005143/0.1975, allocations: 155.7 kB / 355.1 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.1989, allocations: 1.284 MB / 356.3 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/0.1995, allocations: 47.8 kB / 356.4 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.1996, allocations: 35.94 kB / 356.4 MB, free: 5.352 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.000555/0.2001, allocations: 249.5 kB / 356.7 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.2003, allocations: 71.16 kB / 356.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000824/0.2011, allocations: 326.2 kB / 357 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.2011, allocations: 7.984 kB / 357.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2012, allocations: 0 / 357.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.2012, allocations: 0 / 357.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.2032, allocations: 1.133 MB / 358.2 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2032, allocations: 0 / 358.2 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.2035, allocations: 63.89 kB / 358.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.415e-05/0.2036, allocations: 20.86 kB / 358.3 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.2036, allocations: 8 kB / 358.3 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009639/0.2046, allocations: 1.276 MB / 359.6 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.2046, allocations: 4.031 kB / 359.6 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009583/0.2056, allocations: 0.576 MB / 360.1 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/0.2058, allocations: 176.1 kB / 360.3 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.382e-05/0.2059, allocations: 8 kB / 360.3 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.2063, allocations: 27.91 kB / 360.3 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.2063, allocations: 27.91 kB / 360.4 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.2064, allocations: 12 kB / 360.4 MB, free: 1.086 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007327/0.2071, allocations: 0.5147 MB / 360.9 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2071, allocations: 0 / 360.9 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007547/0.2079, allocations: 168 kB / 361.1 MB, free: 420 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.0002624/0.2081, allocations: 119.1 kB / 361.2 MB, free: 292 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.2092, allocations: 484.3 kB / 361.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.2092, allocations: 0 / 361.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.2096, allocations: 238.5 kB / 361.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.2108, allocations: 180.3 kB / 362.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.2137, allocations: 1.817 MB / 363.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008005/0.2146, allocations: 0.9526 MB / 364.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004082/0.215, allocations: 98.16 kB / 364.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.2151, allocations: 51.44 kB / 365 MB, free: 12.39 MB / 318.1 MB Notification: Performance of SimCode: time 1.643e-06/0.2151, allocations: 0 / 365 MB, free: 12.39 MB / 318.1 MB Notification: Performance of Templates: time 0.01948/0.2346, allocations: 8.001 MB / 373 MB, free: 4.391 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)