Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001094/0.001094, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001217/0.001217, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.0004894/0.0004895, allocations: 15.12 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2314, allocations: 47.58 MB / 326.4 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002344/0.2338, allocations: 1.986 MB / 328.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2349, allocations: 0.6459 MB / 329.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.96e-05/0.235, allocations: 2.562 kB / 329.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.101e-05/0.2351, allocations: 22.67 kB / 329.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.2353, allocations: 81.38 kB / 329.2 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.2355, allocations: 58.41 kB / 329.2 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.2358, allocations: 184.5 kB / 329.4 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.236, allocations: 71.97 kB / 329.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.2362, allocations: 93.66 kB / 329.6 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.2364, allocations: 97.5 kB / 329.7 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.2364, allocations: 11.62 kB / 329.7 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.029e-05/0.2365, allocations: 29.27 kB / 329.7 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/0.2365, allocations: 37.38 kB / 329.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.2366, allocations: 67.86 kB / 329.8 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.2368, allocations: 199.1 kB / 330 MB, free: 14.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2369, allocations: 0 / 330 MB, free: 14.68 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2369, allocations: 0 / 330 MB, free: 14.68 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2369, allocations: 4 kB / 330 MB, free: 14.68 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.0009388/0.2378, allocations: 497.2 kB / 330.5 MB, free: 14.22 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.2379, allocations: 10 kB / 330.5 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.921e-05/0.238, allocations: 24.72 kB / 330.5 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.2384, allocations: 234.6 kB / 330.8 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.2384, allocations: 20.89 kB / 330.8 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.2385, allocations: 24.31 kB / 330.8 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.2389, allocations: 184.2 kB / 331 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.2389, allocations: 3.906 kB / 331 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.239, allocations: 10.22 kB / 331 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.239, allocations: 9.297 kB / 331 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003641/0.2394, allocations: 152.2 kB / 331.2 MB, free: 13.73 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.001612/0.241, allocations: 0.933 MB / 332.1 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.2414, allocations: 155.2 kB / 332.2 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.2414, allocations: 6.156 kB / 332.2 MB, free: 12.78 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.2414, allocations: 32.84 kB / 332.3 MB, free: 12.74 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.2415, allocations: 0 / 332.3 MB, free: 12.74 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.00138/0.2428, allocations: 430.4 kB / 332.7 MB, free: 12.46 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.2429, allocations: 57.61 kB / 332.8 MB, free: 12.4 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.2431, allocations: 169.8 kB / 332.9 MB, free: 12.26 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.2431, allocations: 27.95 kB / 332.9 MB, free: 12.23 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.995e-05/0.2432, allocations: 142.2 kB / 333.1 MB, free: 12.1 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.2433, allocations: 65.83 kB / 333.2 MB, free: 12.04 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.2433, allocations: 5.75 kB / 333.2 MB, free: 12.04 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2435, allocations: 330.2 kB / 333.5 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.2436, allocations: 47.42 kB / 333.5 MB, free: 11.69 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.2437, allocations: 78.77 kB / 333.6 MB, free: 11.64 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.2439, allocations: 63.2 kB / 333.7 MB, free: 11.61 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2439, allocations: 1.031 kB / 333.7 MB, free: 11.61 MB / 270.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004715/0.2444, allocations: 237.5 kB / 333.9 MB, free: 11.46 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2444, allocations: 5.5 kB / 333.9 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2444, allocations: 1.219 kB / 333.9 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.2457, allocations: 223.3 kB / 334.1 MB, free: 11.37 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.2459, allocations: 32.92 kB / 334.2 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005537/0.2465, allocations: 0.6183 MB / 334.8 MB, free: 10.78 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.2466, allocations: 18.03 kB / 334.8 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.2466, allocations: 13.36 kB / 334.8 MB, free: 10.76 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.0001289/0.2468, allocations: 125.8 kB / 334.9 MB, free: 10.63 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.2468, allocations: 12.03 kB / 334.9 MB, free: 10.63 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.2473, allocations: 235.1 kB / 335.2 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.2473, allocations: 7.984 kB / 335.2 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2473, allocations: 4 kB / 335.2 MB, free: 10.42 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2473, allocations: 3.953 kB / 335.2 MB, free: 10.42 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.2477, allocations: 281.5 kB / 335.5 MB, free: 10.09 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2477, allocations: 0 / 335.5 MB, free: 10.09 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.2478, allocations: 31.97 kB / 335.5 MB, free: 10.06 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/0.2489, allocations: 216.5 kB / 335.7 MB, free: 9.848 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2489, allocations: 4 kB / 335.7 MB, free: 9.844 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004237/0.2493, allocations: 0.6264 MB / 336.3 MB, free: 9.191 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2493, allocations: 0 / 336.3 MB, free: 9.191 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.2499, allocations: 392.5 kB / 336.7 MB, free: 8.789 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.25, allocations: 100.8 kB / 336.8 MB, free: 8.672 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.25, allocations: 4 kB / 336.8 MB, free: 8.668 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.2501, allocations: 15.91 kB / 336.8 MB, free: 8.652 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.2502, allocations: 7.984 kB / 336.8 MB, free: 8.645 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.2502, allocations: 7.984 kB / 336.8 MB, free: 8.637 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.438e-05/0.2503, allocations: 131.3 kB / 337 MB, free: 8.508 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2503, allocations: 0 / 337 MB, free: 8.508 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.2506, allocations: 59.84 kB / 337 MB, free: 8.449 MB / 270.1 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.0001589/0.2508, allocations: 103.2 kB / 337.1 MB, free: 8.34 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003723/0.2512, allocations: 156.3 kB / 337.3 MB, free: 8.188 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2512, allocations: 4.062 kB / 337.3 MB, free: 8.184 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.2514, allocations: 96.08 kB / 337.4 MB, free: 8.09 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.2517, allocations: 28.02 kB / 337.4 MB, free: 8.062 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009918/0.2527, allocations: 0.6668 MB / 338.1 MB, free: 7.371 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.253, allocations: 0.7441 MB / 338.8 MB, free: 6.602 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.759e-05/0.253, allocations: 9.547 kB / 338.8 MB, free: 6.59 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.2531, allocations: 19.44 kB / 338.9 MB, free: 6.57 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2531, allocations: 0 / 338.9 MB, free: 6.57 MB / 270.1 MB Notification: Performance of Templates: time 0.005524/0.2586, allocations: 2.284 MB / 341.1 MB, free: 4.289 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) Environment - environmentSimulation: