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.8086/0.8086, allocations: 110.8 MB / 123.3 MB, free: 10.76 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00167/0.001671, allocations: 147.4 kB / 149.1 MB, free: 0.9688 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/3e-05, allocations: 0 / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06352/0.06358, allocations: 25.18 MB / 205.4 MB, free: 8.434 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06553/0.1292, allocations: 35.27 MB / 240.7 MB, free: 5.109 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.1295, allocations: 63.97 kB / 240.7 MB, free: 5.047 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008967/0.1385, allocations: 2.599 MB / 243.3 MB, free: 2.43 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1385, allocations: 0 / 243.3 MB, free: 2.43 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.1386, allocations: 4 kB / 243.3 MB, free: 2.426 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.0005597/0.1391, allocations: 406.4 kB / 243.7 MB, free: 1.98 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.1392, allocations: 12.03 kB / 243.7 MB, free: 1.969 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.237e-05/0.1393, allocations: 15.81 kB / 243.7 MB, free: 1.953 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.1395, allocations: 202.8 kB / 243.9 MB, free: 1.715 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1396, allocations: 8.234 kB / 243.9 MB, free: 1.707 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.1396, allocations: 8 kB / 244 MB, free: 1.699 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.1399, allocations: 111.5 kB / 244.1 MB, free: 1.586 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1399, allocations: 0 / 244.1 MB, free: 1.586 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.1399, allocations: 15.89 kB / 244.1 MB, free: 1.57 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.14, allocations: 0 / 244.1 MB, free: 1.57 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.1402, allocations: 64.7 kB / 244.1 MB, free: 1.508 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.1413, allocations: 0.6134 MB / 244.8 MB, free: 0.8164 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.1416, allocations: 86.64 kB / 244.8 MB, free: 0.7227 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.147e-05/0.1417, allocations: 24.98 kB / 244.9 MB, free: 0.6953 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.1417, allocations: 0 / 244.9 MB, free: 0.6953 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.1418, allocations: 38.58 kB / 244.9 MB, free: 0.6484 MB / 186.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1418, allocations: 0 / 244.9 MB, free: 0.6484 MB / 186.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003908/0.1422, allocations: 114.3 kB / 245 MB, free: 0.5273 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.1422, allocations: 55.41 kB / 245.1 MB, free: 472 kB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.1424, allocations: 137.5 kB / 245.2 MB, free: 324 kB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1424, allocations: 29.7 kB / 245.2 MB, free: 288 kB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.1425, allocations: 119.7 kB / 245.4 MB, free: 164 kB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.1426, allocations: 35.56 kB / 245.4 MB, free: 128 kB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.1426, allocations: 0 / 245.4 MB, free: 128 kB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.1437/0.2863, allocations: 322.4 kB / 245.7 MB, free: 41.76 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.2865, allocations: 16.56 kB / 245.7 MB, free: 41.76 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.322e-05/0.2865, allocations: 36.67 kB / 245.8 MB, free: 41.74 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.864e-05/0.2866, allocations: 20.44 kB / 245.8 MB, free: 41.74 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2867, allocations: 0 / 245.8 MB, free: 41.74 MB / 186.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004274/0.2871, allocations: 121.5 kB / 245.9 MB, free: 41.7 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.2871, allocations: 6.547 kB / 245.9 MB, free: 41.7 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.2872, allocations: 1.625 kB / 245.9 MB, free: 41.7 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/0.2874, allocations: 42.2 kB / 245.9 MB, free: 41.69 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.945e-05/0.2875, allocations: 13.53 kB / 246 MB, free: 41.69 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.2892, allocations: 1.567 MB / 247.5 MB, free: 40.3 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.2893, allocations: 14.5 kB / 247.5 MB, free: 40.3 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.2893, allocations: 5.234 kB / 247.5 MB, free: 40.3 MB / 186.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.279e-05/0.2894, allocations: 109.2 kB / 247.6 MB, free: 40.2 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.2895, allocations: 12.16 kB / 247.7 MB, free: 40.2 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.2895, allocations: 12.05 kB / 247.7 MB, free: 40.19 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2895, allocations: 1.219 kB / 247.7 MB, free: 40.19 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.2895, allocations: 0 / 247.7 MB, free: 40.19 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2895, allocations: 0.5156 kB / 247.7 MB, free: 40.19 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.2898, allocations: 219.2 kB / 247.9 MB, free: 40 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2899, allocations: 6.5 kB / 247.9 MB, free: 40 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.2899, allocations: 7.891 kB / 247.9 MB, free: 40 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001614/0.2901, allocations: 38.02 kB / 247.9 MB, free: 39.99 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.2901, allocations: 1.531 kB / 247.9 MB, free: 39.99 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.2914, allocations: 1.552 MB / 249.5 MB, free: 38.59 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2915, allocations: 4.562 kB / 249.5 MB, free: 38.59 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.2917, allocations: 206.9 kB / 249.7 MB, free: 38.45 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.2918, allocations: 94.59 kB / 249.8 MB, free: 38.34 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.2918, allocations: 2.812 kB / 249.8 MB, free: 38.34 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.292, allocations: 10.69 kB / 249.8 MB, free: 38.34 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.292, allocations: 10.09 kB / 249.8 MB, free: 38.34 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2921, allocations: 5.094 kB / 249.8 MB, free: 38.34 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.398e-05/0.2922, allocations: 108.2 kB / 249.9 MB, free: 38.26 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.2922, allocations: 0 / 249.9 MB, free: 38.26 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005611/0.2927, allocations: 52.2 kB / 250 MB, free: 38.26 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.0001721/0.2929, allocations: 100.4 kB / 250.1 MB, free: 38.17 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004172/0.2934, allocations: 181 kB / 250.2 MB, free: 38.05 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.2934, allocations: 1.375 kB / 250.3 MB, free: 38.05 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.2936, allocations: 151.8 kB / 250.4 MB, free: 37.94 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.294, allocations: 21.03 kB / 250.4 MB, free: 37.94 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.2944, allocations: 141.6 kB / 250.6 MB, free: 37.85 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.2946, allocations: 0.7203 MB / 251.3 MB, free: 37.15 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 6.606e-05/0.2947, allocations: 3.844 kB / 251.3 MB, free: 37.15 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.2947, allocations: 11.56 kB / 251.3 MB, free: 37.14 MB / 186.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2947, allocations: 3.938 kB / 251.3 MB, free: 37.14 MB / 186.7 MB Notification: Performance of Templates: time 0.004131/0.2988, allocations: 1.475 MB / 252.8 MB, free: 37.04 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)