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.001008/0.001008, allocations: 94.86 kB / 16.65 MB, free: 6.348 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.001079/0.001079, allocations: 178.1 kB / 17.56 MB, free: 5.949 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.503/1.503, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0004797/0.0004797, allocations: 8 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1178, allocations: 47.58 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002668/0.1205, allocations: 1.838 MB / 330.1 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000855/0.1214, allocations: 0.4957 MB / 330.6 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.885e-05/0.1215, allocations: 7.938 kB / 330.7 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.1216, allocations: 7.922 kB / 330.7 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.143e-05/0.1217, allocations: 39.69 kB / 330.7 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.1219, allocations: 39.91 kB / 330.7 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.1221, allocations: 147.3 kB / 330.9 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.1223, allocations: 45.45 kB / 330.9 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1224, allocations: 47.8 kB / 331 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1225, allocations: 59.7 kB / 331 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.1226, allocations: 11.94 kB / 331 MB, free: 1.004 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.169e-05/0.1226, allocations: 15.94 kB / 331.1 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.407e-05/0.1227, allocations: 23.91 kB / 331.1 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.77e-05/0.1228, allocations: 93.36 kB / 331.2 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.123, allocations: 155.7 kB / 331.3 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.123, allocations: 0 / 331.3 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.123, allocations: 0 / 331.3 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.123, allocations: 0 / 331.3 MB, free: 0.7148 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.0006164/0.1236, allocations: 415.3 kB / 331.7 MB, free: 268 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.1237, allocations: 12.03 kB / 331.7 MB, free: 256 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.1238, allocations: 20.75 kB / 331.8 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.1241, allocations: 206.8 kB / 332 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.1242, allocations: 8.609 kB / 332 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.1242, allocations: 12.38 kB / 332 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.1245, allocations: 127.8 kB / 332.1 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1245, allocations: 3.938 kB / 332.1 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.1245, allocations: 0 / 332.1 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1245, allocations: 4 kB / 332.1 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.1248, allocations: 88.66 kB / 332.2 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009904/0.1258, allocations: 0.6088 MB / 332.8 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.1261, allocations: 86.56 kB / 332.9 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.517e-05/0.1262, allocations: 32.97 kB / 332.9 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.1262, allocations: 0 / 332.9 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.1262, allocations: 38.56 kB / 333 MB, free: 14.88 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 7.31e-07/0.1262, allocations: 0 / 333 MB, free: 14.88 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007149/0.1269, allocations: 267.4 kB / 333.2 MB, free: 14.59 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.127, allocations: 55.34 kB / 333.3 MB, free: 14.53 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1271, allocations: 149.6 kB / 333.4 MB, free: 14.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1272, allocations: 25.7 kB / 333.5 MB, free: 14.34 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.387e-05/0.1273, allocations: 124 kB / 333.6 MB, free: 14.21 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.1273, allocations: 27.64 kB / 333.6 MB, free: 14.19 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.1273, allocations: 17.72 kB / 333.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1275, allocations: 322.8 kB / 333.9 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/0.1276, allocations: 19.98 kB / 334 MB, free: 13.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.947e-05/0.1277, allocations: 54.44 kB / 334 MB, free: 13.76 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.1278, allocations: 70.56 kB / 334.1 MB, free: 13.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1278, allocations: 0 / 334.1 MB, free: 13.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002718/0.1281, allocations: 146.4 kB / 334.2 MB, free: 13.53 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1281, allocations: 8.062 kB / 334.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1281, allocations: 3.938 kB / 334.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.1283, allocations: 32.84 kB / 334.3 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.915e-05/0.1284, allocations: 15.98 kB / 334.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.13, allocations: 1.518 MB / 335.8 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.153e-05/0.1301, allocations: 11.94 kB / 335.8 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1301, allocations: 4.062 kB / 335.8 MB, free: 11.8 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.0001105/0.1302, allocations: 125.8 kB / 335.9 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.1303, allocations: 11.84 kB / 335.9 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.1303, allocations: 8.719 kB / 336 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1303, allocations: 7.938 kB / 336 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.1303, allocations: 0 / 336 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1303, allocations: 0 / 336 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.1305, allocations: 213.6 kB / 336.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1305, allocations: 0 / 336.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.1306, allocations: 11.98 kB / 336.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/0.1307, allocations: 32.84 kB / 336.2 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1307, allocations: 4 kB / 336.2 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.1319, allocations: 1.51 MB / 337.7 MB, free: 9.684 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.132, allocations: 0 / 337.7 MB, free: 9.684 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.1323, allocations: 220.2 kB / 337.9 MB, free: 9.449 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.1323, allocations: 85 kB / 338 MB, free: 9.348 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.1323, allocations: 11.94 kB / 338 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.652e-05/0.1324, allocations: 4.047 kB / 338 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.1325, allocations: 11.97 kB / 338.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1325, allocations: 0 / 338.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.593e-05/0.1326, allocations: 111.3 kB / 338.2 MB, free: 9.211 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1326, allocations: 4 kB / 338.2 MB, free: 9.207 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003449/0.1329, allocations: 35.94 kB / 338.2 MB, free: 9.172 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.0001453/0.1331, allocations: 103.2 kB / 338.3 MB, free: 9.062 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003791/0.1335, allocations: 190.5 kB / 338.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1335, allocations: 4.125 kB / 338.5 MB, free: 8.859 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.1337, allocations: 158.7 kB / 338.6 MB, free: 8.691 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.134, allocations: 15.92 kB / 338.7 MB, free: 8.676 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.1345, allocations: 362.2 kB / 339 MB, free: 8.297 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1348, allocations: 0.7118 MB / 339.7 MB, free: 7.559 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.029e-05/0.1349, allocations: 4.438 kB / 339.7 MB, free: 7.555 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.1349, allocations: 11.44 kB / 339.7 MB, free: 7.543 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1349, allocations: 0 / 339.7 MB, free: 7.543 MB / 286.1 MB Notification: Performance of Templates: time 0.004253/0.1392, allocations: 1.367 MB / 341.1 MB, free: 6.18 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)