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.007488/0.007488, allocations: 102 kB / 15.73 MB, free: 6.039 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.001729/0.00173, allocations: 194.5 kB / 16.67 MB, free: 5.961 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.535/1.535, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.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.001316/0.001316, allocations: 51.94 kB / 326.5 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1162, allocations: 46.61 MB / 373.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.004244/0.1205, allocations: 2.138 MB / 375.3 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1217, allocations: 0.5034 MB / 375.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.1219, allocations: 0 / 375.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.1221, allocations: 19.8 kB / 375.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.1223, allocations: 47.56 kB / 375.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1226, allocations: 43.88 kB / 375.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.1229, allocations: 159.2 kB / 376.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.1231, allocations: 53.45 kB / 376.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.1233, allocations: 67.72 kB / 376.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1235, allocations: 63.75 kB / 376.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.1235, allocations: 12 kB / 376.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.48e-05/0.1236, allocations: 16 kB / 376.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.1236, allocations: 27.86 kB / 376.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.198e-05/0.1237, allocations: 67.67 kB / 376.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.124, allocations: 171.3 kB / 376.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.124, allocations: 4 kB / 376.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.124, allocations: 0 / 376.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1241, allocations: 4 kB / 376.5 MB, free: 1.148 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.0007191/0.1248, allocations: 439.1 kB / 377 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1248, allocations: 8.031 kB / 377 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.125, allocations: 12.84 kB / 377 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.1253, allocations: 208.1 kB / 377.2 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1254, allocations: 12.61 kB / 377.2 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1254, allocations: 20.31 kB / 377.2 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.1256, allocations: 119.8 kB / 377.3 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1257, allocations: 0 / 377.3 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.1257, allocations: 4 kB / 377.3 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.1257, allocations: 4 kB / 377.3 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.1259, allocations: 76.67 kB / 377.4 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2364/0.3623, allocations: 0.5841 MB / 378 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.3627, allocations: 87.36 kB / 378.1 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.152e-05/0.3628, allocations: 34.88 kB / 378.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3628, allocations: 5.031 kB / 378.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.3628, allocations: 37.69 kB / 378.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.475e-06/0.3628, allocations: 1.344 kB / 378.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007228/0.3636, allocations: 253.3 kB / 378.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.3636, allocations: 52.78 kB / 378.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.3637, allocations: 150.5 kB / 378.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.3637, allocations: 27.08 kB / 378.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.3638, allocations: 128.9 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.3638, allocations: 23.84 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.3639, allocations: 20.19 kB / 378.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.983e-05/0.3639, allocations: 326.9 kB / 379.1 MB, free: 12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.223e-05/0.364, allocations: 18.89 kB / 379.1 MB, free: 12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.3641, allocations: 45.02 kB / 379.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3642, allocations: 74.61 kB / 379.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3642, allocations: 0 / 379.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002674/0.3645, allocations: 130.8 kB / 379.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3645, allocations: 17.08 kB / 379.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3646, allocations: 0 / 379.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/0.3648, allocations: 35.73 kB / 379.4 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.3648, allocations: 9.906 kB / 379.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.3661, allocations: 1.693 MB / 381.1 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.3662, allocations: 11.22 kB / 381.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3662, allocations: 3.5 kB / 381.2 MB, free: 10.39 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 8.116e-05/0.3663, allocations: 119.1 kB / 381.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.3664, allocations: 11.78 kB / 381.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.959e-05/0.3664, allocations: 15.31 kB / 381.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3664, allocations: 5.906 kB / 381.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.3664, allocations: 0 / 381.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3664, allocations: 0.6562 kB / 381.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.3666, allocations: 207.8 kB / 381.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3666, allocations: 5.234 kB / 381.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-05/0.3667, allocations: 4.281 kB / 381.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.3668, allocations: 46.45 kB / 381.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3668, allocations: 0.7031 kB / 381.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.3679, allocations: 1.68 MB / 383.2 MB, free: 8.559 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3679, allocations: 0.5 kB / 383.2 MB, free: 8.559 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.3682, allocations: 220.8 kB / 383.5 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.3683, allocations: 87.78 kB / 383.5 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.3683, allocations: 2.078 kB / 383.6 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.475e-05/0.3684, allocations: 9.484 kB / 383.6 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.3684, allocations: 5.234 kB / 383.6 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.3684, allocations: 2.078 kB / 383.6 MB, free: 8.277 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.571e-05/0.3685, allocations: 106.9 kB / 383.7 MB, free: 8.195 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3685, allocations: 0 / 383.7 MB, free: 8.195 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.3689, allocations: 43.28 kB / 383.7 MB, free: 8.184 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.0001192/0.369, allocations: 96.38 kB / 383.8 MB, free: 8.098 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004697/0.3695, allocations: 197.3 kB / 384 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3695, allocations: 0.5 kB / 384 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.3697, allocations: 165.1 kB / 384.2 MB, free: 7.824 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.37, allocations: 26.59 kB / 384.2 MB, free: 7.812 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.3707, allocations: 287 kB / 384.5 MB, free: 7.621 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.3708, allocations: 0.7095 MB / 385.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.995e-05/0.3709, allocations: 5.25 kB / 385.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.3709, allocations: 11.42 kB / 385.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.3709, allocations: 0 / 385.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of Templates: time 0.005568/0.3765, allocations: 1.562 MB / 386.8 MB, free: 6.785 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)