Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001492/0.001492, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.457/1.457, allocations: 194.3 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001598/0.001598, allocations: 120.3 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.756e-05/1.759e-05, allocations: 7.938 kB / 298.1 MB, free: 35.51 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09114/0.09117, allocations: 44.5 MB / 342.6 MB, free: 7 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.4672, allocations: 72.23 MB / 414.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.4675, allocations: 73.78 kB / 414.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006521/0.4741, allocations: 2.678 MB / 417.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4741, allocations: 3.812 kB / 417.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.4741, allocations: 0 / 417.6 MB, free: 10.35 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004216/0.4745, allocations: 416.5 kB / 418 MB, free: 9.965 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.4746, allocations: 7.812 kB / 418 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.776e-05/0.4747, allocations: 11.53 kB / 418 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.4749, allocations: 207 kB / 418.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.4749, allocations: 4.719 kB / 418.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.475, allocations: 3.938 kB / 418.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001403/0.4751, allocations: 61.5 kB / 418.3 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.4753, allocations: 98.56 kB / 418.4 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4753, allocations: 0 / 418.4 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.4753, allocations: 0.9844 kB / 418.4 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4754, allocations: 0 / 418.4 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007095/0.4761, allocations: 0.493 MB / 418.8 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.4764, allocations: 86.89 kB / 418.9 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.4764, allocations: 22.61 kB / 419 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.4764, allocations: 3.781 kB / 419 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.4765, allocations: 37.06 kB / 419 MB, free: 9.305 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.4765, allocations: 0 / 419 MB, free: 9.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002849/0.4768, allocations: 104.6 kB / 419.1 MB, free: 9.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.4768, allocations: 55.34 kB / 419.1 MB, free: 9.184 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.4769, allocations: 137.2 kB / 419.3 MB, free: 9.082 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.4769, allocations: 25.7 kB / 419.3 MB, free: 9.051 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.477, allocations: 120.2 kB / 419.4 MB, free: 8.949 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.477, allocations: 25.83 kB / 419.5 MB, free: 8.934 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.477, allocations: 0 / 419.5 MB, free: 8.934 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.678e-05/0.4771, allocations: 323.7 kB / 419.8 MB, free: 8.621 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.908e-05/0.4771, allocations: 18.09 kB / 419.8 MB, free: 8.617 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.193e-05/0.4772, allocations: 33.05 kB / 419.8 MB, free: 8.594 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.4772, allocations: 18.14 kB / 419.8 MB, free: 8.594 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4772, allocations: 0 / 419.8 MB, free: 8.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001919/0.4774, allocations: 120.7 kB / 420 MB, free: 8.539 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.4774, allocations: 11.59 kB / 420 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4774, allocations: 0 / 420 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/0.4776, allocations: 30.2 kB / 420 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.4777, allocations: 14.33 kB / 420 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009154/0.4786, allocations: 1.45 MB / 421.5 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.4787, allocations: 11.05 kB / 421.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.4787, allocations: 0 / 421.5 MB, free: 7.227 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 5.437e-05/0.4788, allocations: 112.7 kB / 421.6 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.4788, allocations: 7.75 kB / 421.6 MB, free: 7.109 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.4788, allocations: 12.22 kB / 421.6 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.4788, allocations: 0 / 421.6 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.4788, allocations: 0 / 421.6 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4788, allocations: 2.484 kB / 421.6 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.479, allocations: 192 kB / 421.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.479, allocations: 0 / 421.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.4791, allocations: 3.969 kB / 421.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/0.4792, allocations: 42.14 kB / 421.8 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.4792, allocations: 0 / 421.8 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007723/0.48, allocations: 1.439 MB / 423.3 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.48, allocations: 192 / 423.3 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.4802, allocations: 201.3 kB / 423.5 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.4803, allocations: 88.8 kB / 423.6 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.4803, allocations: 7.375 kB / 423.6 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.4804, allocations: 11.91 kB / 423.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.4804, allocations: 10.89 kB / 423.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.4804, allocations: 3.312 kB / 423.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.659e-05/0.4805, allocations: 107.2 kB / 423.7 MB, free: 5.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4805, allocations: 0 / 423.7 MB, free: 5.285 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000322/0.4808, allocations: 30.47 kB / 423.7 MB, free: 5.285 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 9.724e-05/0.4809, allocations: 99.33 kB / 423.8 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.4812, allocations: 165 kB / 424 MB, free: 5.086 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4812, allocations: 0 / 424 MB, free: 5.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.4813, allocations: 143 kB / 424.1 MB, free: 4.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.4816, allocations: 9.641 kB / 424.1 MB, free: 4.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.4819, allocations: 144.1 kB / 424.3 MB, free: 4.883 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.4822, allocations: 0.7091 MB / 425 MB, free: 20.19 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.71e-05/0.4823, allocations: 14.95 kB / 425 MB, free: 20.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.4823, allocations: 7.438 kB / 425 MB, free: 20.17 MB / 314.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4823, allocations: 0 / 425 MB, free: 20.17 MB / 314.7 MB Notification: Performance of Templates: time 0.003522/0.4859, allocations: 1.248 MB / 426.2 MB, free: 20.06 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1)