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.001135/0.001135, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.628/1.628, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001552/0.001552, allocations: 112.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.727e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0873/0.08735, allocations: 44.49 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3402/0.4276, allocations: 72.9 MB / 422.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.4279, allocations: 71.58 kB / 422.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006686/0.4346, allocations: 2.703 MB / 425.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4346, allocations: 4 kB / 425.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.4346, allocations: 3.75 kB / 425.1 MB, free: 10.46 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.0004108/0.435, allocations: 403.4 kB / 425.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.4351, allocations: 15.52 kB / 425.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.845e-05/0.4352, allocations: 11.59 kB / 425.5 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.4354, allocations: 200.9 kB / 425.7 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.4354, allocations: 15.3 kB / 425.7 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.4354, allocations: 7.844 kB / 425.8 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.4356, allocations: 107.4 kB / 425.9 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4357, allocations: 0 / 425.9 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.4357, allocations: 10.89 kB / 425.9 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4357, allocations: 0 / 425.9 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.4358, allocations: 74.97 kB / 425.9 MB, free: 9.793 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006533/0.4365, allocations: 0.5271 MB / 426.5 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000453/0.437, allocations: 82.59 kB / 426.6 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.462e-05/0.4371, allocations: 31.23 kB / 426.6 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.4371, allocations: 3.875 kB / 426.6 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.4372, allocations: 36.14 kB / 426.6 MB, free: 9.285 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.565e-06/0.4372, allocations: 3.938 kB / 426.6 MB, free: 9.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004234/0.4376, allocations: 106.5 kB / 426.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.4377, allocations: 51.41 kB / 426.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.4378, allocations: 143.6 kB / 426.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.4378, allocations: 25.7 kB / 426.9 MB, free: 9.023 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.4379, allocations: 122.8 kB / 427.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.4379, allocations: 22.69 kB / 427.1 MB, free: 8.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.4379, allocations: 0 / 427.1 MB, free: 8.898 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.357e-05/0.438, allocations: 322.7 kB / 427.4 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-05/0.4381, allocations: 14.69 kB / 427.4 MB, free: 8.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.099e-05/0.4381, allocations: 37.7 kB / 427.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.4382, allocations: 22.55 kB / 427.5 MB, free: 8.551 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4382, allocations: 3.781 kB / 427.5 MB, free: 8.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003162/0.4385, allocations: 126.4 kB / 427.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4386, allocations: 8.781 kB / 427.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4386, allocations: 0 / 427.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/0.4388, allocations: 39.06 kB / 427.6 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.134e-05/0.4389, allocations: 11.52 kB / 427.7 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.4403, allocations: 1.52 MB / 429.2 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.4404, allocations: 11.75 kB / 429.2 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.4405, allocations: 3.844 kB / 429.2 MB, free: 7.051 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 7.121e-05/0.4405, allocations: 112.2 kB / 429.3 MB, free: 6.938 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.4406, allocations: 11.81 kB / 429.3 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.4407, allocations: 15.77 kB / 429.3 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4407, allocations: 0 / 429.3 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.4407, allocations: 3.953 kB / 429.3 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4407, allocations: 3.938 kB / 429.3 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.4409, allocations: 210.7 kB / 429.5 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.4409, allocations: 0 / 429.5 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.441, allocations: 8.016 kB / 429.6 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.4411, allocations: 42.09 kB / 429.6 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.4412, allocations: 3.938 kB / 429.6 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.4423, allocations: 1.506 MB / 431.1 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4423, allocations: 7.828 kB / 431.1 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.4426, allocations: 200.2 kB / 431.3 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.4426, allocations: 88.81 kB / 431.4 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.4426, allocations: 3.25 kB / 431.4 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.4428, allocations: 8.031 kB / 431.4 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.4429, allocations: 7.922 kB / 431.4 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.4429, allocations: 3.812 kB / 431.4 MB, free: 5.004 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.331e-05/0.4429, allocations: 109.3 kB / 431.5 MB, free: 4.926 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.443, allocations: 0 / 431.5 MB, free: 4.926 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000408/0.4434, allocations: 42.41 kB / 431.6 MB, free: 4.918 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 0.0001191/0.4435, allocations: 102.7 kB / 431.7 MB, free: 4.824 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003403/0.4438, allocations: 185.7 kB / 431.8 MB, free: 4.691 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.4439, allocations: 0 / 431.8 MB, free: 4.691 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.444, allocations: 147 kB / 432 MB, free: 4.578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.4443, allocations: 11.7 kB / 432 MB, free: 4.574 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.4447, allocations: 139.8 kB / 432.1 MB, free: 4.473 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.4449, allocations: 0.7153 MB / 432.9 MB, free: 3.754 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.774e-05/0.445, allocations: 4.281 kB / 432.9 MB, free: 3.754 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.445, allocations: 11.28 kB / 432.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.445, allocations: 0 / 432.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of Templates: time 0.00443/0.4495, allocations: 1.333 MB / 434.2 MB, free: 3.082 MB / 298.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)