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.00113/0.00113, 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.001264/0.001264, allocations: 192.7 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.51/1.51, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.00135/0.001351, allocations: 55.94 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2771, allocations: 46.63 MB / 325.3 MB, free: 1.891 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003585/0.2808, allocations: 2.472 MB / 327.8 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.282, allocations: 0.6824 MB / 328.5 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.2822, allocations: 3.781 kB / 328.5 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.2823, allocations: 35.12 kB / 328.5 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.2825, allocations: 67 kB / 328.6 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.2828, allocations: 79.56 kB / 328.6 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.2831, allocations: 274.1 kB / 328.9 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.2833, allocations: 81.22 kB / 329 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.2835, allocations: 111.6 kB / 329.1 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.2837, allocations: 113.4 kB / 329.2 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.666e-05/0.2838, allocations: 26.75 kB / 329.2 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.2839, allocations: 37.08 kB / 329.3 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.284, allocations: 46.41 kB / 329.3 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.2841, allocations: 122.6 kB / 329.4 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.2845, allocations: 280.3 kB / 329.7 MB, free: 14.54 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2845, allocations: 0 / 329.7 MB, free: 14.54 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2845, allocations: 0 / 329.7 MB, free: 14.54 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.2845, allocations: 1.094 kB / 329.7 MB, free: 14.54 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.0008999/0.2854, allocations: 0.5213 MB / 330.2 MB, free: 14.05 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2854, allocations: 9.531 kB / 330.2 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.987e-05/0.2855, allocations: 25.47 kB / 330.3 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.2859, allocations: 240 kB / 330.5 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.2859, allocations: 21.02 kB / 330.5 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.286, allocations: 17.28 kB / 330.5 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.2864, allocations: 196.8 kB / 330.7 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.2864, allocations: 1.312 kB / 330.7 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.2864, allocations: 5.281 kB / 330.7 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2864, allocations: 5.281 kB / 330.7 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.2868, allocations: 149.2 kB / 330.9 MB, free: 13.57 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.001436/0.2882, allocations: 0.9453 MB / 331.8 MB, free: 12.69 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.2886, allocations: 154.3 kB / 332 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.2888, allocations: 100.3 kB / 332.1 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.2888, allocations: 6.203 kB / 332.1 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.2889, allocations: 35.66 kB / 332.1 MB, free: 12.5 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.2889, allocations: 1.062 kB / 332.1 MB, free: 12.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.001358/0.2902, allocations: 422 kB / 332.5 MB, free: 12.23 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.2903, allocations: 56.84 kB / 332.6 MB, free: 12.16 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.2905, allocations: 167.9 kB / 332.8 MB, free: 12.03 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2905, allocations: 27.08 kB / 332.8 MB, free: 12 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.808e-05/0.2906, allocations: 146 kB / 332.9 MB, free: 11.86 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.2907, allocations: 63 kB / 333 MB, free: 11.8 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.2908, allocations: 37.08 kB / 333 MB, free: 11.77 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.2909, allocations: 331.7 kB / 333.3 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.291, allocations: 48.66 kB / 333.4 MB, free: 11.42 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.2911, allocations: 69.31 kB / 333.5 MB, free: 11.38 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.2914, allocations: 120.8 kB / 333.6 MB, free: 11.31 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2914, allocations: 1.156 kB / 333.6 MB, free: 11.31 MB / 270.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003959/0.2918, allocations: 225.2 kB / 333.8 MB, free: 11.1 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2918, allocations: 11.92 kB / 333.8 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2918, allocations: 4 kB / 333.8 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.2932, allocations: 220.6 kB / 334 MB, free: 10.87 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.2933, allocations: 27.98 kB / 334.1 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005004/0.2938, allocations: 0.607 MB / 334.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.2939, allocations: 23.88 kB / 334.7 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.294, allocations: 4 kB / 334.7 MB, free: 10.18 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.0001202/0.2941, allocations: 129.8 kB / 334.8 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.2941, allocations: 15.81 kB / 334.8 MB, free: 10.03 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00045/0.2946, allocations: 236.2 kB / 335.1 MB, free: 9.785 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2946, allocations: 0 / 335.1 MB, free: 9.785 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2946, allocations: 4 kB / 335.1 MB, free: 9.781 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.2946, allocations: 4 kB / 335.1 MB, free: 9.777 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000826/0.2955, allocations: 0.5973 MB / 335.7 MB, free: 9.117 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2955, allocations: 0 / 335.7 MB, free: 9.117 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.2956, allocations: 27.98 kB / 335.7 MB, free: 9.09 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.2967, allocations: 208.5 kB / 335.9 MB, free: 8.883 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.2967, allocations: 4 kB / 335.9 MB, free: 8.879 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004338/0.2971, allocations: 0.6225 MB / 336.5 MB, free: 8.23 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2971, allocations: 0 / 336.5 MB, free: 8.23 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000778/0.2979, allocations: 424.8 kB / 336.9 MB, free: 7.793 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.298, allocations: 96.89 kB / 337 MB, free: 7.68 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.298, allocations: 8.062 kB / 337 MB, free: 7.672 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.2982, allocations: 11.98 kB / 337.1 MB, free: 7.66 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.2982, allocations: 11.98 kB / 337.1 MB, free: 7.648 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.2982, allocations: 4 kB / 337.1 MB, free: 7.645 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.581e-05/0.2983, allocations: 128.2 kB / 337.2 MB, free: 7.52 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2983, allocations: 0 / 337.2 MB, free: 7.52 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.2987, allocations: 55.84 kB / 337.2 MB, free: 7.465 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.0001706/0.2988, allocations: 119.2 kB / 337.4 MB, free: 7.34 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.2993, allocations: 143.9 kB / 337.5 MB, free: 7.199 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2993, allocations: 0 / 337.5 MB, free: 7.199 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.2995, allocations: 87.83 kB / 337.6 MB, free: 7.113 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.2999, allocations: 34.27 kB / 337.6 MB, free: 7.082 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00094/0.3008, allocations: 0.5531 MB / 338.2 MB, free: 6.5 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.3011, allocations: 0.7361 MB / 338.9 MB, free: 5.738 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.723e-05/0.3012, allocations: 9.562 kB / 338.9 MB, free: 5.73 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.3012, allocations: 19.38 kB / 338.9 MB, free: 5.711 MB / 270.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3012, allocations: 0 / 338.9 MB, free: 5.711 MB / 270.1 MB Notification: Performance of Templates: time 0.005942/0.3072, allocations: 2.534 MB / 341.5 MB, free: 3.18 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (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)