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.001798/0.001797, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001757/0.001757, allocations: 192 kB / 18 MB, free: 4.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.91/1.91, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001238/0.001238, allocations: 51.92 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1321, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.3277/0.4599, allocations: 7.914 MB / 382.4 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006832/0.4667, allocations: 2.618 MB / 385 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.4685, allocations: 24 kB / 385 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.4704, allocations: 0.4995 MB / 385.5 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.4721, allocations: 396 kB / 385.9 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006191/0.4727, allocations: 225.3 kB / 386.2 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.4742, allocations: 1.227 MB / 387.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007791/0.475, allocations: 0.5336 MB / 387.9 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007624/0.4758, allocations: 479.6 kB / 388.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006591/0.4764, allocations: 0.5175 MB / 388.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.4766, allocations: 115.6 kB / 389 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.477, allocations: 152 kB / 389.2 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.4772, allocations: 239.8 kB / 389.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005524/0.4778, allocations: 0.5608 MB / 390 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.4799, allocations: 1.459 MB / 391.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4799, allocations: 0 / 391.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4799, allocations: 0 / 391.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.4799, allocations: 5.094 kB / 391.4 MB, free: 4.828 MB / 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.002519/0.4824, allocations: 1.308 MB / 392.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.4825, allocations: 10.59 kB / 392.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005689/0.4831, allocations: 145.6 kB / 392.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.4842, allocations: 0.6425 MB / 393.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.4843, allocations: 65.41 kB / 393.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.4844, allocations: 87.53 kB / 393.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.4858, allocations: 0.8202 MB / 394.5 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.4858, allocations: 4.844 kB / 394.5 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.4859, allocations: 37.08 kB / 394.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.4859, allocations: 24.72 kB / 394.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.487, allocations: 0.5365 MB / 395.1 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004829/0.4919, allocations: 3.556 MB / 398.7 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.4925, allocations: 238.5 kB / 398.9 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.4928, allocations: 124.5 kB / 399 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.4928, allocations: 7.484 kB / 399 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.428e-05/0.4929, allocations: 32.66 kB / 399 MB, free: 15.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 4.708e-06/0.4929, allocations: 0 / 399 MB, free: 15.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002765/0.4957, allocations: 1.078 MB / 400.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.4958, allocations: 88.03 kB / 400.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.4971, allocations: 0.763 MB / 401 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.4971, allocations: 31.08 kB / 401 MB, free: 14.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/0.4977, allocations: 0.5096 MB / 401.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.4978, allocations: 117 kB / 401.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.498, allocations: 122.9 kB / 401.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002413/0.4983, allocations: 381.6 kB / 402.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/0.4986, allocations: 127.8 kB / 402.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006102/0.4992, allocations: 452.6 kB / 402.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.5003, allocations: 0.6116 MB / 403.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.5003, allocations: 4.125 kB / 403.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001358/0.5017, allocations: 0.6447 MB / 403.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.5017, allocations: 8.375 kB / 404 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.5017, allocations: 15.38 kB / 404 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.502, allocations: 40.14 kB / 404 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.5025, allocations: 152.6 kB / 404.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.5044, allocations: 1.401 MB / 405.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007132/0.5051, allocations: 37.45 kB / 405.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.287e-05/0.5052, allocations: 36.41 kB / 405.6 MB, free: 11.01 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.0004763/0.5057, allocations: 242.3 kB / 405.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.5058, allocations: 79.7 kB / 405.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009085/0.5067, allocations: 334.8 kB / 406.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.5068, allocations: 3.562 kB / 406.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.5068, allocations: 0 / 406.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.5068, allocations: 3.938 kB / 406.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.5089, allocations: 1.116 MB / 407.4 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.509, allocations: 6.219 kB / 407.4 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/0.5093, allocations: 66.02 kB / 407.5 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.5094, allocations: 24.86 kB / 407.5 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.5094, allocations: 11.36 kB / 407.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.5106, allocations: 1.366 MB / 408.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.5106, allocations: 2.562 kB / 408.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.5118, allocations: 0.5704 MB / 409.4 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.5122, allocations: 182.6 kB / 409.6 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.525e-05/0.5123, allocations: 11.59 kB / 409.6 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.5127, allocations: 22.73 kB / 409.7 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.5128, allocations: 23.12 kB / 409.7 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.5129, allocations: 16 kB / 409.7 MB, free: 7.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001016/0.5139, allocations: 0.5185 MB / 410.2 MB, free: 7.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5139, allocations: 0 / 410.2 MB, free: 7.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009857/0.5149, allocations: 171.1 kB / 410.4 MB, free: 7.297 MB / 334.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.0003041/0.5152, allocations: 109.2 kB / 410.5 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.5165, allocations: 496.7 kB / 411 MB, free: 6.914 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5166, allocations: 0 / 411 MB, free: 6.914 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.517, allocations: 237.8 kB / 411.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.518, allocations: 194.5 kB / 411.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.5209, allocations: 1.459 MB / 412.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.5221, allocations: 0.9514 MB / 413.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000534/0.5227, allocations: 91.48 kB / 413.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.5228, allocations: 53.31 kB / 413.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of SimCode: time 1.393e-06/0.5228, allocations: 3.938 kB / 413.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of Templates: time 0.0226/0.5454, allocations: 8.593 MB / 422.5 MB, free: 14.34 MB / 350.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)