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.001154/0.001154, allocations: 166.8 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.158/1.158, allocations: 170.6 MB / 178.7 MB, free: 15.57 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.001496/0.001496, allocations: 107.4 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.469e-05/1.473e-05, allocations: 0 / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07001/0.07004, allocations: 38.78 MB / 301 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.227/0.2971, allocations: 68.9 MB / 369.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.2973, allocations: 65.41 kB / 369.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01297/0.3103, allocations: 5.072 MB / 375 MB, free: 11.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3103, allocations: 0 / 375 MB, free: 11.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.3104, allocations: 8 kB / 375 MB, free: 11.21 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.0005805/0.3109, allocations: 0.5203 MB / 375.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.311, allocations: 12.03 kB / 375.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.3111, allocations: 27.7 kB / 375.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.3114, allocations: 229.1 kB / 375.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.3114, allocations: 11.95 kB / 375.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.3115, allocations: 8 kB / 375.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001988/0.3117, allocations: 106.2 kB / 375.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.3119, allocations: 128.4 kB / 376.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3119, allocations: 3.906 kB / 376.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.3119, allocations: 3.984 kB / 376.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3119, allocations: 7.938 kB / 376.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007339/0.3127, allocations: 0.531 MB / 376.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.3129, allocations: 143.6 kB / 376.7 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.313, allocations: 74.03 kB / 376.8 MB, free: 9.512 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.313, allocations: 4 kB / 376.8 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.3132, allocations: 104.4 kB / 376.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.3132, allocations: 0 / 376.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002715/0.3135, allocations: 154.2 kB / 377.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.3135, allocations: 51.41 kB / 377.1 MB, free: 9.219 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.3137, allocations: 216 kB / 377.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.3137, allocations: 25.7 kB / 377.4 MB, free: 9.004 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.3138, allocations: 151.2 kB / 377.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.3139, allocations: 69.28 kB / 377.6 MB, free: 8.816 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.3139, allocations: 0 / 377.6 MB, free: 8.816 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.314, allocations: 331.6 kB / 377.9 MB, free: 8.492 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.3141, allocations: 56.3 kB / 377.9 MB, free: 8.457 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.205e-05/0.3142, allocations: 78.42 kB / 378 MB, free: 8.395 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.581e-05/0.3143, allocations: 58 kB / 378.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3143, allocations: 8 kB / 378.1 MB, free: 8.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002742/0.3146, allocations: 196.5 kB / 378.3 MB, free: 8.191 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.3146, allocations: 33.7 kB / 378.3 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3146, allocations: 3.984 kB / 378.3 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.3146, allocations: 4 kB / 378.3 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.3148, allocations: 39.61 kB / 378.4 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3149, allocations: 3.938 kB / 378.4 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.604e-05/0.315, allocations: 15.84 kB / 378.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.315, allocations: 23.98 kB / 378.4 MB, free: 8.066 MB / 266.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 7.663e-05/0.3151, allocations: 112.2 kB / 378.5 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.3151, allocations: 23.67 kB / 378.5 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.3154, allocations: 178.5 kB / 378.7 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3154, allocations: 0 / 378.7 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3154, allocations: 0 / 378.7 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3154, allocations: 0 / 378.7 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.3156, allocations: 252.4 kB / 379 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3157, allocations: 0 / 379 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.3158, allocations: 43.92 kB / 379 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3158, allocations: 0 / 379 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.3159, allocations: 0 / 379 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3159, allocations: 7.984 kB / 379 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3159, allocations: 3.953 kB / 379 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.3162, allocations: 261.8 kB / 379.3 MB, free: 7.277 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.3163, allocations: 100.8 kB / 379.4 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.3163, allocations: 4 kB / 379.4 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.3164, allocations: 8.047 kB / 379.4 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.3165, allocations: 19.81 kB / 379.4 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.3165, allocations: 4 kB / 379.4 MB, free: 7.129 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001255/0.3166, allocations: 172.5 kB / 379.6 MB, free: 6.988 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3166, allocations: 0 / 379.6 MB, free: 6.988 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002735/0.3169, allocations: 75.59 kB / 379.6 MB, free: 6.918 MB / 266.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.0005225/0.3175, allocations: 270.2 kB / 379.9 MB, free: 6.645 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.3177, allocations: 197.9 kB / 380.1 MB, free: 6.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3177, allocations: 0 / 380.1 MB, free: 6.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.276e-05/0.3178, allocations: 61.06 kB / 380.2 MB, free: 6.438 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.318, allocations: 30.73 kB / 380.2 MB, free: 6.414 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006935/0.3187, allocations: 410.4 kB / 380.6 MB, free: 6.023 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.3191, allocations: 0.7512 MB / 381.3 MB, free: 5.246 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.725e-05/0.3192, allocations: 25.33 kB / 381.4 MB, free: 5.223 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.3192, allocations: 19.44 kB / 381.4 MB, free: 5.203 MB / 266.7 MB Notification: Performance of SimCode: time 1.562e-06/0.3193, allocations: 0 / 381.4 MB, free: 5.203 MB / 266.7 MB Notification: Performance of Templates: time 0.005008/0.3243, allocations: 2.237 MB / 383.6 MB, free: 2.973 MB / 266.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)