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.6636/0.6636, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001583/0.001583, allocations: 143.3 kB / 151.9 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002348/0.0002348, allocations: 4 kB / 184.9 MB, free: 3.93 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1072, allocations: 25.16 MB / 210.1 MB, free: 29.73 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04041/0.1476, allocations: 36.68 MB / 246.7 MB, free: 13.15 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.1479, allocations: 73.44 kB / 246.8 MB, free: 13.08 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02148/0.1694, allocations: 8.158 MB / 255 MB, free: 4.957 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1694, allocations: 0 / 255 MB, free: 4.957 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.334e-05/0.1694, allocations: 12 kB / 255 MB, free: 4.945 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.001205/0.1706, allocations: 0.8338 MB / 255.8 MB, free: 4.062 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1707, allocations: 8.031 kB / 255.8 MB, free: 4.055 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.1708, allocations: 71.16 kB / 255.9 MB, free: 3.984 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.1712, allocations: 368.9 kB / 256.2 MB, free: 3.582 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.1713, allocations: 41.3 kB / 256.3 MB, free: 3.543 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/0.1713, allocations: 52 kB / 256.3 MB, free: 3.492 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008203/0.1722, allocations: 0.5375 MB / 256.9 MB, free: 2.926 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1722, allocations: 4 kB / 256.9 MB, free: 2.922 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/0.1722, allocations: 20 kB / 256.9 MB, free: 2.902 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.1723, allocations: 12 kB / 256.9 MB, free: 2.891 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007938/0.1731, allocations: 466.9 kB / 257.4 MB, free: 2.434 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.1757, allocations: 2.065 MB / 259.4 MB, free: 288 kB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008956/0.1766, allocations: 0.6433 MB / 260.1 MB, free: 15.6 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.1766, allocations: 8.562 kB / 260.1 MB, free: 15.59 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.1767, allocations: 40.31 kB / 260.1 MB, free: 15.55 MB / 202.7 MB Notification: Performance of pre-optimization done (n=60): time 1.994e-06/0.1767, allocations: 0 / 260.1 MB, free: 15.55 MB / 202.7 MB Notification: Performance of matching and sorting (n=61): time 0.003965/0.1806, allocations: 1.976 MB / 262.1 MB, free: 13.45 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.1807, allocations: 67.91 kB / 262.2 MB, free: 13.37 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.1811, allocations: 320.8 kB / 262.5 MB, free: 13.05 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.1811, allocations: 41.7 kB / 262.5 MB, free: 13 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.1812, allocations: 225.2 kB / 262.7 MB, free: 12.78 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.1814, allocations: 201 kB / 262.9 MB, free: 12.58 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.1814, allocations: 12 kB / 262.9 MB, free: 12.57 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1816, allocations: 354.8 kB / 263.3 MB, free: 12.21 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.1819, allocations: 169 kB / 263.5 MB, free: 12.05 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.1822, allocations: 219.8 kB / 263.7 MB, free: 11.83 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.1825, allocations: 183.1 kB / 263.9 MB, free: 11.66 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1826, allocations: 4 kB / 263.9 MB, free: 11.65 MB / 202.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001106/0.1837, allocations: 0.6657 MB / 264.5 MB, free: 10.97 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1837, allocations: 7.953 kB / 264.5 MB, free: 10.96 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1837, allocations: 7.984 kB / 264.5 MB, free: 10.95 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000712/0.1844, allocations: 252.8 kB / 264.8 MB, free: 10.7 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.1848, allocations: 67.89 kB / 264.9 MB, free: 10.63 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006433/0.1912, allocations: 6.842 MB / 271.7 MB, free: 3.258 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.1916, allocations: 20.03 kB / 271.7 MB, free: 3.238 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.1917, allocations: 23.98 kB / 271.7 MB, free: 3.215 MB / 202.7 MB Warning: Assuming fixed start value for the following 2 variables: Inductor3.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real Inductor2.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" 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 () * Number of clocked 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.0003539/0.192, allocations: 177.5 kB / 271.9 MB, free: 3.035 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/0.1921, allocations: 51.42 kB / 272 MB, free: 2.984 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.1923, allocations: 69.02 kB / 272 MB, free: 2.918 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1923, allocations: 4 kB / 272 MB, free: 2.914 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.1923, allocations: 7.953 kB / 272 MB, free: 2.906 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1923, allocations: 0 / 272 MB, free: 2.906 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.1944, allocations: 1.349 MB / 273.4 MB, free: 1.488 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1944, allocations: 0 / 273.4 MB, free: 1.488 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.1947, allocations: 59.95 kB / 273.4 MB, free: 1.43 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006677/0.1954, allocations: 259.4 kB / 273.7 MB, free: 1.164 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.1954, allocations: 8 kB / 273.7 MB, free: 1.156 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00606/0.2015, allocations: 6.842 MB / 280.6 MB, free: 9.777 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2015, allocations: 0 / 280.6 MB, free: 9.777 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.2032, allocations: 1.037 MB / 281.6 MB, free: 8.711 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.2035, allocations: 168.4 kB / 281.8 MB, free: 8.527 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.2035, allocations: 12 kB / 281.8 MB, free: 8.516 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.2038, allocations: 27.94 kB / 281.8 MB, free: 8.488 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.2039, allocations: 56.42 kB / 281.8 MB, free: 8.434 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.204, allocations: 12 kB / 281.9 MB, free: 8.422 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0002931/0.2043, allocations: 263.2 kB / 282.1 MB, free: 8.168 MB / 218.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2043, allocations: 0 / 282.1 MB, free: 8.168 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.0008391/0.2051, allocations: 172 kB / 282.3 MB, free: 8 MB / 218.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 () * Number of clocked 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.0001638/0.2053, allocations: 111.2 kB / 282.4 MB, free: 7.883 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.2069, allocations: 1.05 MB / 283.4 MB, free: 6.781 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2069, allocations: 0 / 283.4 MB, free: 6.781 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.2081, allocations: 0.853 MB / 284.3 MB, free: 5.879 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005675/0.2087, allocations: 105.1 kB / 284.4 MB, free: 5.781 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.2108, allocations: 1.447 MB / 285.8 MB, free: 4.312 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.2113, allocations: 0.8909 MB / 286.7 MB, free: 3.395 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.0001931/0.2115, allocations: 52.55 kB / 286.8 MB, free: 3.344 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.2116, allocations: 27.44 kB / 286.8 MB, free: 3.316 MB / 218.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2116, allocations: 0 / 286.8 MB, free: 3.316 MB / 218.7 MB Notification: Performance of Templates: time 0.1009/0.3126, allocations: 8.003 MB / 294.8 MB, free: 61.26 MB / 218.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)