Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00106/0.00106, allocations: 168 kB / 12.72 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.442/1.442, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001761/0.001761, allocations: 99.5 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.712e-05/2.714e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07757/0.07761, allocations: 38.76 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2935/0.3712, allocations: 69.56 MB / 377.2 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.3714, allocations: 69.41 kB / 377.3 MB, free: 6.691 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01429/0.3857, allocations: 5.11 MB / 382.4 MB, free: 2.324 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3858, allocations: 0 / 382.4 MB, free: 2.324 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.057e-05/0.3858, allocations: 8 kB / 382.4 MB, free: 2.316 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007725/0.3866, allocations: 0.5192 MB / 382.9 MB, free: 1.758 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.3867, allocations: 8.25 kB / 382.9 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.3868, allocations: 27.72 kB / 382.9 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.3872, allocations: 241 kB / 383.2 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.3873, allocations: 18.28 kB / 383.2 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.3873, allocations: 18.88 kB / 383.2 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.3877, allocations: 148.8 kB / 383.3 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3877, allocations: 3.906 kB / 383.3 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.3877, allocations: 7.25 kB / 383.4 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.3877, allocations: 4 kB / 383.4 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.388, allocations: 121 kB / 383.5 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009415/0.3889, allocations: 0.573 MB / 384 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.3892, allocations: 153.1 kB / 384.2 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.3894, allocations: 80.66 kB / 384.3 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.3894, allocations: 0 / 384.3 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.3896, allocations: 108.1 kB / 384.4 MB, free: 444 kB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.3896, allocations: 0 / 384.4 MB, free: 444 kB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003512/0.39, allocations: 170.3 kB / 384.5 MB, free: 300 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.39, allocations: 55.41 kB / 384.6 MB, free: 232 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.3903, allocations: 227.7 kB / 384.8 MB, free: 32 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.3904, allocations: 33.38 kB / 384.9 MB, free: 15.99 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.3904, allocations: 142 kB / 385 MB, free: 15.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.3905, allocations: 70.39 kB / 385.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.3905, allocations: 3.688 kB / 385.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3907, allocations: 334.1 kB / 385.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.596e-05/0.3908, allocations: 53.62 kB / 385.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.3909, allocations: 80.48 kB / 385.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.391, allocations: 95.56 kB / 385.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3911, allocations: 7.938 kB / 385.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003352/0.3914, allocations: 242 kB / 385.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.3915, allocations: 37.27 kB / 385.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3915, allocations: 0 / 385.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3915, allocations: 4 kB / 385.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.3917, allocations: 39.92 kB / 385.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.3917, allocations: 0 / 385.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.3918, allocations: 31.36 kB / 386 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.3919, allocations: 16 kB / 386 MB, free: 14.97 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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 8.741e-05/0.3919, allocations: 120.1 kB / 386.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.392, allocations: 19.81 kB / 386.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003522/0.3924, allocations: 193.1 kB / 386.3 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.3924, allocations: 4 kB / 386.3 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.3924, allocations: 0 / 386.3 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3924, allocations: 0 / 386.3 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.3927, allocations: 291.9 kB / 386.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3927, allocations: 7.938 kB / 386.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.3929, allocations: 35.61 kB / 386.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3929, allocations: 3.953 kB / 386.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.393, allocations: 7.688 kB / 386.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.393, allocations: 0 / 386.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.393, allocations: 0 / 386.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.3934, allocations: 268.6 kB / 386.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.3935, allocations: 108.3 kB / 387 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.3935, allocations: 11.39 kB / 387 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.3936, allocations: 8 kB / 387 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.3937, allocations: 14.97 kB / 387.1 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.3937, allocations: 4 kB / 387.1 MB, free: 13.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001824/0.3939, allocations: 194.9 kB / 387.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3939, allocations: 0 / 387.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.3941, allocations: 66.31 kB / 387.3 MB, free: 13.76 MB / 282.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: 2 ($whenCondition1,lossTable.nextTimeEvent) * Number of discrete states: 1 (lossTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006672/0.3948, allocations: 300.2 kB / 387.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.3951, allocations: 209.2 kB / 387.8 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3951, allocations: 3.938 kB / 387.8 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.3953, allocations: 68.7 kB / 387.9 MB, free: 13.24 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.3955, allocations: 43.17 kB / 387.9 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007533/0.3963, allocations: 423.7 kB / 388.3 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.3967, allocations: 0.7554 MB / 389.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.384e-05/0.3968, allocations: 21.55 kB / 389.1 MB, free: 12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.3968, allocations: 27.42 kB / 389.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3969, allocations: 0 / 389.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of Templates: time 0.005641/0.4025, allocations: 2.495 MB / 391.6 MB, free: 9.488 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1)