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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.01026/0.01026, allocations: 165.6 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.239/1.239, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001287/0.001288, allocations: 109.7 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003036, allocations: 12 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1677, allocations: 38.76 MB / 312.9 MB, free: 38.72 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07292/0.2406, allocations: 68.71 MB / 381.6 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.2409, allocations: 71.95 kB / 381.7 MB, free: 5.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01031/0.2512, allocations: 4.016 MB / 385.7 MB, free: 1.746 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2512, allocations: 0 / 385.7 MB, free: 1.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.2512, allocations: 4 kB / 385.7 MB, free: 1.742 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006892/0.2519, allocations: 0.5028 MB / 386.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.252, allocations: 8.031 kB / 386.2 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.869e-05/0.252, allocations: 27.72 kB / 386.2 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.2523, allocations: 235.4 kB / 386.4 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.2524, allocations: 16.44 kB / 386.5 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.2524, allocations: 23.95 kB / 386.5 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.2528, allocations: 229.8 kB / 386.7 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.2529, allocations: 7.938 kB / 386.7 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.2529, allocations: 8 kB / 386.7 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.2529, allocations: 7.938 kB / 386.7 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.2532, allocations: 161.7 kB / 386.9 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.2546, allocations: 0.8629 MB / 387.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.2549, allocations: 154.5 kB / 387.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.2549, allocations: 4.078 kB / 387.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.255, allocations: 34.56 kB / 387.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.816e-06/0.255, allocations: 0 / 387.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001249/0.2562, allocations: 428.6 kB / 388.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.2563, allocations: 55.41 kB / 388.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.2565, allocations: 170.3 kB / 388.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.2565, allocations: 25.7 kB / 388.6 MB, free: 14.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.2566, allocations: 159.5 kB / 388.8 MB, free: 14.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.2567, allocations: 63.09 kB / 388.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/0.2567, allocations: 4 kB / 388.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2569, allocations: 330.8 kB / 389.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.257, allocations: 55.98 kB / 389.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.2571, allocations: 92.25 kB / 389.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.2572, allocations: 68.47 kB / 389.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2573, allocations: 4 kB / 389.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004661/0.2577, allocations: 248.9 kB / 389.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2578, allocations: 8 kB / 389.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2578, allocations: 3.938 kB / 389.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.2591, allocations: 216.7 kB / 389.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.2593, allocations: 35.98 kB / 389.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005104/0.2598, allocations: 0.6147 MB / 390.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.26, allocations: 27.89 kB / 390.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.26, allocations: 4 kB / 390.5 MB, free: 12.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.2602, allocations: 133.8 kB / 390.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.2602, allocations: 15.81 kB / 390.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004431/0.2607, allocations: 236.2 kB / 390.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2607, allocations: 7.938 kB / 390.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2607, allocations: 3.953 kB / 390.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2607, allocations: 3.984 kB / 390.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.261, allocations: 285.4 kB / 391.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.261, allocations: 4 kB / 391.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.2612, allocations: 27.92 kB / 391.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.2623, allocations: 228.5 kB / 391.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.2623, allocations: 4 kB / 391.4 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004266/0.2628, allocations: 0.6225 MB / 392.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2628, allocations: 0 / 392.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005215/0.2633, allocations: 394.1 kB / 392.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-05/0.2634, allocations: 112.8 kB / 392.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.2635, allocations: 12 kB / 392.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.2636, allocations: 12.06 kB / 392.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.2637, allocations: 11.98 kB / 392.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.2637, allocations: 4 kB / 392.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.2638, allocations: 133.2 kB / 392.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2638, allocations: 0 / 392.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003151/0.2641, allocations: 67.84 kB / 392.8 MB, free: 10.18 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002006/0.2643, allocations: 107.2 kB / 392.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004082/0.2647, allocations: 160.3 kB / 393.1 MB, free: 9.914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2648, allocations: 0 / 393.1 MB, free: 9.914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.2649, allocations: 92.23 kB / 393.1 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.2652, allocations: 30.02 kB / 393.2 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2663, allocations: 0.692 MB / 393.9 MB, free: 9.082 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.2666, allocations: 0.7439 MB / 394.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.615e-05/0.2667, allocations: 21.53 kB / 394.6 MB, free: 8.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.2668, allocations: 15.44 kB / 394.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2668, allocations: 0 / 394.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of Templates: time 0.005245/0.272, allocations: 2.367 MB / 397 MB, free: 5.926 MB / 298.7 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)