Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, 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.001024/0.001024, allocations: 192 kB / 16.25 MB, free: 6.617 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.733/1.733, 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.001484/0.001484, allocations: 47.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3425, allocations: 46.63 MB / 324.8 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004207/0.3468, allocations: 2.513 MB / 327.4 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3482, allocations: 0.6724 MB / 328 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.3484, allocations: 3.594 kB / 328 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.3486, allocations: 27.23 kB / 328.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.3487, allocations: 59.3 kB / 328.1 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.3491, allocations: 71.14 kB / 328.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.3494, allocations: 270 kB / 328.5 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.3497, allocations: 89.5 kB / 328.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.3499, allocations: 108.4 kB / 328.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.3501, allocations: 108.7 kB / 328.8 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.3501, allocations: 22.16 kB / 328.8 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.3503, allocations: 37.39 kB / 328.8 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.3504, allocations: 58.36 kB / 328.9 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.3505, allocations: 120.2 kB / 329 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.3509, allocations: 275.4 kB / 329.3 MB, free: 14.59 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3509, allocations: 4 kB / 329.3 MB, free: 14.58 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3509, allocations: 0 / 329.3 MB, free: 14.58 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.3509, allocations: 0 / 329.3 MB, free: 14.58 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000916/0.3519, allocations: 0.5189 MB / 329.8 MB, free: 14.1 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.3519, allocations: 8.438 kB / 329.8 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.352, allocations: 30.62 kB / 329.8 MB, free: 14.08 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.3523, allocations: 240.1 kB / 330 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.3523, allocations: 12.94 kB / 330.1 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.3524, allocations: 21.66 kB / 330.1 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.3528, allocations: 192.7 kB / 330.3 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.3528, allocations: 0 / 330.3 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.3528, allocations: 10.12 kB / 330.3 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.3529, allocations: 8.75 kB / 330.3 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.3532, allocations: 153.7 kB / 330.4 MB, free: 13.61 MB / 270.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.3546, allocations: 0.945 MB / 331.4 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.355, allocations: 149.9 kB / 331.5 MB, free: 12.65 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.3552, allocations: 96.3 kB / 331.6 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.3553, allocations: 6.141 kB / 331.6 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3553, allocations: 36.88 kB / 331.7 MB, free: 12.55 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.3553, allocations: 0 / 331.7 MB, free: 12.55 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.001348/0.3567, allocations: 425.6 kB / 332.1 MB, free: 12.27 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.3567, allocations: 53.53 kB / 332.1 MB, free: 12.21 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.3569, allocations: 167.4 kB / 332.3 MB, free: 12.08 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.3569, allocations: 30.8 kB / 332.3 MB, free: 12.04 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3571, allocations: 146.6 kB / 332.5 MB, free: 11.91 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.3571, allocations: 59.08 kB / 332.5 MB, free: 11.86 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/0.3572, allocations: 37.2 kB / 332.6 MB, free: 11.82 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3573, allocations: 326.5 kB / 332.9 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.3575, allocations: 58.47 kB / 332.9 MB, free: 11.47 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.3576, allocations: 72.56 kB / 333 MB, free: 11.42 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.3579, allocations: 116.9 kB / 333.1 MB, free: 11.36 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3579, allocations: 1.031 kB / 333.1 MB, free: 11.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000435/0.3583, allocations: 224.1 kB / 333.3 MB, free: 11.23 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.3584, allocations: 12.73 kB / 333.4 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3584, allocations: 0.9062 kB / 333.4 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.3598, allocations: 222.4 kB / 333.6 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.36, allocations: 39.92 kB / 333.6 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004992/0.3605, allocations: 0.6031 MB / 334.2 MB, free: 10.36 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.3606, allocations: 15.88 kB / 334.2 MB, free: 10.35 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.3606, allocations: 8 kB / 334.2 MB, free: 10.34 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.3608, allocations: 133.7 kB / 334.4 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.3608, allocations: 19.88 kB / 334.4 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.3613, allocations: 224.3 kB / 334.6 MB, free: 9.949 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.3614, allocations: 4 kB / 334.6 MB, free: 9.945 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3614, allocations: 0 / 334.6 MB, free: 9.945 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3614, allocations: 0 / 334.6 MB, free: 9.945 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009532/0.3623, allocations: 0.605 MB / 335.2 MB, free: 9.277 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3624, allocations: 0 / 335.2 MB, free: 9.277 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.3625, allocations: 31.97 kB / 335.3 MB, free: 9.246 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.3636, allocations: 196.6 kB / 335.4 MB, free: 9.051 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.3636, allocations: 11.98 kB / 335.5 MB, free: 9.039 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004497/0.364, allocations: 0.6225 MB / 336.1 MB, free: 8.391 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3641, allocations: 3.938 kB / 336.1 MB, free: 8.387 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007529/0.3648, allocations: 428.8 kB / 336.5 MB, free: 7.945 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.3649, allocations: 92.89 kB / 336.6 MB, free: 7.836 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.3649, allocations: 8 kB / 336.6 MB, free: 7.828 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3651, allocations: 7.984 kB / 336.6 MB, free: 7.82 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.3651, allocations: 11.98 kB / 336.6 MB, free: 7.809 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.3651, allocations: 8.062 kB / 336.6 MB, free: 7.801 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.3653, allocations: 127.2 kB / 336.8 MB, free: 7.676 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3653, allocations: 0 / 336.8 MB, free: 7.676 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.3656, allocations: 63.83 kB / 336.8 MB, free: 7.613 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (10): * Single equations (assignments): 9 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001898/0.3658, allocations: 107.2 kB / 336.9 MB, free: 7.5 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003934/0.3662, allocations: 147.9 kB / 337.1 MB, free: 7.355 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.3662, allocations: 4.062 kB / 337.1 MB, free: 7.352 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.3664, allocations: 91.83 kB / 337.2 MB, free: 7.262 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.3668, allocations: 23.94 kB / 337.2 MB, free: 7.238 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.3679, allocations: 0.6314 MB / 337.8 MB, free: 6.578 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.3682, allocations: 0.7361 MB / 338.5 MB, free: 5.816 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.339e-05/0.3683, allocations: 13.55 kB / 338.6 MB, free: 5.805 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.3683, allocations: 19.47 kB / 338.6 MB, free: 5.785 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3683, allocations: 3.938 kB / 338.6 MB, free: 5.781 MB / 270.1 MB Notification: Performance of Templates: time 0.005911/0.3742, allocations: 2.512 MB / 341.1 MB, free: 3.273 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1)