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.00896/0.00896, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.00229/0.00229, allocations: 195.1 kB / 16.68 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.529/1.529, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001222/0.001222, allocations: 49.48 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1318, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003803/0.1356, allocations: 2.12 MB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009357/0.1366, allocations: 0.5034 MB / 375.8 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.281e-05/0.1367, allocations: 8 kB / 375.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.1369, allocations: 19.78 kB / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.141e-05/0.137, allocations: 39.62 kB / 375.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1372, allocations: 43.89 kB / 375.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.1375, allocations: 159.2 kB / 376.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.1377, allocations: 61.44 kB / 376.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1378, allocations: 59.78 kB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.138, allocations: 67.7 kB / 376.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.138, allocations: 12 kB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-05/0.1381, allocations: 16 kB / 376.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.248e-05/0.1381, allocations: 27.92 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.13e-05/0.1382, allocations: 75.59 kB / 376.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.1385, allocations: 167.3 kB / 376.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.1385, allocations: 0 / 376.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1385, allocations: 0 / 376.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1386, allocations: 3.938 kB / 376.5 MB, free: 13.92 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.000777/0.1393, allocations: 443 kB / 377 MB, free: 13.44 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1394, allocations: 12.03 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.1395, allocations: 20.84 kB / 377 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.1398, allocations: 208.1 kB / 377.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.1399, allocations: 12.61 kB / 377.2 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.1399, allocations: 12.38 kB / 377.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.1401, allocations: 119.8 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1402, allocations: 0 / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.1402, allocations: 12 kB / 377.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1402, allocations: 0 / 377.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.1404, allocations: 80.66 kB / 377.4 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000862/0.1413, allocations: 0.5934 MB / 378 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.1416, allocations: 90.62 kB / 378.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.629e-05/0.1417, allocations: 32.97 kB / 378.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.1417, allocations: 0 / 378.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1417, allocations: 34.56 kB / 378.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.1417, allocations: 0 / 378.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006931/0.1424, allocations: 255.4 kB / 378.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.1425, allocations: 55.34 kB / 378.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.1427, allocations: 149.7 kB / 378.6 MB, free: 11.58 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1427, allocations: 29.64 kB / 378.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1428, allocations: 132.1 kB / 378.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.1428, allocations: 23.8 kB / 378.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.1429, allocations: 21.7 kB / 378.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.143, allocations: 318.8 kB / 379.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.81e-05/0.1431, allocations: 23.98 kB / 379.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-05/0.1432, allocations: 46.55 kB / 379.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.1433, allocations: 66.5 kB / 379.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1433, allocations: 0 / 379.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002773/0.1436, allocations: 146.3 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1436, allocations: 4 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1436, allocations: 4.062 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002508/0.1439, allocations: 40.83 kB / 379.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.316e-05/0.144, allocations: 7.938 kB / 379.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.1457, allocations: 1.694 MB / 381.2 MB, free: 8.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.316e-05/0.1458, allocations: 15.88 kB / 381.2 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1458, allocations: 4.062 kB / 381.2 MB, free: 8.82 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.0001068/0.1459, allocations: 121.8 kB / 381.3 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.146, allocations: 11.89 kB / 381.3 MB, free: 8.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.146, allocations: 20.66 kB / 381.3 MB, free: 8.664 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.146, allocations: 0 / 381.3 MB, free: 8.664 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.146, allocations: 0 / 381.3 MB, free: 8.664 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.146, allocations: 0 / 381.3 MB, free: 8.664 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.1463, allocations: 205.6 kB / 381.5 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1463, allocations: 3.984 kB / 381.6 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.1463, allocations: 11.94 kB / 381.6 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/0.1464, allocations: 32.84 kB / 381.6 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1465, allocations: 7.984 kB / 381.6 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.148, allocations: 1.682 MB / 383.3 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.148, allocations: 3.984 kB / 383.3 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.1483, allocations: 216.3 kB / 383.5 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.1484, allocations: 81.06 kB / 383.6 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.1484, allocations: 8 kB / 383.6 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/0.1485, allocations: 7.984 kB / 383.6 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.1486, allocations: 3.938 kB / 383.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1486, allocations: 4 kB / 383.6 MB, free: 6.176 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.792e-05/0.1487, allocations: 111.2 kB / 383.7 MB, free: 6.066 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1487, allocations: 0 / 383.7 MB, free: 6.066 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003599/0.149, allocations: 47.89 kB / 383.8 MB, free: 6.02 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.0001763/0.1492, allocations: 95.25 kB / 383.9 MB, free: 5.918 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004755/0.1497, allocations: 194.6 kB / 384 MB, free: 5.715 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1497, allocations: 0 / 384 MB, free: 5.715 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.1499, allocations: 158.7 kB / 384.2 MB, free: 5.547 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1502, allocations: 27.95 kB / 384.2 MB, free: 5.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006257/0.1509, allocations: 275.8 kB / 384.5 MB, free: 5.223 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.1513, allocations: 0.7157 MB / 385.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.479e-05/0.1513, allocations: 4.438 kB / 385.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.1513, allocations: 11.42 kB / 385.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1513, allocations: 0 / 385.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of Templates: time 0.004752/0.1561, allocations: 1.519 MB / 386.7 MB, free: 2.945 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)