Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009884/0.0009884, allocations: 184.3 kB / 13.65 MB, free: 1.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.577/1.577, allocations: 194.2 MB / 208.4 MB, free: 6.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001673/0.001673, allocations: 116.7 kB / 253.5 MB, free: 9.539 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.393e-05/2.395e-05, allocations: 0 / 304.9 MB, free: 29.8 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09084, allocations: 44.51 MB / 349.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3307/0.4216, allocations: 74.43 MB / 423.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.4218, allocations: 78.19 kB / 423.9 MB, free: 10.93 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$lossTable.getTableValueNoDer. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$lossTable.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$lossTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01286/0.4347, allocations: 5.194 MB / 429.1 MB, free: 9.266 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4347, allocations: 0 / 429.1 MB, free: 9.266 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.4347, allocations: 7.75 kB / 429.1 MB, free: 9.262 MB / 298.7 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.0005871/0.4353, allocations: 0.5489 MB / 429.7 MB, free: 8.742 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.4354, allocations: 11.53 kB / 429.7 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.4355, allocations: 27.25 kB / 429.7 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.4358, allocations: 251.1 kB / 430 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.4359, allocations: 14.09 kB / 430 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.4359, allocations: 17.81 kB / 430 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.4362, allocations: 167.4 kB / 430.2 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.4362, allocations: 0 / 430.2 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.4363, allocations: 7.25 kB / 430.2 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4363, allocations: 3.656 kB / 430.2 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.4365, allocations: 121.1 kB / 430.3 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007756/0.4373, allocations: 0.5951 MB / 430.9 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.4375, allocations: 164.5 kB / 431.1 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.4376, allocations: 94.12 kB / 431.2 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.4377, allocations: 0 / 431.2 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.4379, allocations: 118.5 kB / 431.3 MB, free: 7.895 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.4379, allocations: 0 / 431.3 MB, free: 7.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003196/0.4382, allocations: 189.9 kB / 431.5 MB, free: 7.828 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.4382, allocations: 55.38 kB / 431.5 MB, free: 7.766 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.4384, allocations: 222.9 kB / 431.7 MB, free: 7.652 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.4385, allocations: 33.42 kB / 431.8 MB, free: 7.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.4386, allocations: 141.1 kB / 431.9 MB, free: 7.516 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.4386, allocations: 76.69 kB / 432 MB, free: 7.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.4386, allocations: 7.875 kB / 432 MB, free: 7.457 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/0.4387, allocations: 334.1 kB / 432.3 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.4388, allocations: 66.91 kB / 432.4 MB, free: 7.129 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.4389, allocations: 102.4 kB / 432.5 MB, free: 7.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.4391, allocations: 116.1 kB / 432.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4391, allocations: 0 / 432.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003316/0.4394, allocations: 281.7 kB / 432.9 MB, free: 6.938 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.4395, allocations: 37.31 kB / 432.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4395, allocations: 0 / 432.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.4395, allocations: 3.844 kB / 432.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.4397, allocations: 49.72 kB / 432.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.4397, allocations: 3.844 kB / 432.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.4398, allocations: 26.94 kB / 433 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.4399, allocations: 11.03 kB / 433 MB, free: 6.879 MB / 298.7 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 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.469e-05/0.4399, allocations: 112.5 kB / 433.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.44, allocations: 31.06 kB / 433.1 MB, free: 6.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.4403, allocations: 211.6 kB / 433.3 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4403, allocations: 3.844 kB / 433.3 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.4403, allocations: 7.969 kB / 433.3 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.4403, allocations: 4 kB / 433.3 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.4406, allocations: 292.1 kB / 433.6 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4406, allocations: 3.875 kB / 433.6 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.4407, allocations: 38.14 kB / 433.7 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4408, allocations: 3.938 kB / 433.7 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.4408, allocations: 3.953 kB / 433.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4408, allocations: 7.797 kB / 433.7 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4408, allocations: 3.984 kB / 433.7 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.4412, allocations: 308 kB / 434 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/0.4413, allocations: 122.9 kB / 434.1 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.4413, allocations: 3.125 kB / 434.1 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/0.4414, allocations: 15.17 kB / 434.1 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.4414, allocations: 11.81 kB / 434.1 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.4415, allocations: 7.5 kB / 434.2 MB, free: 6.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001255/0.4416, allocations: 181.3 kB / 434.3 MB, free: 6.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4416, allocations: 0 / 434.3 MB, free: 6.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.4419, allocations: 72.25 kB / 434.4 MB, free: 6.082 MB / 298.7 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.nextTimeEvent,lossTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007923/0.4427, allocations: 354.8 kB / 434.7 MB, free: 5.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.443, allocations: 250.9 kB / 435 MB, free: 5.719 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.443, allocations: 0 / 435 MB, free: 5.719 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.4431, allocations: 79.31 kB / 435.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.4434, allocations: 37.77 kB / 435.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/0.4441, allocations: 438.8 kB / 435.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.4443, allocations: 0.761 MB / 436.3 MB, free: 4.691 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.763e-05/0.4444, allocations: 28.75 kB / 436.3 MB, free: 4.684 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.4444, allocations: 18.94 kB / 436.3 MB, free: 4.676 MB / 298.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4444, allocations: 0 / 436.3 MB, free: 4.676 MB / 298.7 MB Notification: Performance of Templates: time 0.00514/0.4496, allocations: 2.664 MB / 439 MB, free: 3.344 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1)