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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7028/0.7028, allocations: 110.8 MB / 118 MB, free: 14.69 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001712/0.001712, allocations: 156 kB / 143.7 MB, free: 5.027 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 9.978e-06/9.998e-06, allocations: 0 / 173.5 MB, free: 23.06 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04458/0.04461, allocations: 25.16 MB / 198.6 MB, free: 13.98 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04297/0.08764, allocations: 34.53 MB / 233.2 MB, free: 11.38 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001733/0.08785, allocations: 67.97 kB / 233.2 MB, free: 11.32 MB / 186.7 MB Notification: Performance of FrontEnd: time 0.006427/0.09429, allocations: 2.28 MB / 235.5 MB, free: 9.016 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.09432, allocations: 0 / 235.5 MB, free: 9.016 MB / 186.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.000418/0.09474, allocations: 414.2 kB / 235.9 MB, free: 8.562 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.09478, allocations: 11.97 kB / 235.9 MB, free: 8.551 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.09483, allocations: 15.81 kB / 235.9 MB, free: 8.535 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.09505, allocations: 198.9 kB / 236.1 MB, free: 8.301 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.09507, allocations: 7.906 kB / 236.1 MB, free: 8.293 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.09509, allocations: 12 kB / 236.1 MB, free: 8.281 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001504/0.09525, allocations: 64.41 kB / 236.2 MB, free: 8.219 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.09541, allocations: 95.3 kB / 236.3 MB, free: 8.121 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.09543, allocations: 0 / 236.3 MB, free: 8.121 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.09545, allocations: 7.875 kB / 236.3 MB, free: 8.113 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.09546, allocations: 4 kB / 236.3 MB, free: 8.109 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000831/0.0963, allocations: 0.5746 MB / 236.9 MB, free: 7.469 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.09656, allocations: 82.58 kB / 237 MB, free: 7.379 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.09662, allocations: 24.98 kB / 237 MB, free: 7.352 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.09664, allocations: 0 / 237 MB, free: 7.352 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.09667, allocations: 34.55 kB / 237 MB, free: 7.309 MB / 186.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.09668, allocations: 0 / 237 MB, free: 7.309 MB / 186.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003218/0.097, allocations: 94.44 kB / 237.1 MB, free: 7.207 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.09705, allocations: 59.41 kB / 237.2 MB, free: 7.137 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.09717, allocations: 130.8 kB / 237.3 MB, free: 7 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.0972, allocations: 29.7 kB / 237.3 MB, free: 6.965 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.09726, allocations: 107.8 kB / 237.4 MB, free: 6.855 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.09729, allocations: 27.64 kB / 237.5 MB, free: 6.828 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.09731, allocations: 3.938 kB / 237.5 MB, free: 6.824 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.09743, allocations: 322.8 kB / 237.8 MB, free: 6.5 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.09747, allocations: 12 kB / 237.8 MB, free: 6.488 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.914e-05/0.09753, allocations: 38.58 kB / 237.8 MB, free: 6.441 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.174e-05/0.09761, allocations: 19.98 kB / 237.9 MB, free: 6.422 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.09762, allocations: 0 / 237.9 MB, free: 6.422 MB / 186.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002622/0.09789, allocations: 122.3 kB / 238 MB, free: 6.293 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.09791, allocations: 7.984 kB / 238 MB, free: 6.285 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.09792, allocations: 4.062 kB / 238 MB, free: 6.281 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.0981, allocations: 32.84 kB / 238 MB, free: 6.246 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.837e-05/0.09817, allocations: 15.98 kB / 238 MB, free: 6.23 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.09942, allocations: 1.435 MB / 239.5 MB, free: 4.68 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.584e-05/0.09951, allocations: 8 kB / 239.5 MB, free: 4.672 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.09953, allocations: 7.984 kB / 239.5 MB, free: 4.664 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.0001164/0.09965, allocations: 113 kB / 239.6 MB, free: 4.547 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.09969, allocations: 7.906 kB / 239.6 MB, free: 4.539 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.09972, allocations: 12.53 kB / 239.6 MB, free: 4.527 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.09973, allocations: 7.984 kB / 239.6 MB, free: 4.52 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.81e-07/0.09973, allocations: 0 / 239.6 MB, free: 4.52 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.09974, allocations: 0 / 239.6 MB, free: 4.52 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.09993, allocations: 178.1 kB / 239.8 MB, free: 4.309 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.09994, allocations: 0 / 239.8 MB, free: 4.309 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.09999, allocations: 16.11 kB / 239.8 MB, free: 4.293 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.1001, allocations: 32.84 kB / 239.8 MB, free: 4.258 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1001, allocations: 7.875 kB / 239.8 MB, free: 4.25 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.1013, allocations: 1.435 MB / 241.3 MB, free: 2.699 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1014, allocations: 0 / 241.3 MB, free: 2.699 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002525/0.1016, allocations: 208.2 kB / 241.5 MB, free: 2.477 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.1017, allocations: 89 kB / 241.6 MB, free: 2.371 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.1017, allocations: 4 kB / 241.6 MB, free: 2.367 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1018, allocations: 8 kB / 241.6 MB, free: 2.359 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1019, allocations: 7.984 kB / 241.6 MB, free: 2.352 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1019, allocations: 0 / 241.6 MB, free: 2.352 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.238e-05/0.102, allocations: 105.5 kB / 241.7 MB, free: 2.25 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003383/0.1023, allocations: 43.84 kB / 241.7 MB, free: 2.207 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.0001318/0.1024, allocations: 103.2 kB / 241.8 MB, free: 2.094 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.1027, allocations: 161.7 kB / 242 MB, free: 1.926 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1027, allocations: 0 / 242 MB, free: 1.926 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.1029, allocations: 129.8 kB / 242.1 MB, free: 1.789 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.1032, allocations: 20.11 kB / 242.1 MB, free: 1.77 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.1035, allocations: 144 kB / 242.3 MB, free: 1.609 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.1038, allocations: 0.7146 MB / 243 MB, free: 0.8711 MB / 186.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1038, allocations: 0 / 243 MB, free: 0.8711 MB / 186.7 MB Notification: Performance of Templates: time 0.06412/0.1679, allocations: 1.484 MB / 244.5 MB, free: 66.84 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)