Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.006101/0.006101, allocations: 100.9 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.001337/0.001337, allocations: 186.9 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.815/1.815, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001404/0.001404, allocations: 50.42 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1413, allocations: 46.63 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01064/0.152, allocations: 7.919 MB / 381.1 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007171/0.1592, allocations: 2.622 MB / 383.7 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.1614, allocations: 20 kB / 383.7 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.1632, allocations: 0.5007 MB / 384.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001755/0.165, allocations: 396.8 kB / 384.6 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007558/0.1658, allocations: 223.6 kB / 384.8 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001898/0.1677, allocations: 1.23 MB / 386.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007843/0.1685, allocations: 0.5292 MB / 386.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000788/0.1693, allocations: 486 kB / 387.1 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007302/0.17, allocations: 0.5173 MB / 387.6 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.1702, allocations: 112 kB / 387.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.1706, allocations: 156 kB / 387.9 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.1708, allocations: 239.1 kB / 388.1 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000659/0.1715, allocations: 0.5676 MB / 388.7 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.1736, allocations: 1.456 MB / 390.1 MB, free: 296 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.1736, allocations: 0 / 390.1 MB, free: 296 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.878e-06/0.1737, allocations: 0 / 390.1 MB, free: 296 kB / 318.1 MB Notification: Performance of Transformations before backend: time 2.179e-05/0.1737, allocations: 4 kB / 390.1 MB, free: 292 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.003059/0.1768, allocations: 1.309 MB / 391.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.1768, allocations: 8.031 kB / 391.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005724/0.1774, allocations: 147.6 kB / 391.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.1786, allocations: 0.6454 MB / 392.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.295e-05/0.1787, allocations: 62.38 kB / 392.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.1788, allocations: 87.94 kB / 392.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.1802, allocations: 0.8223 MB / 393.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.1803, allocations: 3.938 kB / 393.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.3e-05/0.1804, allocations: 39.98 kB / 393.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.1804, allocations: 20 kB / 393.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.1816, allocations: 0.5426 MB / 393.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005375/0.187, allocations: 3.554 MB / 397.3 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007155/0.1878, allocations: 238.6 kB / 397.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.1881, allocations: 124.7 kB / 397.7 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.1882, allocations: 4 kB / 397.7 MB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.1883, allocations: 38.56 kB / 397.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 3.366e-06/0.1883, allocations: 0 / 397.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.003068/0.1913, allocations: 1.073 MB / 398.8 MB, free: 7.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.1915, allocations: 85.05 kB / 398.9 MB, free: 7.016 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.1927, allocations: 0.7623 MB / 399.7 MB, free: 6.246 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.1927, allocations: 29.7 kB / 399.7 MB, free: 6.211 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/0.1932, allocations: 0.5136 MB / 400.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.711e-05/0.1933, allocations: 110.5 kB / 400.3 MB, free: 5.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.1935, allocations: 122.2 kB / 400.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.1937, allocations: 386.8 kB / 400.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.1941, allocations: 125.2 kB / 400.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/0.1946, allocations: 446.2 kB / 401.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009623/0.1956, allocations: 0.6141 MB / 402 MB, free: 3.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.1956, allocations: 11.94 kB / 402 MB, free: 3.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00121/0.1969, allocations: 0.6421 MB / 402.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.1969, allocations: 11.94 kB / 402.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.1969, allocations: 15.94 kB / 402.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000263/0.1972, allocations: 36.84 kB / 402.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.1977, allocations: 147.7 kB / 402.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.1991, allocations: 1.394 MB / 404.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007093/0.1998, allocations: 43.98 kB / 404.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.1999, allocations: 32 kB / 404.3 MB, free: 1.117 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.000495/0.2004, allocations: 249.5 kB / 404.6 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.2005, allocations: 75.06 kB / 404.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007137/0.2012, allocations: 337.9 kB / 405 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2013, allocations: 4 kB / 405 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.2013, allocations: 0 / 405 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2013, allocations: 3.984 kB / 405 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.2033, allocations: 1.117 MB / 406.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/0.2033, allocations: 7.984 kB / 406.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.2036, allocations: 59.91 kB / 406.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001227/0.2038, allocations: 29.06 kB / 406.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.2038, allocations: 11.94 kB / 406.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.2052, allocations: 1.367 MB / 407.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2052, allocations: 0 / 407.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.2063, allocations: 0.5648 MB / 408.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/0.2067, allocations: 184.1 kB / 408.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.632e-05/0.2068, allocations: 8 kB / 408.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.2071, allocations: 19.98 kB / 408.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.861e-05/0.2073, allocations: 23.97 kB / 408.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.2073, allocations: 19.98 kB / 408.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009077/0.2082, allocations: 0.5108 MB / 408.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2082, allocations: 4 kB / 408.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001027/0.2092, allocations: 175.9 kB / 409.1 MB, free: 12.07 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.000355/0.2096, allocations: 111.2 kB / 409.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.211, allocations: 488.6 kB / 409.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.998e-06/0.211, allocations: 4.25 kB / 409.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004385/0.2115, allocations: 242.4 kB / 409.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.2125, allocations: 187.6 kB / 410.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.2161, allocations: 1.463 MB / 411.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007172/0.2168, allocations: 0.9525 MB / 412.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004716/0.2173, allocations: 90.19 kB / 412.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.2175, allocations: 55.44 kB / 412.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of SimCode: time 3.446e-06/0.2175, allocations: 0 / 412.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of Templates: time 0.02229/0.2398, allocations: 8.575 MB / 421.2 MB, free: 15.79 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1)