Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440000,variableFilter="",fileNamePrefix="Modelica_3.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.0009957/0.0009958, allocations: 99.86 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.001047/0.001047, 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.695/1.695, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004449/0.0004451, allocations: 19.98 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2749, allocations: 47.58 MB / 326.4 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002189/0.2771, allocations: 1.778 MB / 328.2 MB, free: 8 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.2786, allocations: 0.8905 MB / 329.1 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.2787, allocations: 3.219 kB / 329.1 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.2791, allocations: 83.48 kB / 329.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.2794, allocations: 115.5 kB / 329.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.2797, allocations: 111.1 kB / 329.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.28, allocations: 193.2 kB / 329.6 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.2802, allocations: 72.03 kB / 329.7 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.2804, allocations: 96.66 kB / 329.8 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.2805, allocations: 101.2 kB / 329.9 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.2806, allocations: 8.594 kB / 329.9 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.2807, allocations: 31.39 kB / 329.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.011e-05/0.2808, allocations: 45.05 kB / 330 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.443e-05/0.2809, allocations: 66.64 kB / 330 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.2812, allocations: 203.5 kB / 330.2 MB, free: 14.6 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.2812, allocations: 3.938 kB / 330.2 MB, free: 14.6 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2812, allocations: 4 kB / 330.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.2812, allocations: 0 / 330.2 MB, free: 14.59 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.000719/0.2819, allocations: 0.5025 MB / 330.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.282, allocations: 13.64 kB / 330.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.2821, allocations: 30.03 kB / 330.8 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.2825, allocations: 247.5 kB / 331 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.2825, allocations: 18.31 kB / 331 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.2825, allocations: 15.88 kB / 331 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.2829, allocations: 167 kB / 331.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.2829, allocations: 4.906 kB / 331.2 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.2829, allocations: 5.062 kB / 331.2 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2829, allocations: 4.844 kB / 331.2 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.2832, allocations: 116.5 kB / 331.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008383/0.284, allocations: 0.5726 MB / 331.9 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.2844, allocations: 157.1 kB / 332.1 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.2844, allocations: 3.406 kB / 332.1 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002945/0.2847, allocations: 113.9 kB / 332.2 MB, free: 12.97 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.2847, allocations: 0 / 332.2 MB, free: 12.97 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005559/0.2853, allocations: 233.1 kB / 332.4 MB, free: 12.85 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.2853, allocations: 57.66 kB / 332.5 MB, free: 12.78 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.2857, allocations: 252.9 kB / 332.7 MB, free: 12.61 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.2857, allocations: 30.92 kB / 332.7 MB, free: 12.58 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.2858, allocations: 143.5 kB / 332.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.622e-05/0.2859, allocations: 72.47 kB / 332.9 MB, free: 12.38 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-06/0.2859, allocations: 1.125 kB / 332.9 MB, free: 12.38 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.286, allocations: 336.3 kB / 333.3 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.2862, allocations: 51.03 kB / 333.3 MB, free: 12.03 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.2863, allocations: 80.03 kB / 333.4 MB, free: 11.97 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.2865, allocations: 64.12 kB / 333.5 MB, free: 11.94 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2865, allocations: 0 / 333.5 MB, free: 11.94 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003522/0.2868, allocations: 205.2 kB / 333.7 MB, free: 11.82 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2869, allocations: 6.281 kB / 333.7 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2869, allocations: 1.062 kB / 333.7 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2869, allocations: 6.047 kB / 333.7 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.2871, allocations: 48.77 kB / 333.7 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2871, allocations: 5.25 kB / 333.7 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.2872, allocations: 25.23 kB / 333.8 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.2873, allocations: 9.469 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.0001384/0.2874, allocations: 141.9 kB / 333.9 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.2875, allocations: 21.66 kB / 333.9 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.919e-05/0.2875, allocations: 29.75 kB / 334 MB, free: 11.62 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.2875, allocations: 14.59 kB / 334 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2876, allocations: 0 / 334 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.2876, allocations: 4 kB / 334 MB, free: 11.6 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.2879, allocations: 279.2 kB / 334.2 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2879, allocations: 0 / 334.2 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.288, allocations: 35.67 kB / 334.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2881, allocations: 1.5 kB / 334.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.2881, allocations: 1.5 kB / 334.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2881, allocations: 5.297 kB / 334.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2881, allocations: 5.422 kB / 334.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004982/0.2886, allocations: 284.5 kB / 334.6 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.2887, allocations: 104.8 kB / 334.7 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.2887, allocations: 4 kB / 334.7 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.677e-05/0.2888, allocations: 8 kB / 334.7 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.2889, allocations: 19.92 kB / 334.7 MB, free: 10.9 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.2889, allocations: 11.98 kB / 334.7 MB, free: 10.89 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.2891, allocations: 184.5 kB / 334.9 MB, free: 10.71 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2891, allocations: 0 / 334.9 MB, free: 10.71 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.2893, allocations: 55.97 kB / 335 MB, free: 10.65 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.0009112/0.2903, allocations: 413.3 kB / 335.4 MB, free: 10.25 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.2906, allocations: 139.9 kB / 335.5 MB, free: 10.11 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2906, allocations: 0 / 335.5 MB, free: 10.11 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.2907, allocations: 75.91 kB / 335.6 MB, free: 10.04 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.291, allocations: 44.78 kB / 335.6 MB, free: 9.992 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009846/0.292, allocations: 0.6287 MB / 336.2 MB, free: 9.34 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.2923, allocations: 0.756 MB / 337 MB, free: 8.559 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.2924, allocations: 33.94 kB / 337 MB, free: 8.527 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.2925, allocations: 19.44 kB / 337 MB, free: 8.508 MB / 270.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2925, allocations: 0 / 337 MB, free: 8.508 MB / 270.1 MB Notification: Performance of Templates: time 0.00581/0.2983, allocations: 2.44 MB / 339.5 MB, free: 6.066 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) Environment - environmentSimulation: