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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6407/0.6407, allocations: 110.8 MB / 118 MB, free: 14.54 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001745/0.001745, allocations: 160 kB / 143.7 MB, free: 4.863 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.332e-06/6.352e-06, allocations: 0 / 173.5 MB, free: 23.02 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04542/0.04544, allocations: 25.16 MB / 198.6 MB, free: 13.93 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.1803, allocations: 35.86 MB / 234.5 MB, free: 4.469 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.1806, allocations: 64.94 kB / 234.5 MB, free: 4.469 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.0216/0.2022, allocations: 7.859 MB / 242.4 MB, free: 3.344 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.587e-05/0.2023, allocations: 11.06 kB / 242.4 MB, free: 3.344 MB / 170.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.001319/0.2036, allocations: 0.7788 MB / 243.2 MB, free: 2.75 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.2037, allocations: 7.312 kB / 243.2 MB, free: 2.75 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.2039, allocations: 72.81 kB / 243.3 MB, free: 2.715 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.2045, allocations: 365.4 kB / 243.6 MB, free: 2.434 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.2046, allocations: 19.47 kB / 243.6 MB, free: 2.43 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.443e-05/0.2046, allocations: 26.84 kB / 243.7 MB, free: 2.43 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006996/0.2053, allocations: 383.2 kB / 244 MB, free: 2.406 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.206, allocations: 442.9 kB / 244.5 MB, free: 2.246 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.2061, allocations: 0 / 244.5 MB, free: 2.246 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.2061, allocations: 7.906 kB / 244.5 MB, free: 2.242 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.2061, allocations: 11.75 kB / 244.5 MB, free: 2.242 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.2086, allocations: 1.969 MB / 246.5 MB, free: 1.051 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.209, allocations: 242.2 kB / 246.7 MB, free: 1.02 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003984/0.2094, allocations: 355.1 kB / 247.1 MB, free: 1 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.2095, allocations: 4.406 kB / 247.1 MB, free: 0.9961 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.2095, allocations: 42.19 kB / 247.1 MB, free: 0.9531 MB / 170.7 MB Notification: Performance of pre-optimization done (n=60): time 2.264e-06/0.2095, allocations: 0 / 247.1 MB, free: 0.9531 MB / 170.7 MB Notification: Performance of matching and sorting (n=61): time 0.001801/0.2113, allocations: 1.137 MB / 248.2 MB, free: 484 kB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.2113, allocations: 59.66 kB / 248.3 MB, free: 420 kB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.2116, allocations: 277.6 kB / 248.6 MB, free: 292 kB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.2116, allocations: 29.64 kB / 248.6 MB, free: 256 kB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.2117, allocations: 199.2 kB / 248.8 MB, free: 92 kB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.2118, allocations: 187.1 kB / 249 MB, free: 15.94 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.2119, allocations: 0 / 249 MB, free: 15.94 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.212, allocations: 353.4 kB / 249.3 MB, free: 15.61 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.2122, allocations: 135.7 kB / 249.5 MB, free: 15.61 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.2125, allocations: 179.2 kB / 249.6 MB, free: 15.58 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.2128, allocations: 155.8 kB / 249.8 MB, free: 15.55 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2128, allocations: 1.188 kB / 249.8 MB, free: 15.55 MB / 186.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00094/0.2138, allocations: 0.5772 MB / 250.4 MB, free: 15.41 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2138, allocations: 8.875 kB / 250.4 MB, free: 15.4 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2138, allocations: 3.625 kB / 250.4 MB, free: 15.4 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006744/0.2145, allocations: 235.4 kB / 250.6 MB, free: 15.33 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.2148, allocations: 73.05 kB / 250.7 MB, free: 15.31 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006327/0.2212, allocations: 6.391 MB / 257.1 MB, free: 9.879 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.2215, allocations: 16.53 kB / 257.1 MB, free: 9.871 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.2216, allocations: 18.5 kB / 257.1 MB, free: 9.867 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.0002322/0.2218, allocations: 125.7 kB / 257.2 MB, free: 9.746 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.2219, allocations: 46.09 kB / 257.3 MB, free: 9.723 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.2221, allocations: 55.36 kB / 257.3 MB, free: 9.707 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.2221, allocations: 6.125 kB / 257.3 MB, free: 9.707 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.2221, allocations: 1.719 kB / 257.3 MB, free: 9.707 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.2221, allocations: 8.453 kB / 257.3 MB, free: 9.699 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.224, allocations: 1.167 MB / 258.5 MB, free: 9.207 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.224, allocations: 0 / 258.5 MB, free: 9.207 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.2243, allocations: 61.31 kB / 258.6 MB, free: 9.195 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007084/0.2251, allocations: 248.8 kB / 258.8 MB, free: 9.113 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.2251, allocations: 5.188 kB / 258.8 MB, free: 9.113 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006001/0.2311, allocations: 6.397 MB / 265.2 MB, free: 3.68 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2311, allocations: 1.188 kB / 265.2 MB, free: 3.68 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001426/0.2326, allocations: 0.9065 MB / 266.1 MB, free: 3.414 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/0.2328, allocations: 160.1 kB / 266.3 MB, free: 3.277 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.2329, allocations: 1.375 kB / 266.3 MB, free: 3.277 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.2332, allocations: 12.23 kB / 266.3 MB, free: 3.273 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.2333, allocations: 36.44 kB / 266.3 MB, free: 3.258 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.2334, allocations: 22 kB / 266.3 MB, free: 3.25 MB / 186.7 MB Notification: Performance of sort global known variables: time 0.0002609/0.2336, allocations: 217.3 kB / 266.6 MB, free: 3.16 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0009338/0.2346, allocations: 150.5 kB / 266.7 MB, free: 3.152 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.0001976/0.2348, allocations: 102.6 kB / 266.8 MB, free: 3.059 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.2364, allocations: 0.8624 MB / 267.7 MB, free: 2.602 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2364, allocations: 0 / 267.7 MB, free: 2.602 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.2374, allocations: 0.6981 MB / 268.4 MB, free: 2.145 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.2379, allocations: 70.25 kB / 268.4 MB, free: 2.121 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.24, allocations: 0.8939 MB / 269.3 MB, free: 1.598 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005988/0.2407, allocations: 0.9057 MB / 270.2 MB, free: 0.7969 MB / 186.7 MB Notification: Performance of SimCode: time 6.42e-07/0.2407, allocations: 0 / 270.2 MB, free: 0.7969 MB / 186.7 MB Notification: Performance of Templates: time 0.01638/0.2571, allocations: 7.706 MB / 277.9 MB, free: 9.609 MB / 202.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)