Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0008621/0.0008621, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.001077/0.001077, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.471/1.471, allocations: 205.4 MB / 223.4 MB, free: 5.285 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.0004623/0.0004624, allocations: 12 kB / 280.1 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.245, allocations: 47.6 MB / 327.7 MB, free: 1.551 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002451/0.2475, allocations: 2.077 MB / 329.8 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.2486, allocations: 0.637 MB / 330.5 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.2487, allocations: 2.875 kB / 330.5 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.2488, allocations: 27.48 kB / 330.5 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.2489, allocations: 59.69 kB / 330.5 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.2492, allocations: 57.72 kB / 330.6 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.2495, allocations: 263.5 kB / 330.9 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.2497, allocations: 59.98 kB / 330.9 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.2498, allocations: 93.86 kB / 331 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.25, allocations: 97.16 kB / 331.1 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.25, allocations: 20.09 kB / 331.1 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.197e-05/0.2501, allocations: 22.75 kB / 331.1 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.2502, allocations: 38.42 kB / 331.2 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.2502, allocations: 63.36 kB / 331.2 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.2505, allocations: 199.6 kB / 331.4 MB, free: 14.73 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2505, allocations: 0 / 331.4 MB, free: 14.73 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2505, allocations: 0 / 331.4 MB, free: 14.73 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.2505, allocations: 1.031 kB / 331.4 MB, free: 14.73 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.0007318/0.2513, allocations: 0.4894 MB / 331.9 MB, free: 14.27 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2513, allocations: 13.39 kB / 331.9 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.2514, allocations: 25.03 kB / 332 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.2517, allocations: 230.5 kB / 332.2 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.2517, allocations: 21.23 kB / 332.2 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.2517, allocations: 16.28 kB / 332.2 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.2521, allocations: 193.6 kB / 332.4 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.2522, allocations: 3.906 kB / 332.4 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.2522, allocations: 6.719 kB / 332.4 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.2522, allocations: 4.406 kB / 332.4 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.2525, allocations: 157 kB / 332.6 MB, free: 13.79 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.001402/0.2539, allocations: 0.9409 MB / 333.5 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.2543, allocations: 146.8 kB / 333.7 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.2545, allocations: 102 kB / 333.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.2546, allocations: 2.25 kB / 333.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.2546, allocations: 35.5 kB / 333.8 MB, free: 12.75 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.2546, allocations: 5.031 kB / 333.8 MB, free: 12.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.001255/0.2559, allocations: 439.4 kB / 334.2 MB, free: 12.46 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.756e-05/0.256, allocations: 53.56 kB / 334.3 MB, free: 12.4 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.2561, allocations: 174.5 kB / 334.5 MB, free: 12.26 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.2562, allocations: 26.73 kB / 334.5 MB, free: 12.23 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.2563, allocations: 142.7 kB / 334.6 MB, free: 12.09 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.2564, allocations: 58.11 kB / 334.7 MB, free: 12.04 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/0.2564, allocations: 5.031 kB / 334.7 MB, free: 12.04 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2565, allocations: 334.6 kB / 335 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.2566, allocations: 48.36 kB / 335.1 MB, free: 11.69 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.2568, allocations: 74.34 kB / 335.1 MB, free: 11.64 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.2569, allocations: 63.06 kB / 335.2 MB, free: 11.61 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2569, allocations: 0 / 335.2 MB, free: 11.61 MB / 270.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004478/0.2574, allocations: 232.6 kB / 335.4 MB, free: 11.47 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2574, allocations: 5.438 kB / 335.4 MB, free: 11.47 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.2574, allocations: 0 / 335.4 MB, free: 11.47 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.2586, allocations: 227.1 kB / 335.6 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.2588, allocations: 31.97 kB / 335.7 MB, free: 11.31 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004816/0.2593, allocations: 0.6147 MB / 336.3 MB, free: 10.67 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.2594, allocations: 19.94 kB / 336.3 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.2594, allocations: 8 kB / 336.3 MB, free: 10.64 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 (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.0001302/0.2596, allocations: 133.8 kB / 336.5 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.2596, allocations: 15.81 kB / 336.5 MB, free: 10.49 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.2601, allocations: 228.2 kB / 336.7 MB, free: 10.25 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2601, allocations: 4 kB / 336.7 MB, free: 10.25 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2601, allocations: 7.953 kB / 336.7 MB, free: 10.24 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.2601, allocations: 0 / 336.7 MB, free: 10.24 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000915/0.261, allocations: 0.5897 MB / 337.3 MB, free: 9.59 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.2611, allocations: 7.984 kB / 337.3 MB, free: 9.582 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.2612, allocations: 32.02 kB / 337.3 MB, free: 9.551 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009827/0.2622, allocations: 212.6 kB / 337.5 MB, free: 9.34 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.2622, allocations: 4 kB / 337.5 MB, free: 9.336 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004726/0.2627, allocations: 0.6265 MB / 338.2 MB, free: 8.684 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2627, allocations: 3.938 kB / 338.2 MB, free: 8.68 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008938/0.2636, allocations: 429.1 kB / 338.6 MB, free: 8.238 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.2637, allocations: 96.89 kB / 338.7 MB, free: 8.125 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.2637, allocations: 3.953 kB / 338.7 MB, free: 8.121 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.2639, allocations: 15.98 kB / 338.7 MB, free: 8.105 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.2639, allocations: 11.98 kB / 338.7 MB, free: 8.094 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.264, allocations: 12.16 kB / 338.7 MB, free: 8.082 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.2641, allocations: 123.2 kB / 338.9 MB, free: 7.961 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2641, allocations: 0 / 338.9 MB, free: 7.961 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003189/0.2644, allocations: 59.84 kB / 338.9 MB, free: 7.902 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 (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.0001745/0.2646, allocations: 107.2 kB / 339 MB, free: 7.789 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003869/0.265, allocations: 155.8 kB / 339.2 MB, free: 7.637 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.265, allocations: 0 / 339.2 MB, free: 7.637 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.2652, allocations: 87.89 kB / 339.3 MB, free: 7.551 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.2655, allocations: 26.33 kB / 339.3 MB, free: 7.527 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.2667, allocations: 0.6802 MB / 340 MB, free: 6.82 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.2671, allocations: 0.7324 MB / 340.7 MB, free: 6.062 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.813e-05/0.2672, allocations: 13.56 kB / 340.7 MB, free: 6.047 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.2672, allocations: 11.44 kB / 340.7 MB, free: 6.035 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2672, allocations: 0 / 340.7 MB, free: 6.035 MB / 270.1 MB Notification: Performance of Templates: time 0.005475/0.2727, allocations: 2.294 MB / 343 MB, free: 3.742 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1)