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.001266/0.001266, 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.00172/0.00172, 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.494/1.494, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0005017/0.0005019, allocations: 14.81 kB / 278.9 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2991, allocations: 47.59 MB / 326.4 MB, free: 1.668 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002535/0.3017, allocations: 1.981 MB / 328.4 MB, free: 116 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.3029, allocations: 0.649 MB / 329.1 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.303, allocations: 4.062 kB / 329.1 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.56e-05/0.3031, allocations: 26.03 kB / 329.1 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.3032, allocations: 77.34 kB / 329.2 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.3035, allocations: 62.44 kB / 329.2 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.3038, allocations: 181.2 kB / 329.4 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.304, allocations: 67.52 kB / 329.5 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.3042, allocations: 89.08 kB / 329.6 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.3043, allocations: 97.67 kB / 329.7 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.3044, allocations: 15.16 kB / 329.7 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.049e-05/0.3045, allocations: 34.16 kB / 329.7 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.3045, allocations: 33.56 kB / 329.8 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.542e-05/0.3046, allocations: 68.3 kB / 329.8 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.3048, allocations: 206.3 kB / 330 MB, free: 14.95 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.3048, allocations: 0 / 330 MB, free: 14.95 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3049, allocations: 0 / 330 MB, free: 14.95 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3049, allocations: 0 / 330 MB, free: 14.95 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.0007951/0.3057, allocations: 493.6 kB / 330.5 MB, free: 14.49 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.3057, allocations: 9.156 kB / 330.5 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.633e-05/0.3058, allocations: 29.16 kB / 330.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.3061, allocations: 231.3 kB / 330.8 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.3061, allocations: 20.11 kB / 330.8 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.3062, allocations: 21.89 kB / 330.8 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.3066, allocations: 191.1 kB / 331 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.3066, allocations: 3.906 kB / 331 MB, free: 14.08 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.3066, allocations: 10.31 kB / 331 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.3067, allocations: 4.719 kB / 331 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.307, allocations: 153 kB / 331.2 MB, free: 14.01 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.001396/0.3084, allocations: 0.9368 MB / 332.1 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.3087, allocations: 155.1 kB / 332.2 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.3087, allocations: 2.062 kB / 332.3 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.3088, allocations: 40.75 kB / 332.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.3088, allocations: 0 / 332.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.001317/0.3101, allocations: 426.2 kB / 332.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.3102, allocations: 54.09 kB / 332.8 MB, free: 12.67 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.3103, allocations: 179.3 kB / 332.9 MB, free: 12.53 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.3104, allocations: 25.7 kB / 333 MB, free: 12.5 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.3105, allocations: 142.6 kB / 333.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.3106, allocations: 58.17 kB / 333.2 MB, free: 12.31 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.3106, allocations: 5.312 kB / 333.2 MB, free: 12.31 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3107, allocations: 322.4 kB / 333.5 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.3108, allocations: 56.03 kB / 333.5 MB, free: 11.96 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.311, allocations: 75.25 kB / 333.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.3111, allocations: 63.88 kB / 333.7 MB, free: 11.88 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3111, allocations: 0 / 333.7 MB, free: 11.88 MB / 270.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004632/0.3116, allocations: 233.5 kB / 333.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3116, allocations: 12.81 kB / 333.9 MB, free: 11.74 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3116, allocations: 1.125 kB / 333.9 MB, free: 11.74 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.313, allocations: 220 kB / 334.1 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.3132, allocations: 31.14 kB / 334.2 MB, free: 11.62 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005045/0.3137, allocations: 0.6225 MB / 334.8 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.3139, allocations: 19.78 kB / 334.8 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.3139, allocations: 8 kB / 334.8 MB, free: 10.95 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.0001706/0.3141, allocations: 129.8 kB / 334.9 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.3142, allocations: 15.97 kB / 334.9 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005173/0.3147, allocations: 236.1 kB / 335.2 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3147, allocations: 0 / 335.2 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3147, allocations: 4 kB / 335.2 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3147, allocations: 3.953 kB / 335.2 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.3152, allocations: 289.5 kB / 335.5 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3152, allocations: 0 / 335.5 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.3153, allocations: 31.98 kB / 335.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.3164, allocations: 208.6 kB / 335.7 MB, free: 9.977 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.3165, allocations: 7.984 kB / 335.7 MB, free: 9.969 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004788/0.3169, allocations: 0.6264 MB / 336.3 MB, free: 9.316 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.317, allocations: 0 / 336.3 MB, free: 9.316 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/0.3175, allocations: 384.5 kB / 336.7 MB, free: 8.922 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.3176, allocations: 92.91 kB / 336.8 MB, free: 8.812 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.3176, allocations: 8.125 kB / 336.8 MB, free: 8.805 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.3178, allocations: 19.83 kB / 336.8 MB, free: 8.785 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.3178, allocations: 19.91 kB / 336.8 MB, free: 8.766 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3178, allocations: 4 kB / 336.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.3179, allocations: 127.2 kB / 337 MB, free: 8.637 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3179, allocations: 0 / 337 MB, free: 8.637 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.3183, allocations: 59.84 kB / 337 MB, free: 8.578 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.0001845/0.3185, allocations: 115.2 kB / 337.1 MB, free: 8.457 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003695/0.3188, allocations: 152.3 kB / 337.3 MB, free: 8.309 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3189, allocations: 0 / 337.3 MB, free: 8.309 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.319, allocations: 96.12 kB / 337.4 MB, free: 8.215 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.3193, allocations: 32.08 kB / 337.4 MB, free: 8.184 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.3204, allocations: 0.6707 MB / 338.1 MB, free: 7.488 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.3207, allocations: 0.7441 MB / 338.8 MB, free: 6.719 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.015e-05/0.3208, allocations: 9.547 kB / 338.8 MB, free: 6.707 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.3208, allocations: 15.44 kB / 338.9 MB, free: 6.691 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3209, allocations: 0 / 338.9 MB, free: 6.691 MB / 270.1 MB Notification: Performance of Templates: time 0.005312/0.3262, allocations: 2.272 MB / 341.1 MB, free: 4.422 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: