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/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.1_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.1_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.01162/0.01162, allocations: 105.3 kB / 15.73 MB, free: 6.043 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.002031/0.002031, allocations: 191.1 kB / 16.67 MB, free: 5.977 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 / 222.5 MB, free: 4.504 MB / 174.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.001618/0.001618, allocations: 51.44 kB / 326.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1327, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01046/0.1433, allocations: 7.915 MB / 381.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005479/0.1488, allocations: 2.618 MB / 383.7 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008219/0.1497, allocations: 23.94 kB / 383.7 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.1514, allocations: 0.5281 MB / 384.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.1527, allocations: 424.8 kB / 384.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.1533, allocations: 223.6 kB / 384.9 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.1549, allocations: 1.237 MB / 386.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000791/0.1557, allocations: 0.537 MB / 386.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007221/0.1564, allocations: 482.1 kB / 387.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007019/0.1571, allocations: 0.5211 MB / 387.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.1573, allocations: 112 kB / 387.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.1576, allocations: 156 kB / 387.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.1578, allocations: 235.2 kB / 388.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005968/0.1584, allocations: 0.5637 MB / 388.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.1602, allocations: 1.456 MB / 390.2 MB, free: 224 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.1602, allocations: 4 kB / 390.2 MB, free: 220 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1602, allocations: 0 / 390.2 MB, free: 220 kB / 318.1 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.1603, allocations: 0 / 390.2 MB, free: 220 kB / 318.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.002596/0.1629, allocations: 1.313 MB / 391.5 MB, free: 14.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1629, allocations: 8.031 kB / 391.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005201/0.1634, allocations: 143.6 kB / 391.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.1645, allocations: 0.6494 MB / 392.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/0.1646, allocations: 62.38 kB / 392.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.1647, allocations: 87.94 kB / 392.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.1664, allocations: 0.8223 MB / 393.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.1665, allocations: 0 / 393.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-05/0.1666, allocations: 32 kB / 393.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.1666, allocations: 23.94 kB / 393.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.168, allocations: 0.5504 MB / 393.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006991/0.175, allocations: 3.55 MB / 397.4 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000821/0.1759, allocations: 238.6 kB / 397.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.1762, allocations: 124.7 kB / 397.8 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.1763, allocations: 4 kB / 397.8 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.1763, allocations: 38.56 kB / 397.8 MB, free: 8.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 3.646e-06/0.1763, allocations: 0 / 397.8 MB, free: 8.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002781/0.1791, allocations: 1.065 MB / 398.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.898e-05/0.1792, allocations: 85.05 kB / 399 MB, free: 6.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.1805, allocations: 0.7623 MB / 399.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.1805, allocations: 29.7 kB / 399.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/0.181, allocations: 0.5175 MB / 400.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.1812, allocations: 114.4 kB / 400.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.1813, allocations: 118.2 kB / 400.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.1816, allocations: 382.8 kB / 400.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.1819, allocations: 133.2 kB / 401 MB, free: 4.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005103/0.1824, allocations: 450.2 kB / 401.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000907/0.1833, allocations: 0.6179 MB / 402.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.1833, allocations: 4 kB / 402.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001352/0.1847, allocations: 0.6416 MB / 402.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.1847, allocations: 8 kB / 402.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/0.1848, allocations: 16.81 kB / 402.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/0.185, allocations: 36.84 kB / 402.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.1856, allocations: 155.7 kB / 402.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.1873, allocations: 1.39 MB / 404.3 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007903/0.1881, allocations: 39.89 kB / 404.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.1882, allocations: 35.94 kB / 404.4 MB, free: 1.047 MB / 334.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.000564/0.1887, allocations: 253.5 kB / 404.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.1889, allocations: 75.06 kB / 404.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008232/0.1897, allocations: 330 kB / 405 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1897, allocations: 0 / 405 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1898, allocations: 4 kB / 405 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1898, allocations: 3.938 kB / 405 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.1916, allocations: 1.121 MB / 406.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.1917, allocations: 4 kB / 406.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.192, allocations: 59.89 kB / 406.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.1921, allocations: 24.84 kB / 406.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.1921, allocations: 8 kB / 406.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.1932, allocations: 1.371 MB / 407.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1932, allocations: 0 / 407.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.1942, allocations: 0.5688 MB / 408.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.1945, allocations: 180.1 kB / 408.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.3e-05/0.1946, allocations: 8 kB / 408.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.195, allocations: 19.98 kB / 408.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.1951, allocations: 31.91 kB / 408.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.1951, allocations: 15.98 kB / 408.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008058/0.1959, allocations: 0.5147 MB / 408.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1959, allocations: 0 / 408.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007826/0.1967, allocations: 179.9 kB / 409.1 MB, free: 12 MB / 350.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.000277/0.197, allocations: 115.2 kB / 409.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.1981, allocations: 480.1 kB / 409.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1981, allocations: 0 / 409.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.1985, allocations: 251.7 kB / 409.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009762/0.1995, allocations: 195 kB / 410.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.2024, allocations: 1.459 MB / 411.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/0.2031, allocations: 0.9526 MB / 412.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003755/0.2035, allocations: 90.17 kB / 412.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.2036, allocations: 51.44 kB / 412.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2036, allocations: 0 / 412.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of Templates: time 0.02119/0.2248, allocations: 8.579 MB / 421.3 MB, free: 15.71 MB / 366.1 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)