Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.005598/0.005599, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001056/0.001056, allocations: 192.1 kB / 16.67 MB, free: 5.969 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.519/1.519, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.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.001323/0.001324, allocations: 44.59 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1435, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.004389/0.1479, allocations: 2.12 MB / 375.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1495, allocations: 0.5034 MB / 375.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.1498, allocations: 0 / 375.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.15, allocations: 27.78 kB / 375.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.1502, allocations: 47.55 kB / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.1505, allocations: 35.95 kB / 375.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.1507, allocations: 159.2 kB / 376.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.151, allocations: 61.42 kB / 376.1 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1511, allocations: 51.8 kB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.1512, allocations: 71.7 kB / 376.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.1513, allocations: 12 kB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.892e-05/0.1514, allocations: 16 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.988e-05/0.1514, allocations: 35.84 kB / 376.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.974e-05/0.1515, allocations: 71.66 kB / 376.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.1518, allocations: 163.3 kB / 376.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.1518, allocations: 3.938 kB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1518, allocations: 0 / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.1519, allocations: 0 / 376.5 MB, free: 13.91 MB / 318.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.0007254/0.1526, allocations: 451 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1526, allocations: 8.031 kB / 377 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.1528, allocations: 16.84 kB / 377 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.1531, allocations: 213.2 kB / 377.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1531, allocations: 8.609 kB / 377.2 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.1532, allocations: 12.38 kB / 377.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.1534, allocations: 123.8 kB / 377.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1534, allocations: 0 / 377.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.1535, allocations: 4 kB / 377.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1535, allocations: 15.98 kB / 377.4 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.1537, allocations: 72.67 kB / 377.4 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.1547, allocations: 0.5973 MB / 378 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.1551, allocations: 94.62 kB / 378.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-05/0.1551, allocations: 32.97 kB / 378.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1552, allocations: 0 / 378.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1552, allocations: 34.5 kB / 378.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.1552, allocations: 0 / 378.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007758/0.156, allocations: 247.5 kB / 378.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.1561, allocations: 63.28 kB / 378.5 MB, free: 11.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.1562, allocations: 153.7 kB / 378.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1563, allocations: 25.7 kB / 378.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1564, allocations: 128.1 kB / 378.8 MB, free: 11.4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1564, allocations: 19.78 kB / 378.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.1565, allocations: 25.72 kB / 378.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1566, allocations: 318.8 kB / 379.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.465e-05/0.1567, allocations: 19.98 kB / 379.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.331e-05/0.1567, allocations: 46.55 kB / 379.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1569, allocations: 74.5 kB / 379.3 MB, free: 10.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1569, allocations: 0 / 379.3 MB, free: 10.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002645/0.1572, allocations: 134.3 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1572, allocations: 4 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1572, allocations: 7.984 kB / 379.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/0.1574, allocations: 40.84 kB / 379.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.1575, allocations: 12.17 kB / 379.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.1591, allocations: 1.693 MB / 381.2 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.1592, allocations: 11.92 kB / 381.2 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1592, allocations: 4 kB / 381.2 MB, free: 8.812 MB / 318.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.0001036/0.1593, allocations: 121.9 kB / 381.3 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.1594, allocations: 11.89 kB / 381.3 MB, free: 8.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.1594, allocations: 24.64 kB / 381.4 MB, free: 8.652 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1594, allocations: 0 / 381.4 MB, free: 8.652 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1594, allocations: 0 / 381.4 MB, free: 8.652 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1594, allocations: 4 kB / 381.4 MB, free: 8.648 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.1597, allocations: 205.6 kB / 381.6 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1597, allocations: 0 / 381.6 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.638e-05/0.1597, allocations: 7.938 kB / 381.6 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.1598, allocations: 40.83 kB / 381.6 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.1599, allocations: 3.938 kB / 381.6 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.1614, allocations: 1.685 MB / 383.3 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1614, allocations: 0 / 383.3 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.1618, allocations: 216.3 kB / 383.5 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.1618, allocations: 89.05 kB / 383.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.1618, allocations: 4 kB / 383.6 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.1619, allocations: 4 kB / 383.6 MB, free: 6.172 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.162, allocations: 7.984 kB / 383.6 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.162, allocations: 0 / 383.6 MB, free: 6.164 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.352e-05/0.1621, allocations: 111.3 kB / 383.7 MB, free: 6.055 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1621, allocations: 0 / 383.7 MB, free: 6.055 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003671/0.1625, allocations: 43.89 kB / 383.8 MB, free: 6.012 MB / 318.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.0001485/0.1626, allocations: 103.2 kB / 383.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004541/0.1631, allocations: 190.5 kB / 384 MB, free: 5.703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1631, allocations: 0 / 384 MB, free: 5.703 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.1633, allocations: 158.8 kB / 384.2 MB, free: 5.535 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.1636, allocations: 19.78 kB / 384.2 MB, free: 5.516 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006228/0.1643, allocations: 287.7 kB / 384.5 MB, free: 5.207 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.1648, allocations: 0.708 MB / 385.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.095e-05/0.1648, allocations: 4.438 kB / 385.2 MB, free: 4.469 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.1649, allocations: 19.38 kB / 385.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1649, allocations: 0 / 385.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of Templates: time 0.005522/0.1704, allocations: 1.512 MB / 386.7 MB, free: 2.938 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1)