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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001067/0.001067, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0005421/0.0005423, allocations: 8 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2679, allocations: 47.58 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002461/0.2704, allocations: 1.78 MB / 328.2 MB, free: 16 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.2723, allocations: 0.9017 MB / 329.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.2726, allocations: 3.469 kB / 329.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.273, allocations: 79.53 kB / 329.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.2735, allocations: 115.7 kB / 329.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.2739, allocations: 101.7 kB / 329.4 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.2743, allocations: 194.3 kB / 329.6 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.2745, allocations: 79.91 kB / 329.7 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.2747, allocations: 95.62 kB / 329.8 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.2749, allocations: 102.5 kB / 329.9 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.275, allocations: 8.688 kB / 329.9 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.2752, allocations: 27.19 kB / 329.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.2753, allocations: 40.5 kB / 329.9 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.2754, allocations: 70.69 kB / 330 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.2758, allocations: 211.3 kB / 330.2 MB, free: 14.6 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2758, allocations: 0 / 330.2 MB, free: 14.6 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2758, allocations: 0 / 330.2 MB, free: 14.6 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.2758, allocations: 1.312 kB / 330.2 MB, free: 14.6 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.0009092/0.2767, allocations: 0.498 MB / 330.7 MB, free: 14.12 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2768, allocations: 8.656 kB / 330.7 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.277, allocations: 35.69 kB / 330.8 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.2774, allocations: 254.3 kB / 331 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.2774, allocations: 10.84 kB / 331 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.2775, allocations: 18.69 kB / 331 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.2778, allocations: 164.2 kB / 331.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.2778, allocations: 7.844 kB / 331.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.2779, allocations: 10.38 kB / 331.2 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.2779, allocations: 4.156 kB / 331.2 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.2781, allocations: 113.5 kB / 331.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009277/0.2791, allocations: 0.5647 MB / 331.9 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.2794, allocations: 164.4 kB / 332.1 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.2794, allocations: 6.953 kB / 332.1 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002482/0.2797, allocations: 110.5 kB / 332.2 MB, free: 12.98 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 1.784e-06/0.2797, allocations: 0 / 332.2 MB, free: 12.98 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.000496/0.2802, allocations: 237.5 kB / 332.4 MB, free: 12.85 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.2802, allocations: 54.19 kB / 332.5 MB, free: 12.79 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.2805, allocations: 255.5 kB / 332.7 MB, free: 12.61 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.2805, allocations: 31.67 kB / 332.7 MB, free: 12.58 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2806, allocations: 139.4 kB / 332.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.2807, allocations: 67.44 kB / 332.9 MB, free: 12.39 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.2807, allocations: 5.719 kB / 332.9 MB, free: 12.39 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.2809, allocations: 332.2 kB / 333.3 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.281, allocations: 51.48 kB / 333.3 MB, free: 12.04 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.2812, allocations: 87.23 kB / 333.4 MB, free: 11.97 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.2813, allocations: 59.69 kB / 333.5 MB, free: 11.94 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2813, allocations: 1.094 kB / 333.5 MB, free: 11.94 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003668/0.2817, allocations: 202 kB / 333.7 MB, free: 11.83 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.2817, allocations: 4.812 kB / 333.7 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2817, allocations: 1.25 kB / 333.7 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.2818, allocations: 10.11 kB / 333.7 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.282, allocations: 53.05 kB / 333.7 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.282, allocations: 6 kB / 333.7 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.2821, allocations: 19.53 kB / 333.8 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.2822, allocations: 7.062 kB / 333.8 MB, free: 11.79 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 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.2823, allocations: 145.4 kB / 333.9 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.2824, allocations: 21.66 kB / 333.9 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.377e-05/0.2824, allocations: 34.11 kB / 334 MB, free: 11.62 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2825, allocations: 6.078 kB / 334 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.2825, allocations: 0 / 334 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2825, allocations: 0 / 334 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.2828, allocations: 286.5 kB / 334.2 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2828, allocations: 0 / 334.2 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.283, allocations: 32.27 kB / 334.3 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.283, allocations: 1.031 kB / 334.3 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.283, allocations: 6.031 kB / 334.3 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.283, allocations: 1 kB / 334.3 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.283, allocations: 8.922 kB / 334.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.2835, allocations: 288.9 kB / 334.6 MB, free: 11.06 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.33e-05/0.2836, allocations: 100.8 kB / 334.7 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.2837, allocations: 4 kB / 334.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.2838, allocations: 7.984 kB / 334.7 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.2838, allocations: 19.94 kB / 334.7 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.2839, allocations: 8.062 kB / 334.7 MB, free: 10.91 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.2841, allocations: 188.5 kB / 334.9 MB, free: 10.72 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2841, allocations: 0 / 334.9 MB, free: 10.72 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.2844, allocations: 55.91 kB / 335 MB, free: 10.67 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 (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.0009226/0.2853, allocations: 413.4 kB / 335.4 MB, free: 10.26 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003409/0.2857, allocations: 135.9 kB / 335.5 MB, free: 10.13 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2857, allocations: 192 / 335.5 MB, free: 10.13 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.2858, allocations: 76.77 kB / 335.6 MB, free: 10.05 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.2861, allocations: 48.53 kB / 335.6 MB, free: 10.01 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.2872, allocations: 0.6392 MB / 336.2 MB, free: 9.344 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.2876, allocations: 0.7521 MB / 337 MB, free: 8.566 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.2877, allocations: 33.94 kB / 337 MB, free: 8.535 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.2877, allocations: 23.42 kB / 337.1 MB, free: 8.512 MB / 270.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2878, allocations: 0 / 337.1 MB, free: 8.512 MB / 270.1 MB Notification: Performance of Templates: time 0.005935/0.2937, allocations: 2.428 MB / 339.5 MB, free: 6.082 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: