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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 103.6 kB / 16.51 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 51.92 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1182, allocations: 46.63 MB / 326 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.00344/0.1217, allocations: 2.192 MB / 328.1 MB, free: 2.688 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008943/0.1226, allocations: 0.4957 MB / 328.6 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.704e-05/0.1227, allocations: 7.938 kB / 328.6 MB, free: 2.176 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.1229, allocations: 15.86 kB / 328.7 MB, free: 2.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.647e-05/0.123, allocations: 39.67 kB / 328.7 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.1232, allocations: 31.97 kB / 328.7 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1234, allocations: 143.3 kB / 328.9 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1235, allocations: 53.44 kB / 328.9 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1236, allocations: 55.73 kB / 329 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1237, allocations: 59.77 kB / 329 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.1238, allocations: 11.94 kB / 329 MB, free: 1.77 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.1238, allocations: 12 kB / 329.1 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.253e-05/0.1239, allocations: 27.91 kB / 329.1 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.393e-05/0.1239, allocations: 63.67 kB / 329.2 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.1241, allocations: 163.7 kB / 329.3 MB, free: 1.508 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1242, allocations: 3.938 kB / 329.3 MB, free: 1.504 MB / 270.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.1242, allocations: 0 / 329.3 MB, free: 1.504 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1242, allocations: 0 / 329.3 MB, free: 1.504 MB / 270.1 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.0006821/0.1249, allocations: 447.1 kB / 329.8 MB, free: 1.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1249, allocations: 12.02 kB / 329.8 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.656e-05/0.125, allocations: 16.75 kB / 329.8 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.1252, allocations: 192.2 kB / 330 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1252, allocations: 8.609 kB / 330 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.1253, allocations: 20.3 kB / 330 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.1255, allocations: 127.8 kB / 330.1 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1255, allocations: 4 kB / 330.1 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1256, allocations: 3.984 kB / 330.1 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1256, allocations: 4 kB / 330.1 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.1258, allocations: 80.67 kB / 330.2 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008227/0.1266, allocations: 0.6088 MB / 330.8 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.1269, allocations: 78.62 kB / 330.9 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.753e-05/0.127, allocations: 32.97 kB / 330.9 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.127, allocations: 0 / 330.9 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.127, allocations: 42.56 kB / 331 MB, free: 15.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.127, allocations: 0 / 331 MB, free: 15.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006809/0.1277, allocations: 251.4 kB / 331.2 MB, free: 15.38 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.1278, allocations: 55.34 kB / 331.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1279, allocations: 157.5 kB / 331.4 MB, free: 15.15 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1279, allocations: 25.7 kB / 331.4 MB, free: 15.12 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.128, allocations: 120 kB / 331.6 MB, free: 15 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.128, allocations: 27.64 kB / 331.6 MB, free: 14.97 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.1281, allocations: 17.72 kB / 331.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.1282, allocations: 322.8 kB / 331.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.027e-05/0.1283, allocations: 31.92 kB / 332 MB, free: 14.59 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.005e-05/0.1283, allocations: 42.5 kB / 332 MB, free: 14.54 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.1285, allocations: 70.5 kB / 332.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1285, allocations: 0 / 332.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002794/0.1288, allocations: 142.3 kB / 332.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1288, allocations: 4 kB / 332.2 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1288, allocations: 0 / 332.2 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/0.129, allocations: 40.83 kB / 332.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.695e-05/0.1291, allocations: 7.984 kB / 332.3 MB, free: 14.26 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.1306, allocations: 1.526 MB / 333.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.527e-05/0.1307, allocations: 15.84 kB / 333.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1307, allocations: 4 kB / 333.8 MB, free: 12.59 MB / 286.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.1308, allocations: 117.8 kB / 333.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.1309, allocations: 7.906 kB / 333.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.1309, allocations: 16.7 kB / 333.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1309, allocations: 3.938 kB / 333.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.1309, allocations: 0 / 333.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.131, allocations: 4 kB / 333.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.1312, allocations: 209.6 kB / 334.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1312, allocations: 0 / 334.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.1312, allocations: 4 kB / 334.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/0.1314, allocations: 36.83 kB / 334.2 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.1314, allocations: 0 / 334.2 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.1326, allocations: 1.51 MB / 335.7 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1326, allocations: 0 / 335.7 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.133, allocations: 220.2 kB / 335.9 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.133, allocations: 85.02 kB / 336 MB, free: 10.15 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.133, allocations: 3.938 kB / 336 MB, free: 10.15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1331, allocations: 15.89 kB / 336 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.1332, allocations: 4 kB / 336 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.1332, allocations: 0 / 336 MB, free: 10.13 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.696e-05/0.1333, allocations: 119.2 kB / 336.1 MB, free: 10.01 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1333, allocations: 0 / 336.1 MB, free: 10.01 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003433/0.1337, allocations: 35.94 kB / 336.2 MB, free: 9.977 MB / 286.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001168/0.1338, allocations: 103.2 kB / 336.3 MB, free: 9.867 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.1342, allocations: 186.5 kB / 336.5 MB, free: 9.672 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1342, allocations: 128 / 336.5 MB, free: 9.672 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.1344, allocations: 158.7 kB / 336.6 MB, free: 9.504 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.1347, allocations: 12 kB / 336.6 MB, free: 9.492 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005625/0.1353, allocations: 330.8 kB / 336.9 MB, free: 9.145 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1355, allocations: 0.7157 MB / 337.7 MB, free: 8.402 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.251e-05/0.1356, allocations: 4.438 kB / 337.7 MB, free: 8.398 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.1356, allocations: 7.438 kB / 337.7 MB, free: 8.391 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.1356, allocations: 0 / 337.7 MB, free: 8.391 MB / 286.1 MB Notification: Performance of Templates: time 0.003902/0.1395, allocations: 1.389 MB / 339.1 MB, free: 7.004 MB / 286.1 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)