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.005768/0.005768, allocations: 101 kB / 15.73 MB, free: 6.473 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.001328/0.001328, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.641/1.641, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.001243/0.001243, allocations: 46.88 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1125, allocations: 46.62 MB / 373.2 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003266/0.1158, allocations: 2.123 MB / 375.3 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007996/0.1166, allocations: 0.5033 MB / 375.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.38e-05/0.1167, allocations: 8 kB / 375.8 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.1168, allocations: 15.8 kB / 375.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.1169, allocations: 55.55 kB / 375.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.1171, allocations: 35.95 kB / 375.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.1173, allocations: 155.3 kB / 376.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.1175, allocations: 69.34 kB / 376.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.1176, allocations: 63.73 kB / 376.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.1177, allocations: 63.7 kB / 376.2 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.1177, allocations: 12 kB / 376.3 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.65e-05/0.1178, allocations: 23.98 kB / 376.3 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.1179, allocations: 27.86 kB / 376.3 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.513e-05/0.1179, allocations: 67.67 kB / 376.4 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.1181, allocations: 167.5 kB / 376.5 MB, free: 14.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1182, allocations: 0 / 376.5 MB, free: 14.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1182, allocations: 0 / 376.5 MB, free: 14.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1182, allocations: 0 / 376.5 MB, free: 14.04 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.0005949/0.1188, allocations: 439.2 kB / 377 MB, free: 13.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1188, allocations: 12.03 kB / 377 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.582e-05/0.1189, allocations: 16.75 kB / 377 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1192, allocations: 205.1 kB / 377.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1192, allocations: 8.609 kB / 377.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.1192, allocations: 12.38 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.1195, allocations: 127.8 kB / 377.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1195, allocations: 4 kB / 377.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1195, allocations: 4 kB / 377.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1195, allocations: 4 kB / 377.4 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.1197, allocations: 72.67 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007864/0.1205, allocations: 0.6049 MB / 378 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.1208, allocations: 94.62 kB / 378.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7e-05/0.1208, allocations: 28.97 kB / 378.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1209, allocations: 4 kB / 378.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1209, allocations: 34.56 kB / 378.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1209, allocations: 3.938 kB / 378.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006485/0.1215, allocations: 247.5 kB / 378.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.1216, allocations: 63.28 kB / 378.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.1217, allocations: 141.8 kB / 378.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1217, allocations: 37.7 kB / 378.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.1218, allocations: 116 kB / 378.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.1218, allocations: 23.73 kB / 378.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.1219, allocations: 21.72 kB / 378.8 MB, free: 11.49 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.122, allocations: 322.8 kB / 379.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.048e-05/0.122, allocations: 23.98 kB / 379.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.012e-05/0.1221, allocations: 42.56 kB / 379.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1222, allocations: 70.5 kB / 379.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1223, allocations: 0 / 379.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002587/0.1225, allocations: 138.3 kB / 379.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1225, allocations: 8.047 kB / 379.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1226, allocations: 8 kB / 379.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/0.1227, allocations: 32.78 kB / 379.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.104e-05/0.1228, allocations: 11.98 kB / 379.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.1242, allocations: 1.693 MB / 381.2 MB, free: 8.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/0.1243, allocations: 8.031 kB / 381.2 MB, free: 8.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1243, allocations: 8.062 kB / 381.2 MB, free: 8.953 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 9.866e-05/0.1244, allocations: 117.8 kB / 381.3 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.1244, allocations: 11.84 kB / 381.3 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.1245, allocations: 16.7 kB / 381.3 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1245, allocations: 0 / 381.3 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.1245, allocations: 0 / 381.3 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1245, allocations: 3.938 kB / 381.3 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.1247, allocations: 217.5 kB / 381.5 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1247, allocations: 4 kB / 381.5 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.594e-05/0.1247, allocations: 7.938 kB / 381.6 MB, free: 8.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/0.1249, allocations: 36.83 kB / 381.6 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1249, allocations: 4 kB / 381.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.1261, allocations: 1.682 MB / 383.3 MB, free: 6.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1261, allocations: 3.984 kB / 383.3 MB, free: 6.656 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.1264, allocations: 216.2 kB / 383.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.1264, allocations: 89 kB / 383.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.1265, allocations: 0 / 383.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-05/0.1266, allocations: 4 kB / 383.6 MB, free: 6.316 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.1266, allocations: 12.17 kB / 383.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.1266, allocations: 0 / 383.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.418e-05/0.1267, allocations: 111.2 kB / 383.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1267, allocations: 4 kB / 383.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.127, allocations: 39.84 kB / 383.7 MB, free: 6.152 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.0001121/0.1272, allocations: 103.2 kB / 383.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003679/0.1275, allocations: 190.6 kB / 384 MB, free: 5.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1275, allocations: 0 / 384 MB, free: 5.844 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.1277, allocations: 162.7 kB / 384.2 MB, free: 5.672 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.128, allocations: 15.8 kB / 384.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.1285, allocations: 291.8 kB / 384.5 MB, free: 5.344 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.1288, allocations: 0.7119 MB / 385.2 MB, free: 4.605 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.514e-05/0.1288, allocations: 448 / 385.2 MB, free: 4.605 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.1288, allocations: 11.44 kB / 385.2 MB, free: 4.594 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.1288, allocations: 0 / 385.2 MB, free: 4.594 MB / 318.1 MB Notification: Performance of Templates: time 0.004189/0.133, allocations: 1.512 MB / 386.7 MB, free: 3.082 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)