Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.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.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009592/0.0009591, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009107/0.009107, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.62/1.62, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004903/0.0004904, allocations: 12.42 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2485, allocations: 47.59 MB / 327 MB, free: 1.742 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002287/0.2509, allocations: 1.921 MB / 328.9 MB, free: 224 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.2525, allocations: 0.9342 MB / 329.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.2526, allocations: 3 kB / 329.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.2529, allocations: 81.8 kB / 330 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.2532, allocations: 109.5 kB / 330.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.2536, allocations: 111.9 kB / 330.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.2539, allocations: 270.8 kB / 330.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.2541, allocations: 82.88 kB / 330.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.2543, allocations: 98.19 kB / 330.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.2545, allocations: 109.4 kB / 330.7 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.2545, allocations: 9.312 kB / 330.7 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.2546, allocations: 42.7 kB / 330.8 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.2547, allocations: 45.94 kB / 330.8 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.2549, allocations: 141.8 kB / 331 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.2552, allocations: 266.3 kB / 331.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2552, allocations: 0 / 331.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2552, allocations: 0.875 kB / 331.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.2552, allocations: 0 / 331.2 MB, free: 14.62 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007276/0.256, allocations: 0.4964 MB / 331.7 MB, free: 14.15 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.256, allocations: 9.5 kB / 331.7 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.2562, allocations: 35.8 kB / 331.8 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.2565, allocations: 247 kB / 332 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.2565, allocations: 11.69 kB / 332 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.2566, allocations: 23.72 kB / 332 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.2569, allocations: 169.3 kB / 332.2 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.257, allocations: 1 kB / 332.2 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.257, allocations: 9.25 kB / 332.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.257, allocations: 4.062 kB / 332.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.2572, allocations: 114.7 kB / 332.3 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008855/0.2581, allocations: 0.5611 MB / 332.9 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.2585, allocations: 166.1 kB / 333.1 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.2587, allocations: 92.86 kB / 333.1 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.2587, allocations: 3.25 kB / 333.1 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002785/0.259, allocations: 110.4 kB / 333.3 MB, free: 12.97 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.259, allocations: 3.938 kB / 333.3 MB, free: 12.96 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005316/0.2596, allocations: 246.7 kB / 333.5 MB, free: 12.83 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.2596, allocations: 53.53 kB / 333.6 MB, free: 12.77 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.2599, allocations: 254.2 kB / 333.8 MB, free: 12.6 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.2599, allocations: 32.14 kB / 333.8 MB, free: 12.56 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2601, allocations: 142.9 kB / 334 MB, free: 12.43 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.229e-05/0.2601, allocations: 63.72 kB / 334 MB, free: 12.38 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.2602, allocations: 28.39 kB / 334.1 MB, free: 12.35 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2603, allocations: 336.1 kB / 334.4 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.2605, allocations: 54.61 kB / 334.4 MB, free: 11.97 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.2606, allocations: 83.41 kB / 334.5 MB, free: 11.88 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.2609, allocations: 143.3 kB / 334.7 MB, free: 11.73 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2609, allocations: 4 kB / 334.7 MB, free: 11.72 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003355/0.2612, allocations: 205.2 kB / 334.9 MB, free: 11.52 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2612, allocations: 8 kB / 334.9 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2613, allocations: 0 / 334.9 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.2613, allocations: 8 kB / 334.9 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.2615, allocations: 43.97 kB / 334.9 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.2615, allocations: 7.875 kB / 334.9 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.2617, allocations: 31.78 kB / 335 MB, free: 11.42 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.2617, allocations: 8 kB / 335 MB, free: 11.41 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.lossTable.nextTimeEvent,$whenCondition1,lossTable.nextTimeEventScaled,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.2618, allocations: 145.8 kB / 335.1 MB, free: 11.26 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.2619, allocations: 19.81 kB / 335.1 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.289e-05/0.2619, allocations: 26.17 kB / 335.2 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.262, allocations: 4 kB / 335.2 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.262, allocations: 3.938 kB / 335.2 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.262, allocations: 0 / 335.2 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.2623, allocations: 285.4 kB / 335.4 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2623, allocations: 4 kB / 335.4 MB, free: 10.87 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.2625, allocations: 35.92 kB / 335.5 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2625, allocations: 4 kB / 335.5 MB, free: 10.83 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.2625, allocations: 4 kB / 335.5 MB, free: 10.83 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.2625, allocations: 7.984 kB / 335.5 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2625, allocations: 3.938 kB / 335.5 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.263, allocations: 284.7 kB / 335.8 MB, free: 10.52 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.2631, allocations: 96.8 kB / 335.9 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.2632, allocations: 12.06 kB / 335.9 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/0.2632, allocations: 11.92 kB / 335.9 MB, free: 10.38 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.2633, allocations: 11.98 kB / 335.9 MB, free: 10.37 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.2633, allocations: 8 kB / 335.9 MB, free: 10.36 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.2635, allocations: 184.5 kB / 336.1 MB, free: 10.18 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2635, allocations: 0 / 336.1 MB, free: 10.18 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.2638, allocations: 63.86 kB / 336.2 MB, free: 10.12 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009482/0.2647, allocations: 417.4 kB / 336.6 MB, free: 9.711 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002957/0.265, allocations: 144 kB / 336.7 MB, free: 9.57 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2651, allocations: 0 / 336.7 MB, free: 9.57 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.2652, allocations: 75.86 kB / 336.8 MB, free: 9.496 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.2655, allocations: 52.52 kB / 336.8 MB, free: 9.445 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.2666, allocations: 0.6639 MB / 337.5 MB, free: 8.758 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.2669, allocations: 0.7482 MB / 338.2 MB, free: 7.984 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.267, allocations: 25.94 kB / 338.3 MB, free: 7.961 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.2671, allocations: 23.44 kB / 338.3 MB, free: 7.938 MB / 270.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2671, allocations: 0 / 338.3 MB, free: 7.938 MB / 270.1 MB Notification: Performance of Templates: time 0.005957/0.2731, allocations: 2.518 MB / 340.8 MB, free: 5.418 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1)