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.001858/0.001858, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.489/1.489, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001678/0.001678, allocations: 112.1 kB / 248.1 MB, free: 6.324 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.495e-05/1.497e-05, allocations: 0 / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 44.49 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3253/0.4297, allocations: 73.77 MB / 416.3 MB, free: 22.11 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.43, allocations: 71.59 kB / 416.4 MB, free: 22.08 MB / 315.1 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.01248/0.4425, allocations: 5.169 MB / 421.6 MB, free: 17.82 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4425, allocations: 4 kB / 421.6 MB, free: 17.82 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.4426, allocations: 4 kB / 421.6 MB, free: 17.81 MB / 315.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.0005829/0.4432, allocations: 0.5424 MB / 422.1 MB, free: 17.23 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4432, allocations: 8.031 kB / 422.1 MB, free: 17.23 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.4434, allocations: 27.72 kB / 422.2 MB, free: 17.2 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.4437, allocations: 260.4 kB / 422.4 MB, free: 16.92 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.4437, allocations: 6.953 kB / 422.4 MB, free: 16.92 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.4437, allocations: 13.88 kB / 422.4 MB, free: 16.91 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002166/0.444, allocations: 109.6 kB / 422.5 MB, free: 16.83 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.4442, allocations: 148.1 kB / 422.7 MB, free: 16.71 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.4442, allocations: 2.688 kB / 422.7 MB, free: 16.71 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.4442, allocations: 0 / 422.7 MB, free: 16.71 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.4443, allocations: 4 kB / 422.7 MB, free: 16.71 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007148/0.445, allocations: 0.5535 MB / 423.2 MB, free: 16.21 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.4452, allocations: 152.4 kB / 423.4 MB, free: 16.09 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.4453, allocations: 83.28 kB / 423.5 MB, free: 16.04 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.4454, allocations: 4 kB / 423.5 MB, free: 16.03 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.4455, allocations: 120.8 kB / 423.6 MB, free: 15.93 MB / 315.1 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.4456, allocations: 0 / 423.6 MB, free: 15.93 MB / 315.1 MB Notification: Performance of matching and sorting (n=20): time 0.0002881/0.4458, allocations: 174.1 kB / 423.8 MB, free: 15.79 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.4459, allocations: 55.41 kB / 423.8 MB, free: 15.72 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.4461, allocations: 204.4 kB / 424 MB, free: 15.54 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.4461, allocations: 25.7 kB / 424 MB, free: 15.51 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.4461, allocations: 145.1 kB / 424.2 MB, free: 15.39 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.4462, allocations: 68.95 kB / 424.3 MB, free: 15.33 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.4462, allocations: 7.938 kB / 424.3 MB, free: 15.32 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.4463, allocations: 329.4 kB / 424.6 MB, free: 15 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.399e-05/0.4464, allocations: 67.69 kB / 424.6 MB, free: 14.96 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.4465, allocations: 92.28 kB / 424.7 MB, free: 14.89 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.4466, allocations: 73.31 kB / 424.8 MB, free: 14.84 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4466, allocations: 4 kB / 424.8 MB, free: 14.84 MB / 315.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002897/0.4469, allocations: 225.8 kB / 425 MB, free: 14.66 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.4469, allocations: 37.83 kB / 425.1 MB, free: 14.62 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.447, allocations: 0 / 425.1 MB, free: 14.62 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.447, allocations: 11.94 kB / 425.1 MB, free: 14.61 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.4472, allocations: 43.92 kB / 425.1 MB, free: 14.57 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.4472, allocations: 4.656 kB / 425.1 MB, free: 14.56 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.4473, allocations: 23.92 kB / 425.2 MB, free: 14.54 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.4474, allocations: 11.25 kB / 425.2 MB, free: 14.53 MB / 315.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 ($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.499e-05/0.4474, allocations: 108.9 kB / 425.3 MB, free: 14.42 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.4475, allocations: 23.72 kB / 425.3 MB, free: 14.39 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.4478, allocations: 192.9 kB / 425.5 MB, free: 14.25 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4478, allocations: 4 kB / 425.5 MB, free: 14.25 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4478, allocations: 3.953 kB / 425.5 MB, free: 14.25 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4478, allocations: 0 / 425.5 MB, free: 14.25 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.448, allocations: 258.3 kB / 425.7 MB, free: 13.99 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.448, allocations: 0 / 425.7 MB, free: 13.99 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.4482, allocations: 43.17 kB / 425.8 MB, free: 13.95 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4482, allocations: 1.812 kB / 425.8 MB, free: 13.95 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.4482, allocations: 7.984 kB / 425.8 MB, free: 13.95 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4482, allocations: 0 / 425.8 MB, free: 13.95 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4482, allocations: 0 / 425.8 MB, free: 13.95 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.4486, allocations: 282.5 kB / 426.1 MB, free: 13.72 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.4487, allocations: 125.7 kB / 426.2 MB, free: 13.59 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.4487, allocations: 4 kB / 426.2 MB, free: 13.59 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.4488, allocations: 4 kB / 426.2 MB, free: 13.58 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.4489, allocations: 15.91 kB / 426.2 MB, free: 13.57 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.4489, allocations: 11.94 kB / 426.2 MB, free: 13.56 MB / 315.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.449, allocations: 163.5 kB / 426.4 MB, free: 13.43 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.449, allocations: 0 / 426.4 MB, free: 13.43 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.000267/0.4493, allocations: 67.84 kB / 426.5 MB, free: 13.36 MB / 315.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.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.0007352/0.45, allocations: 333.2 kB / 426.8 MB, free: 13.11 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0002986/0.4503, allocations: 244.8 kB / 427 MB, free: 12.91 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4503, allocations: 0 / 427 MB, free: 12.91 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 9.296e-05/0.4504, allocations: 74.12 kB / 427.1 MB, free: 12.86 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.4507, allocations: 28.19 kB / 427.1 MB, free: 12.84 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000729/0.4515, allocations: 418.7 kB / 427.5 MB, free: 12.46 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.4517, allocations: 0.7552 MB / 428.3 MB, free: 11.68 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 9.554e-05/0.4518, allocations: 25.8 kB / 428.3 MB, free: 11.65 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.4518, allocations: 23.42 kB / 428.3 MB, free: 11.63 MB / 315.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4518, allocations: 0 / 428.3 MB, free: 11.63 MB / 315.1 MB Notification: Performance of Templates: time 0.004795/0.4566, allocations: 2.407 MB / 430.7 MB, free: 9.25 MB / 315.1 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)