Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8002/0.8002, allocations: 110.8 MB / 118.3 MB, free: 10.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001548/0.001547, allocations: 147.4 kB / 144 MB, free: 9.809 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.536e-05/1.537e-05, allocations: 4 kB / 173.9 MB, free: 11.87 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05194/0.05197, allocations: 25.16 MB / 199 MB, free: 2.66 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.2034, allocations: 34.6 MB / 233.6 MB, free: 5.367 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/0.2036, allocations: 65.05 kB / 233.7 MB, free: 5.305 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005716/0.2094, allocations: 2.559 MB / 236.2 MB, free: 2.789 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2094, allocations: 0 / 236.2 MB, free: 2.789 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.2094, allocations: 4 kB / 236.3 MB, free: 2.785 MB / 170.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.0003285/0.2097, allocations: 410 kB / 236.7 MB, free: 2.344 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2098, allocations: 8.031 kB / 236.7 MB, free: 2.336 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.2098, allocations: 16.38 kB / 236.7 MB, free: 2.32 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.21, allocations: 206.8 kB / 236.9 MB, free: 2.078 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.21, allocations: 4 kB / 236.9 MB, free: 2.074 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.21, allocations: 8.75 kB / 236.9 MB, free: 2.066 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001308/0.2102, allocations: 60.47 kB / 237 MB, free: 2.008 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.2103, allocations: 97.05 kB / 237 MB, free: 1.91 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2103, allocations: 5.453 kB / 237.1 MB, free: 1.906 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.2104, allocations: 7.469 kB / 237.1 MB, free: 1.902 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.2104, allocations: 4 kB / 237.1 MB, free: 1.898 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006479/0.211, allocations: 0.567 MB / 237.6 MB, free: 1.266 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.2112, allocations: 74.64 kB / 237.7 MB, free: 1.184 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.2113, allocations: 22.02 kB / 237.7 MB, free: 1.16 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.2113, allocations: 4 kB / 237.7 MB, free: 1.156 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.2113, allocations: 38.48 kB / 237.8 MB, free: 1.109 MB / 170.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.2113, allocations: 4 kB / 237.8 MB, free: 1.105 MB / 170.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002708/0.2116, allocations: 98.39 kB / 237.9 MB, free: 1 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.2117, allocations: 51.41 kB / 237.9 MB, free: 0.9375 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.2117, allocations: 138.1 kB / 238 MB, free: 0.7969 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.2118, allocations: 25.7 kB / 238.1 MB, free: 0.7656 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.2118, allocations: 123.6 kB / 238.2 MB, free: 0.6406 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.2118, allocations: 27.64 kB / 238.2 MB, free: 0.6133 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.2118, allocations: 2.297 kB / 238.2 MB, free: 0.6133 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 4.285e-05/0.2119, allocations: 325.7 kB / 238.5 MB, free: 296 kB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-05/0.2119, allocations: 20 kB / 238.6 MB, free: 276 kB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/0.212, allocations: 30.58 kB / 238.6 MB, free: 236 kB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.571e-05/0.212, allocations: 24.69 kB / 238.6 MB, free: 212 kB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.212, allocations: 0 / 238.6 MB, free: 212 kB / 170.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002036/0.2123, allocations: 114.3 kB / 238.7 MB, free: 88 kB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2123, allocations: 10.66 kB / 238.7 MB, free: 80 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2123, allocations: 5.078 kB / 238.7 MB, free: 76 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/0.2124, allocations: 37.34 kB / 238.8 MB, free: 36 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.2125, allocations: 13.06 kB / 238.8 MB, free: 24 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.2137, allocations: 1.498 MB / 240.3 MB, free: 14.4 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.066e-05/0.2138, allocations: 12.02 kB / 240.3 MB, free: 14.39 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.2138, allocations: 4.062 kB / 240.3 MB, free: 14.39 MB / 186.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heatingResistor.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real 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 0.0001197/0.214, allocations: 105 kB / 240.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.214, allocations: 7.906 kB / 240.4 MB, free: 14.27 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.214, allocations: 12.62 kB / 240.4 MB, free: 14.26 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.214, allocations: 3.953 kB / 240.4 MB, free: 14.25 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2141, allocations: 3.984 kB / 240.4 MB, free: 14.25 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2141, allocations: 0 / 240.4 MB, free: 14.25 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.2142, allocations: 186.1 kB / 240.6 MB, free: 14.03 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2143, allocations: 0.5469 kB / 240.6 MB, free: 14.03 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.2143, allocations: 11.98 kB / 240.6 MB, free: 14.02 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.2144, allocations: 32.84 kB / 240.7 MB, free: 13.98 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.2144, allocations: 1.562 kB / 240.7 MB, free: 13.98 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.2156, allocations: 1.504 MB / 242.2 MB, free: 12.36 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.2156, allocations: 8.812 kB / 242.2 MB, free: 12.35 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.2159, allocations: 200.2 kB / 242.4 MB, free: 12.13 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/0.2159, allocations: 93 kB / 242.5 MB, free: 12.02 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.216, allocations: 0 / 242.5 MB, free: 12.02 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2161, allocations: 11.98 kB / 242.5 MB, free: 12.01 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.2161, allocations: 3.984 kB / 242.5 MB, free: 12.01 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.2161, allocations: 4 kB / 242.5 MB, free: 12 MB / 186.7 MB Notification: Performance of sorting global known variables: time 7.051e-05/0.2162, allocations: 105.3 kB / 242.6 MB, free: 11.9 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2162, allocations: 0 / 242.6 MB, free: 11.9 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003602/0.2166, allocations: 46 kB / 242.6 MB, free: 11.86 MB / 186.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.0001397/0.2167, allocations: 103.2 kB / 242.7 MB, free: 11.75 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.217, allocations: 167.5 kB / 242.9 MB, free: 11.58 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.217, allocations: 4 kB / 242.9 MB, free: 11.57 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.2172, allocations: 133.8 kB / 243 MB, free: 11.43 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.2174, allocations: 28.05 kB / 243.1 MB, free: 11.41 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.2178, allocations: 141.3 kB / 243.2 MB, free: 11.25 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.2181, allocations: 0.7119 MB / 243.9 MB, free: 10.51 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 4.873e-05/0.2181, allocations: 12.42 kB / 243.9 MB, free: 10.5 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.2181, allocations: 7.438 kB / 243.9 MB, free: 10.49 MB / 186.7 MB Notification: Performance of SimCode: time 1.783e-06/0.2181, allocations: 0 / 243.9 MB, free: 10.49 MB / 186.7 MB Notification: Performance of Templates: time 0.00382/0.222, allocations: 1.396 MB / 245.3 MB, free: 9.137 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1)