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.001024/0.001024, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001013/0.001013, allocations: 195.1 kB / 16.25 MB, free: 6.621 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.696/1.696, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.001279/0.001279, allocations: 52.2 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3155, allocations: 46.63 MB / 324.8 MB, free: 2.273 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003475/0.319, allocations: 2.195 MB / 327 MB, free: 0.5508 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008707/0.3199, allocations: 0.4913 MB / 327.5 MB, free: 156 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.826e-05/0.32, allocations: 5.969 kB / 327.5 MB, free: 152 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.3202, allocations: 10.14 kB / 327.5 MB, free: 144 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.797e-05/0.3203, allocations: 49.17 kB / 327.6 MB, free: 100 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.3205, allocations: 28.84 kB / 327.6 MB, free: 76 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.3207, allocations: 155 kB / 327.8 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.3209, allocations: 62.02 kB / 327.8 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.3211, allocations: 65.41 kB / 327.9 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3212, allocations: 63.8 kB / 328 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.3212, allocations: 12.22 kB / 328 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.246e-05/0.3213, allocations: 19.91 kB / 328 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.3214, allocations: 31.23 kB / 328 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.482e-05/0.3215, allocations: 70.7 kB / 328.1 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.3217, allocations: 160.1 kB / 328.2 MB, free: 15.67 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.3217, allocations: 0 / 328.2 MB, free: 15.67 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3217, allocations: 0 / 328.2 MB, free: 15.67 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3218, allocations: 1.469 kB / 328.2 MB, free: 15.67 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.0006692/0.3224, allocations: 444 kB / 328.7 MB, free: 15.24 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.3225, allocations: 13.64 kB / 328.7 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.3226, allocations: 16.69 kB / 328.7 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.3229, allocations: 195.9 kB / 328.9 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.3229, allocations: 9.297 kB / 328.9 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.3229, allocations: 11.88 kB / 328.9 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.3232, allocations: 126.6 kB / 329 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3232, allocations: 4 kB / 329 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.3233, allocations: 10.3 kB / 329.1 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.3233, allocations: 2.281 kB / 329.1 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.3235, allocations: 75.17 kB / 329.1 MB, free: 14.87 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008748/0.3244, allocations: 0.606 MB / 329.7 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.3247, allocations: 85.22 kB / 329.8 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.853e-05/0.3248, allocations: 31.38 kB / 329.9 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3248, allocations: 4.984 kB / 329.9 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.3248, allocations: 35.5 kB / 329.9 MB, free: 14.15 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3248, allocations: 4 kB / 329.9 MB, free: 14.15 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.000715/0.3256, allocations: 252.4 kB / 330.1 MB, free: 13.95 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.3256, allocations: 56.5 kB / 330.2 MB, free: 13.88 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.3258, allocations: 145.9 kB / 330.3 MB, free: 13.76 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.3258, allocations: 29.7 kB / 330.4 MB, free: 13.72 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.3259, allocations: 122.9 kB / 330.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3259, allocations: 23.14 kB / 330.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.326, allocations: 19.19 kB / 330.5 MB, free: 13.57 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3261, allocations: 325.1 kB / 330.9 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.059e-05/0.3262, allocations: 32.48 kB / 330.9 MB, free: 13.22 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.958e-05/0.3263, allocations: 49.3 kB / 330.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.3264, allocations: 70.5 kB / 331 MB, free: 13.13 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3264, allocations: 0 / 331 MB, free: 13.13 MB / 270.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002989/0.3267, allocations: 138.4 kB / 331.1 MB, free: 13.04 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3268, allocations: 5.469 kB / 331.1 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3268, allocations: 1.062 kB / 331.1 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002096/0.327, allocations: 34.33 kB / 331.2 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.505e-05/0.327, allocations: 10.58 kB / 331.2 MB, free: 13.01 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.3287, allocations: 1.704 MB / 332.9 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.409e-05/0.3288, allocations: 11 kB / 332.9 MB, free: 11.31 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.3288, allocations: 3.344 kB / 332.9 MB, free: 11.31 MB / 270.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.0001061/0.3289, allocations: 127.5 kB / 333 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.329, allocations: 12.16 kB / 333 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.329, allocations: 11.25 kB / 333 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.329, allocations: 0.875 kB / 333.1 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.329, allocations: 1.062 kB / 333.1 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.329, allocations: 0 / 333.1 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.3293, allocations: 210.9 kB / 333.3 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3293, allocations: 0 / 333.3 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.3293, allocations: 11.48 kB / 333.3 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.3294, allocations: 33.78 kB / 333.3 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.3294, allocations: 5.25 kB / 333.3 MB, free: 10.9 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.3308, allocations: 1.684 MB / 335 MB, free: 9.227 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3308, allocations: 1.219 kB / 335 MB, free: 9.227 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.3311, allocations: 221 kB / 335.2 MB, free: 9.035 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.3312, allocations: 83.14 kB / 335.3 MB, free: 8.938 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.3312, allocations: 1.125 kB / 335.3 MB, free: 8.938 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/0.3313, allocations: 8.281 kB / 335.3 MB, free: 8.934 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.3314, allocations: 11.3 kB / 335.3 MB, free: 8.926 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.3314, allocations: 1.094 kB / 335.3 MB, free: 8.926 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.388e-05/0.3315, allocations: 118.1 kB / 335.4 MB, free: 8.828 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.3315, allocations: 0 / 335.4 MB, free: 8.828 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003432/0.3318, allocations: 39.84 kB / 335.5 MB, free: 8.82 MB / 270.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.0001463/0.332, allocations: 99.44 kB / 335.6 MB, free: 8.73 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004294/0.3324, allocations: 189.7 kB / 335.7 MB, free: 8.578 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3324, allocations: 4.062 kB / 335.8 MB, free: 8.574 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.3326, allocations: 161 kB / 335.9 MB, free: 8.434 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.3329, allocations: 15.62 kB / 335.9 MB, free: 8.422 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/0.3335, allocations: 336.2 kB / 336.3 MB, free: 8.164 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.3339, allocations: 0.7103 MB / 337 MB, free: 7.449 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.606e-05/0.3339, allocations: 4.094 kB / 337 MB, free: 7.449 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.3339, allocations: 9.75 kB / 337 MB, free: 7.441 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3339, allocations: 0 / 337 MB, free: 7.441 MB / 270.1 MB Notification: Performance of Templates: time 0.004232/0.3382, allocations: 1.467 MB / 338.4 MB, free: 5.996 MB / 270.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)