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.005359/0.005359, allocations: 165.4 kB / 15.11 MB, free: 5.973 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.369/1.369, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001639/0.001639, allocations: 107.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003322, allocations: 8 kB / 274.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.21, allocations: 38.77 MB / 312.9 MB, free: 38.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09151/0.3016, allocations: 69.66 MB / 382.5 MB, free: 4.875 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.3019, allocations: 75.97 kB / 382.6 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01438/0.3163, allocations: 5.118 MB / 387.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3164, allocations: 224 / 387.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.3164, allocations: 7.938 kB / 387.7 MB, free: 15.67 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007621/0.3172, allocations: 0.5364 MB / 388.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3172, allocations: 8.031 kB / 388.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.3174, allocations: 27.72 kB / 388.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.3177, allocations: 251 kB / 388.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.3178, allocations: 12.28 kB / 388.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.3178, allocations: 16 kB / 388.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.3181, allocations: 164.1 kB / 388.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.3182, allocations: 3.906 kB / 388.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.3182, allocations: 8 kB / 388.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3182, allocations: 4 kB / 388.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.3184, allocations: 112.5 kB / 388.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009414/0.3194, allocations: 0.5821 MB / 389.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.3197, allocations: 150.5 kB / 389.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.3197, allocations: 4 kB / 389.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.3199, allocations: 105.5 kB / 389.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.3199, allocations: 0 / 389.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.000433/0.3203, allocations: 217.5 kB / 389.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.3204, allocations: 51.41 kB / 390 MB, free: 13.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.3207, allocations: 235.2 kB / 390.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.3207, allocations: 29.7 kB / 390.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.3208, allocations: 147.9 kB / 390.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.3209, allocations: 63.09 kB / 390.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.3209, allocations: 4 kB / 390.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3211, allocations: 330.8 kB / 390.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.3212, allocations: 55.97 kB / 390.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.3214, allocations: 82.72 kB / 390.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.3215, allocations: 97.83 kB / 391 MB, free: 12.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3215, allocations: 3.953 kB / 391 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003609/0.3219, allocations: 245.5 kB / 391.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.322, allocations: 33.7 kB / 391.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.322, allocations: 3.938 kB / 391.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.322, allocations: 4 kB / 391.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.3222, allocations: 43.97 kB / 391.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3222, allocations: 0 / 391.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.3224, allocations: 39.73 kB / 391.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.3224, allocations: 4 kB / 391.4 MB, free: 11.8 MB / 298.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 () * Number of clocked 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 0.000144/0.3226, allocations: 149.8 kB / 391.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.3226, allocations: 19.77 kB / 391.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.323, allocations: 200.1 kB / 391.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.323, allocations: 0 / 391.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.323, allocations: 0 / 391.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.323, allocations: 4 kB / 391.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.3234, allocations: 297.3 kB / 392 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3234, allocations: 3.938 kB / 392 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.3236, allocations: 39.98 kB / 392.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3236, allocations: 0 / 392.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.3236, allocations: 7.953 kB / 392.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3236, allocations: 0 / 392.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3236, allocations: 0 / 392.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/0.3241, allocations: 276.1 kB / 392.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.3242, allocations: 112.9 kB / 392.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.3243, allocations: 4 kB / 392.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.623e-05/0.3244, allocations: 7.953 kB / 392.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.3244, allocations: 19.97 kB / 392.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.3244, allocations: 4 kB / 392.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001974/0.3246, allocations: 193.6 kB / 392.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3247, allocations: 0 / 392.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003063/0.325, allocations: 67.88 kB / 392.7 MB, free: 10.32 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: 2 ($whenCondition1,lossTable.nextTimeEvent) * Number of discrete states: 1 (lossTable.nextTimeEvent) * Number of clocked states: 0 () * 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.0007452/0.3257, allocations: 330.7 kB / 393.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.3261, allocations: 207.7 kB / 393.3 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3261, allocations: 0 / 393.3 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.3262, allocations: 71.86 kB / 393.3 MB, free: 9.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.3265, allocations: 32.66 kB / 393.4 MB, free: 9.719 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.3275, allocations: 0.6509 MB / 394 MB, free: 9.043 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.3279, allocations: 0.7518 MB / 394.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.328, allocations: 29.52 kB / 394.8 MB, free: 8.238 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.3281, allocations: 23.44 kB / 394.8 MB, free: 8.215 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3281, allocations: 0 / 394.8 MB, free: 8.215 MB / 298.7 MB Notification: Performance of Templates: time 0.006694/0.3348, allocations: 2.486 MB / 397.3 MB, free: 5.73 MB / 298.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)