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.001252/0.001252, allocations: 105.7 kB / 16.62 MB, free: 6.809 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.001295/0.001295, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.442/1.442, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.00209/0.00209, allocations: 52.39 kB / 279.5 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.139, allocations: 46.63 MB / 326.1 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.00535/0.1444, allocations: 2.188 MB / 328.3 MB, free: 2.594 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1457, allocations: 0.4995 MB / 328.8 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.1459, allocations: 8 kB / 328.8 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.146, allocations: 15.91 kB / 328.8 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.1462, allocations: 39.64 kB / 328.9 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.1465, allocations: 27.97 kB / 328.9 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.1467, allocations: 155.3 kB / 329.1 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.147, allocations: 53.45 kB / 329.1 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.1471, allocations: 63.78 kB / 329.2 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1473, allocations: 67.64 kB / 329.2 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.1473, allocations: 19.98 kB / 329.3 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.359e-05/0.1474, allocations: 16 kB / 329.3 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.371e-05/0.1475, allocations: 23.92 kB / 329.3 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1476, allocations: 79.59 kB / 329.4 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.1479, allocations: 163.7 kB / 329.5 MB, free: 1.363 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1479, allocations: 0 / 329.5 MB, free: 1.363 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1479, allocations: 0 / 329.5 MB, free: 1.363 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1479, allocations: 0 / 329.5 MB, free: 1.363 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.0008563/0.1488, allocations: 443.1 kB / 330 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.1488, allocations: 8.031 kB / 330 MB, free: 0.875 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.149, allocations: 16.75 kB / 330 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.1493, allocations: 200.1 kB / 330.2 MB, free: 0.625 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1493, allocations: 8.609 kB / 330.2 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.1494, allocations: 12.38 kB / 330.2 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.1498, allocations: 127.8 kB / 330.3 MB, free: 488 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1498, allocations: 4 kB / 330.3 MB, free: 484 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.1498, allocations: 8 kB / 330.3 MB, free: 476 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1498, allocations: 4 kB / 330.3 MB, free: 472 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.1501, allocations: 76.66 kB / 330.4 MB, free: 396 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.1513, allocations: 0.6011 MB / 331 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/0.1517, allocations: 90.55 kB / 331.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.1518, allocations: 28.98 kB / 331.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1519, allocations: 4 kB / 331.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.1519, allocations: 34.55 kB / 331.2 MB, free: 15.53 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1519, allocations: 4 kB / 331.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.000955/0.1529, allocations: 255.4 kB / 331.4 MB, free: 15.25 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.1529, allocations: 59.34 kB / 331.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.1531, allocations: 153.5 kB / 331.6 MB, free: 15.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1532, allocations: 25.7 kB / 331.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.1533, allocations: 132 kB / 331.8 MB, free: 14.85 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.1533, allocations: 15.66 kB / 331.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.1534, allocations: 29.7 kB / 331.8 MB, free: 14.8 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1536, allocations: 318.8 kB / 332.2 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.993e-05/0.1537, allocations: 20 kB / 332.2 MB, free: 14.46 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.1538, allocations: 50.5 kB / 332.2 MB, free: 14.4 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.154, allocations: 70.55 kB / 332.3 MB, free: 14.32 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.154, allocations: 0 / 332.3 MB, free: 14.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004045/0.1544, allocations: 138.2 kB / 332.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1544, allocations: 8 kB / 332.4 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1545, allocations: 192 / 332.4 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002589/0.1547, allocations: 36.83 kB / 332.5 MB, free: 14.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.465e-05/0.1548, allocations: 11.94 kB / 332.5 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.1569, allocations: 1.693 MB / 334.2 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.369e-05/0.157, allocations: 11.84 kB / 334.2 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.157, allocations: 4 kB / 334.2 MB, free: 12.28 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.0001031/0.1572, allocations: 125.8 kB / 334.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.1572, allocations: 15.91 kB / 334.3 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.1572, allocations: 16.7 kB / 334.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1572, allocations: 0 / 334.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1572, allocations: 0 / 334.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1573, allocations: 0 / 334.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.1575, allocations: 217.6 kB / 334.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1575, allocations: 0 / 334.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.623e-05/0.1575, allocations: 3.938 kB / 334.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/0.1577, allocations: 44.83 kB / 334.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1577, allocations: 0 / 334.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.159, allocations: 1.677 MB / 336.3 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1591, allocations: 128 / 336.3 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.1594, allocations: 220.3 kB / 336.5 MB, free: 9.75 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.1594, allocations: 92.98 kB / 336.6 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1595, allocations: 0 / 336.6 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-05/0.1596, allocations: 4 kB / 336.6 MB, free: 9.637 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.1596, allocations: 11.98 kB / 336.6 MB, free: 9.625 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1596, allocations: 0 / 336.6 MB, free: 9.625 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.314e-05/0.1597, allocations: 107.3 kB / 336.7 MB, free: 9.52 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1597, allocations: 0 / 336.7 MB, free: 9.52 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003537/0.1601, allocations: 43.94 kB / 336.7 MB, free: 9.477 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.0001325/0.1602, allocations: 99.23 kB / 336.8 MB, free: 9.371 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004352/0.1607, allocations: 194.5 kB / 337 MB, free: 9.168 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1607, allocations: 0 / 337 MB, free: 9.168 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.1609, allocations: 158.8 kB / 337.2 MB, free: 9 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.1612, allocations: 11.94 kB / 337.2 MB, free: 8.988 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.1617, allocations: 343.8 kB / 337.5 MB, free: 8.625 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.162, allocations: 0.7041 MB / 338.2 MB, free: 7.895 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.977e-05/0.1621, allocations: 8.438 kB / 338.3 MB, free: 7.887 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.1621, allocations: 11.44 kB / 338.3 MB, free: 7.875 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1621, allocations: 0 / 338.3 MB, free: 7.875 MB / 286.1 MB Notification: Performance of Templates: time 0.004344/0.1665, allocations: 1.474 MB / 339.7 MB, free: 6.402 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)