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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006172/0.006172, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001209/0.001209, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.581/1.581, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001244/0.001244, allocations: 51.39 kB / 326.6 MB, free: 14.54 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1368, allocations: 46.62 MB / 373.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003894/0.1407, allocations: 2.116 MB / 375.3 MB, free: 15.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1418, allocations: 0.5073 MB / 375.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.924e-05/0.1419, allocations: 0 / 375.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.1421, allocations: 19.8 kB / 375.8 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.824e-05/0.1422, allocations: 39.62 kB / 375.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.1424, allocations: 51.88 kB / 375.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.1427, allocations: 159.2 kB / 376.1 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.1429, allocations: 57.39 kB / 376.1 MB, free: 14.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.143, allocations: 67.72 kB / 376.2 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.1432, allocations: 67.69 kB / 376.3 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.1432, allocations: 12 kB / 376.3 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.678e-05/0.1433, allocations: 20 kB / 376.3 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.1433, allocations: 23.92 kB / 376.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.545e-05/0.1434, allocations: 63.67 kB / 376.4 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.1437, allocations: 163.5 kB / 376.5 MB, free: 14.03 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.1437, allocations: 15.92 kB / 376.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.849e-06/0.1437, allocations: 0 / 376.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1438, allocations: 3.938 kB / 376.5 MB, free: 14.01 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.0006923/0.1445, allocations: 431.2 kB / 377 MB, free: 13.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1445, allocations: 8.031 kB / 377 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.1446, allocations: 20.75 kB / 377 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.1449, allocations: 204.1 kB / 377.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.145, allocations: 12.61 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.145, allocations: 12.38 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.1453, allocations: 123.8 kB / 377.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.1453, allocations: 3.938 kB / 377.3 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.1453, allocations: 8 kB / 377.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1453, allocations: 0 / 377.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.1455, allocations: 80.66 kB / 377.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.1464, allocations: 0.601 MB / 378 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.1467, allocations: 86.56 kB / 378.1 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.495e-05/0.1468, allocations: 32.97 kB / 378.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.1468, allocations: 0 / 378.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.1469, allocations: 38.56 kB / 378.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1469, allocations: 0 / 378.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007224/0.1476, allocations: 267.4 kB / 378.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.1477, allocations: 55.34 kB / 378.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.1478, allocations: 141.8 kB / 378.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1478, allocations: 29.7 kB / 378.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.1479, allocations: 124 kB / 378.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.148, allocations: 19.75 kB / 378.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.148, allocations: 17.72 kB / 378.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1482, allocations: 322.8 kB / 379.1 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/0.1483, allocations: 31.92 kB / 379.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.845e-05/0.1484, allocations: 38.56 kB / 379.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.1485, allocations: 62.56 kB / 379.3 MB, free: 11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1485, allocations: 0 / 379.3 MB, free: 11 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000282/0.1488, allocations: 150.2 kB / 379.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.1488, allocations: 4 kB / 379.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1488, allocations: 0 / 379.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.149, allocations: 36.84 kB / 379.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/0.1491, allocations: 8.172 kB / 379.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.1509, allocations: 1.697 MB / 381.2 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.924e-05/0.151, allocations: 15.94 kB / 381.2 MB, free: 8.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.151, allocations: 0 / 381.2 MB, free: 8.938 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.0001181/0.1511, allocations: 125.8 kB / 381.3 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.1512, allocations: 11.84 kB / 381.3 MB, free: 8.793 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.1512, allocations: 8.719 kB / 381.3 MB, free: 8.789 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1512, allocations: 4 kB / 381.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.1512, allocations: 4 kB / 381.3 MB, free: 8.781 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1512, allocations: 0 / 381.3 MB, free: 8.781 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.1515, allocations: 217.4 kB / 381.5 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1515, allocations: 0 / 381.5 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.1515, allocations: 11.92 kB / 381.6 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/0.1516, allocations: 32.84 kB / 381.6 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1516, allocations: 4 kB / 381.6 MB, free: 8.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.1529, allocations: 1.678 MB / 383.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1529, allocations: 12.09 kB / 383.3 MB, free: 6.637 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.1532, allocations: 216.1 kB / 383.5 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.1533, allocations: 81.02 kB / 383.6 MB, free: 6.309 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1533, allocations: 4 kB / 383.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1534, allocations: 4 kB / 383.6 MB, free: 6.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.1535, allocations: 7.984 kB / 383.6 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1535, allocations: 8 kB / 383.6 MB, free: 6.285 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.27e-05/0.1535, allocations: 107.2 kB / 383.7 MB, free: 6.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1536, allocations: 0 / 383.7 MB, free: 6.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003473/0.1539, allocations: 43.84 kB / 383.7 MB, free: 6.137 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.0001296/0.154, allocations: 99.19 kB / 383.8 MB, free: 6.031 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004085/0.1545, allocations: 190.8 kB / 384 MB, free: 5.832 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1545, allocations: 0 / 384 MB, free: 5.832 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.1547, allocations: 154.6 kB / 384.2 MB, free: 5.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.155, allocations: 19.73 kB / 384.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000605/0.1556, allocations: 291.9 kB / 384.5 MB, free: 5.336 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1558, allocations: 0.708 MB / 385.2 MB, free: 4.602 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.106e-05/0.1559, allocations: 8.438 kB / 385.2 MB, free: 4.594 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.1559, allocations: 15.38 kB / 385.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1559, allocations: 0 / 385.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of Templates: time 0.00442/0.1603, allocations: 1.512 MB / 386.7 MB, free: 3.066 MB / 318.1 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)