Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8164/0.8164, allocations: 110.8 MB / 118.3 MB, free: 14.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001541/0.001541, allocations: 163.4 kB / 144 MB, free: 4.789 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.733e-05, allocations: 3.938 kB / 173.9 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05616/0.0562, allocations: 25.18 MB / 199 MB, free: 13.69 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06736/0.1236, allocations: 35.92 MB / 235 MB, free: 9.707 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.124, allocations: 63.97 kB / 235 MB, free: 9.645 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02252/0.1465, allocations: 8.089 MB / 243.1 MB, free: 1.539 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1466, allocations: 0 / 243.1 MB, free: 1.539 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.513e-05/0.1466, allocations: 15.98 kB / 243.1 MB, free: 1.523 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001155/0.1478, allocations: 0.7519 MB / 243.9 MB, free: 0.7266 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1478, allocations: 8.031 kB / 243.9 MB, free: 0.7188 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.1479, allocations: 71.16 kB / 244 MB, free: 0.6484 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.1484, allocations: 371.3 kB / 244.3 MB, free: 248 kB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1484, allocations: 16 kB / 244.3 MB, free: 232 kB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.417e-05/0.1485, allocations: 32 kB / 244.4 MB, free: 200 kB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1164/0.265, allocations: 371.8 kB / 244.7 MB, free: 40.1 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008204/0.2658, allocations: 448.3 kB / 245.2 MB, free: 40 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.2658, allocations: 3.031 kB / 245.2 MB, free: 40 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.2659, allocations: 1.844 kB / 245.2 MB, free: 40 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.2659, allocations: 12.58 kB / 245.2 MB, free: 40 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.2686, allocations: 1.964 MB / 247.1 MB, free: 39.17 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/0.2693, allocations: 0.5778 MB / 247.7 MB, free: 39.04 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004155/0.2697, allocations: 359.5 kB / 248.1 MB, free: 39.03 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.2697, allocations: 6.172 kB / 248.1 MB, free: 39.03 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.2698, allocations: 39.38 kB / 248.1 MB, free: 38.99 MB / 186.7 MB Notification: Performance of pre-optimization done (n=60): time 2.124e-06/0.2698, allocations: 0 / 248.1 MB, free: 38.99 MB / 186.7 MB Notification: Performance of matching and sorting (n=61): time 0.001741/0.2715, allocations: 1.151 MB / 249.3 MB, free: 38.55 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.2716, allocations: 57.84 kB / 249.3 MB, free: 38.48 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.2719, allocations: 273.8 kB / 249.6 MB, free: 38.33 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.2719, allocations: 25.7 kB / 249.6 MB, free: 38.3 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.272, allocations: 237.6 kB / 249.9 MB, free: 38.12 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.2721, allocations: 194.7 kB / 250 MB, free: 37.98 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.2722, allocations: 0 / 250 MB, free: 37.98 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 7.302e-05/0.2722, allocations: 357.5 kB / 250.4 MB, free: 37.65 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.2724, allocations: 138.3 kB / 250.5 MB, free: 37.59 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.2727, allocations: 175.9 kB / 250.7 MB, free: 37.51 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.2729, allocations: 149.8 kB / 250.8 MB, free: 37.45 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2729, allocations: 0 / 250.8 MB, free: 37.45 MB / 186.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008869/0.2738, allocations: 0.5691 MB / 251.4 MB, free: 37.2 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2739, allocations: 10.05 kB / 251.4 MB, free: 37.19 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2739, allocations: 5.281 kB / 251.4 MB, free: 37.19 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/0.2745, allocations: 243.5 kB / 251.7 MB, free: 37.1 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.2748, allocations: 63.62 kB / 251.7 MB, free: 37.09 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004478/0.2793, allocations: 6.519 MB / 258.2 MB, free: 31.24 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.2796, allocations: 9.875 kB / 258.3 MB, free: 31.24 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.2797, allocations: 19.28 kB / 258.3 MB, free: 31.23 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: Inductor3.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real Inductor2.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: IdealDiode3.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real IdealDiode6.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: IdealDiode2.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real IdealDiode5.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: IdealDiode1.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real IdealDiode4.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.2799, allocations: 134.6 kB / 258.4 MB, free: 31.11 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.28, allocations: 46.81 kB / 258.5 MB, free: 31.09 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.2801, allocations: 64.5 kB / 258.5 MB, free: 31.04 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.2801, allocations: 6.875 kB / 258.5 MB, free: 31.04 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.2801, allocations: 2.625 kB / 258.5 MB, free: 31.04 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2801, allocations: 2.953 kB / 258.5 MB, free: 31.04 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.2818, allocations: 1.167 MB / 259.7 MB, free: 30.4 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2818, allocations: 3.25 kB / 259.7 MB, free: 30.4 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.2821, allocations: 62.27 kB / 259.8 MB, free: 30.39 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005201/0.2826, allocations: 248.2 kB / 260 MB, free: 30.29 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.2827, allocations: 7.312 kB / 260 MB, free: 30.29 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004162/0.2868, allocations: 6.525 MB / 266.5 MB, free: 24.4 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.2869, allocations: 2.719 kB / 266.5 MB, free: 24.4 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.288, allocations: 0.9128 MB / 267.4 MB, free: 23.91 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.2882, allocations: 164.1 kB / 267.6 MB, free: 23.77 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.2883, allocations: 0 / 267.6 MB, free: 23.77 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.2885, allocations: 9.344 kB / 267.6 MB, free: 23.77 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2887, allocations: 52.41 kB / 267.7 MB, free: 23.77 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.2887, allocations: 15.12 kB / 267.7 MB, free: 23.76 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001695/0.2889, allocations: 218.4 kB / 267.9 MB, free: 23.64 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2889, allocations: 0 / 267.9 MB, free: 23.64 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0008595/0.2897, allocations: 157.4 kB / 268.1 MB, free: 23.64 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001566/0.2899, allocations: 106.2 kB / 268.2 MB, free: 23.54 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.2911, allocations: 0.9276 MB / 269.1 MB, free: 22.91 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2911, allocations: 3.609 kB / 269.1 MB, free: 22.91 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007043/0.2918, allocations: 0.7642 MB / 269.9 MB, free: 22.34 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.2923, allocations: 73.34 kB / 269.9 MB, free: 22.32 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.2937, allocations: 0.8821 MB / 270.8 MB, free: 21.83 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.2941, allocations: 0.8961 MB / 271.7 MB, free: 21.12 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.2942, allocations: 53.31 kB / 271.8 MB, free: 21.1 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.2943, allocations: 24.09 kB / 271.8 MB, free: 21.09 MB / 186.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2943, allocations: 0 / 271.8 MB, free: 21.09 MB / 186.7 MB Notification: Performance of Templates: time 0.01037/0.3047, allocations: 7.124 MB / 278.9 MB, free: 15.42 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)