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.001197/0.001197, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.358/1.358, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.002171/0.002171, allocations: 59.91 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2402, allocations: 46.64 MB / 325.3 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.005294/0.2455, allocations: 2.453 MB / 327.8 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.2473, allocations: 0.6792 MB / 328.4 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.2476, allocations: 3.312 kB / 328.4 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.2478, allocations: 34.98 kB / 328.5 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.2482, allocations: 71.66 kB / 328.6 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.2486, allocations: 87.17 kB / 328.6 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.2492, allocations: 269.8 kB / 328.9 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.2495, allocations: 82.17 kB / 329 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.2498, allocations: 111.3 kB / 329.1 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.2501, allocations: 122 kB / 329.2 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.502e-05/0.2502, allocations: 21.97 kB / 329.2 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.2504, allocations: 32.98 kB / 329.3 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.283e-05/0.2504, allocations: 54.31 kB / 329.3 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.2507, allocations: 119 kB / 329.4 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.2511, allocations: 271.4 kB / 329.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2511, allocations: 1.375 kB / 329.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2512, allocations: 0 / 329.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.2512, allocations: 3.984 kB / 329.7 MB, free: 14.5 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.001232/0.2524, allocations: 0.5255 MB / 330.2 MB, free: 14 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.2525, allocations: 9.781 kB / 330.2 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.2526, allocations: 25.12 kB / 330.3 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.253, allocations: 239.5 kB / 330.5 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.2531, allocations: 17.47 kB / 330.5 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.818e-05/0.2531, allocations: 17.31 kB / 330.5 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.2537, allocations: 204.5 kB / 330.7 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.2538, allocations: 1.312 kB / 330.7 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.2538, allocations: 5.875 kB / 330.7 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.2538, allocations: 4.781 kB / 330.7 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005154/0.2543, allocations: 149.4 kB / 330.9 MB, free: 13.52 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.001755/0.2561, allocations: 0.9408 MB / 331.8 MB, free: 12.65 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.2565, allocations: 150.3 kB / 332 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.2567, allocations: 101.3 kB / 332.1 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.2567, allocations: 1.375 kB / 332.1 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.2568, allocations: 37.12 kB / 332.1 MB, free: 12.47 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.694e-06/0.2568, allocations: 3.938 kB / 332.1 MB, free: 12.46 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.001714/0.2585, allocations: 422.1 kB / 332.5 MB, free: 12.19 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.2586, allocations: 53.69 kB / 332.6 MB, free: 12.12 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.2588, allocations: 166.9 kB / 332.7 MB, free: 11.99 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.2589, allocations: 30.83 kB / 332.8 MB, free: 11.96 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.259, allocations: 146.9 kB / 332.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.91e-05/0.2591, allocations: 58.67 kB / 333 MB, free: 11.77 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.184e-05/0.2592, allocations: 37.23 kB / 333 MB, free: 11.74 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2593, allocations: 330 kB / 333.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.2595, allocations: 51.14 kB / 333.4 MB, free: 11.39 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.2597, allocations: 72.69 kB / 333.5 MB, free: 11.34 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.26, allocations: 124.7 kB / 333.6 MB, free: 11.27 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.26, allocations: 1.156 kB / 333.6 MB, free: 11.27 MB / 270.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005811/0.2606, allocations: 220.5 kB / 333.8 MB, free: 11.12 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.2607, allocations: 11.94 kB / 333.8 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.2607, allocations: 0 / 333.8 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/0.2624, allocations: 220.6 kB / 334 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.2626, allocations: 31.92 kB / 334 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006231/0.2633, allocations: 0.6109 MB / 334.7 MB, free: 10.22 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.2634, allocations: 19.94 kB / 334.7 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.2635, allocations: 7.984 kB / 334.7 MB, free: 10.2 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.0001622/0.2637, allocations: 133.7 kB / 334.8 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.2637, allocations: 19.81 kB / 334.8 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006034/0.2643, allocations: 220.3 kB / 335.1 MB, free: 9.809 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2644, allocations: 4 kB / 335.1 MB, free: 9.805 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.2644, allocations: 4 kB / 335.1 MB, free: 9.801 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/0.2644, allocations: 3.984 kB / 335.1 MB, free: 9.797 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.2656, allocations: 0.6011 MB / 335.7 MB, free: 9.133 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2656, allocations: 0 / 335.7 MB, free: 9.133 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.2658, allocations: 31.98 kB / 335.7 MB, free: 9.102 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/0.2673, allocations: 200.7 kB / 335.9 MB, free: 8.902 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.2674, allocations: 7.938 kB / 335.9 MB, free: 8.895 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006425/0.268, allocations: 0.6225 MB / 336.5 MB, free: 8.246 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.268, allocations: 0 / 336.5 MB, free: 8.246 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.2692, allocations: 424.8 kB / 336.9 MB, free: 7.809 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.2693, allocations: 100.9 kB / 337 MB, free: 7.691 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.2694, allocations: 8.062 kB / 337 MB, free: 7.684 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.2696, allocations: 4 kB / 337 MB, free: 7.68 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.2697, allocations: 15.98 kB / 337.1 MB, free: 7.664 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.2697, allocations: 11.97 kB / 337.1 MB, free: 7.652 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.2699, allocations: 132.2 kB / 337.2 MB, free: 7.523 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2699, allocations: 0 / 337.2 MB, free: 7.523 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000541/0.2704, allocations: 51.84 kB / 337.3 MB, free: 7.473 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.0002599/0.2707, allocations: 111.2 kB / 337.4 MB, free: 7.355 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005815/0.2713, allocations: 147.9 kB / 337.5 MB, free: 7.211 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.2713, allocations: 0 / 337.5 MB, free: 7.211 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.2716, allocations: 87.83 kB / 337.6 MB, free: 7.125 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.2722, allocations: 32.05 kB / 337.6 MB, free: 7.094 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.2738, allocations: 0.5513 MB / 338.2 MB, free: 6.516 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.2742, allocations: 0.7321 MB / 338.9 MB, free: 5.758 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.766e-05/0.2743, allocations: 21.53 kB / 338.9 MB, free: 5.738 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.2744, allocations: 15.44 kB / 338.9 MB, free: 5.723 MB / 270.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2744, allocations: 3.938 kB / 338.9 MB, free: 5.719 MB / 270.1 MB Notification: Performance of Templates: time 0.008898/0.2833, allocations: 2.534 MB / 341.5 MB, free: 3.188 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)