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.01523/0.01523, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001677/0.001677, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.761/1.761, allocations: 205.1 MB / 222.5 MB, free: 12.24 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.001255/0.001255, allocations: 47.92 kB / 326.6 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1458, allocations: 46.61 MB / 373.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.2653/0.4111, allocations: 7.919 MB / 381.1 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005643/0.4168, allocations: 2.616 MB / 383.7 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.4182, allocations: 20.09 kB / 383.7 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.42, allocations: 0.5308 MB / 384.2 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.4215, allocations: 430.8 kB / 384.7 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.4222, allocations: 223.5 kB / 384.9 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001785/0.424, allocations: 1.228 MB / 386.1 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009853/0.425, allocations: 0.5343 MB / 386.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.4261, allocations: 483.6 kB / 387.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008041/0.4269, allocations: 0.5179 MB / 387.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000201/0.4271, allocations: 115.3 kB / 387.8 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004719/0.4276, allocations: 154.8 kB / 387.9 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.4278, allocations: 237.5 kB / 388.1 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005157/0.4283, allocations: 0.5582 MB / 388.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.4302, allocations: 1.456 MB / 390.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4302, allocations: 2.016 kB / 390.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.4302, allocations: 4 kB / 390.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.301e-05/0.4302, allocations: 3.938 kB / 390.2 MB, free: 4.777 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.00228/0.4325, allocations: 1.311 MB / 391.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.4326, allocations: 9.781 kB / 391.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005472/0.4331, allocations: 145.6 kB / 391.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.4343, allocations: 0.6452 MB / 392.3 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/0.4343, allocations: 64.56 kB / 392.3 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.4345, allocations: 87.88 kB / 392.4 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.4359, allocations: 0.8191 MB / 393.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.4359, allocations: 2.844 kB / 393.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/0.436, allocations: 32.31 kB / 393.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.436, allocations: 20.25 kB / 393.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.437, allocations: 0.545 MB / 393.8 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004279/0.4413, allocations: 3.557 MB / 397.4 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005575/0.4419, allocations: 241.6 kB / 397.6 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.4422, allocations: 124.4 kB / 397.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.4423, allocations: 6.625 kB / 397.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.4423, allocations: 37.89 kB / 397.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 4.379e-06/0.4423, allocations: 0 / 397.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002397/0.4447, allocations: 1.067 MB / 398.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.4448, allocations: 88.05 kB / 398.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.4458, allocations: 0.7646 MB / 399.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.4459, allocations: 31.08 kB / 399.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.4463, allocations: 0.5109 MB / 400.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.361e-05/0.4464, allocations: 120.2 kB / 400.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.4465, allocations: 123 kB / 400.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4467, allocations: 383.4 kB / 400.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.447, allocations: 133.6 kB / 401 MB, free: 13.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.4475, allocations: 448 kB / 401.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008498/0.4483, allocations: 0.6097 MB / 402 MB, free: 12.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.4483, allocations: 2 kB / 402 MB, free: 12.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001161/0.4495, allocations: 0.6523 MB / 402.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.4495, allocations: 9.156 kB / 402.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.4496, allocations: 15.34 kB / 402.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/0.4498, allocations: 36.66 kB / 402.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/0.4504, allocations: 152.1 kB / 402.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.4515, allocations: 1.396 MB / 404.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005625/0.4521, allocations: 41.53 kB / 404.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.4521, allocations: 32.38 kB / 404.4 MB, free: 10.95 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.0003951/0.4525, allocations: 246.4 kB / 404.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.4526, allocations: 75.86 kB / 404.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007515/0.4534, allocations: 335 kB / 405 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4534, allocations: 3.469 kB / 405 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.4534, allocations: 0 / 405 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.4534, allocations: 5.125 kB / 405 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.4554, allocations: 1.118 MB / 406.1 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.4555, allocations: 6.531 kB / 406.1 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.4558, allocations: 62.61 kB / 406.2 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-05/0.4559, allocations: 20.3 kB / 406.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.4559, allocations: 12.14 kB / 406.2 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000989/0.4569, allocations: 1.369 MB / 407.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.4569, allocations: 5.344 kB / 407.6 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.4579, allocations: 0.5714 MB / 408.2 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.4582, allocations: 181.5 kB / 408.4 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.796e-05/0.4583, allocations: 8.344 kB / 408.4 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.4586, allocations: 23.92 kB / 408.4 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.4587, allocations: 22.38 kB / 408.4 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.4588, allocations: 11.72 kB / 408.4 MB, free: 7.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007856/0.4595, allocations: 0.5181 MB / 408.9 MB, free: 7.258 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4596, allocations: 1.062 kB / 408.9 MB, free: 7.258 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008407/0.4604, allocations: 174.1 kB / 409.1 MB, free: 7.238 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.0002516/0.4607, allocations: 114.1 kB / 409.2 MB, free: 7.137 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.4619, allocations: 483.9 kB / 409.7 MB, free: 6.863 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4619, allocations: 3.938 kB / 409.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004364/0.4623, allocations: 242.7 kB / 409.9 MB, free: 6.688 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.4633, allocations: 192.3 kB / 410.1 MB, free: 6.586 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.4662, allocations: 1.46 MB / 411.6 MB, free: 5.617 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000793/0.467, allocations: 0.9523 MB / 412.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004309/0.4675, allocations: 91.55 kB / 412.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.4676, allocations: 49.09 kB / 412.7 MB, free: 4.75 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4676, allocations: 0 / 412.7 MB, free: 4.75 MB / 334.1 MB Notification: Performance of Templates: time 0.02203/0.4897, allocations: 8.597 MB / 421.3 MB, free: 14.26 MB / 350.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)