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.8061/0.8061, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001887/0.001887, allocations: 151.5 kB / 149.1 MB, free: 0.9531 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.222e-05/2.224e-05, allocations: 0 / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04243/0.04247, allocations: 25.18 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04866/0.09115, allocations: 36.59 MB / 242 MB, free: 3.781 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.09141, allocations: 63.97 kB / 242 MB, free: 3.719 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1357/0.2271, allocations: 8.183 MB / 250.2 MB, free: 40.96 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2271, allocations: 2.516 kB / 250.2 MB, free: 40.96 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.234e-05/0.2271, allocations: 17.5 kB / 250.2 MB, free: 40.96 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.0009833/0.2281, allocations: 0.7605 MB / 251 MB, free: 40.42 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.2282, allocations: 9.031 kB / 251 MB, free: 40.42 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.2283, allocations: 69.06 kB / 251.1 MB, free: 40.39 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.2288, allocations: 372.2 kB / 251.4 MB, free: 40.09 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.2288, allocations: 39.09 kB / 251.5 MB, free: 40.07 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.369e-05/0.2289, allocations: 52.16 kB / 251.5 MB, free: 40.05 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007894/0.2297, allocations: 0.5124 MB / 252 MB, free: 39.78 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.2297, allocations: 1.219 kB / 252 MB, free: 39.78 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.2297, allocations: 20.62 kB / 252.1 MB, free: 39.76 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.2298, allocations: 12.34 kB / 252.1 MB, free: 39.76 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007813/0.2306, allocations: 415.1 kB / 252.5 MB, free: 39.61 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.2329, allocations: 2.07 MB / 254.6 MB, free: 38.25 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007374/0.2336, allocations: 0.608 MB / 255.2 MB, free: 37.89 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/0.2341, allocations: 380.1 kB / 255.5 MB, free: 37.75 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.2341, allocations: 7.906 kB / 255.5 MB, free: 37.75 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.2341, allocations: 38.84 kB / 255.6 MB, free: 37.7 MB / 186.7 MB Notification: Performance of pre-optimization done (n=60): time 1.904e-06/0.2341, allocations: 4 kB / 255.6 MB, free: 37.7 MB / 186.7 MB Notification: Performance of matching and sorting (n=61): time 0.001648/0.2358, allocations: 1.255 MB / 256.8 MB, free: 36.96 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.2358, allocations: 59.53 kB / 256.9 MB, free: 36.9 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.2361, allocations: 319.3 kB / 257.2 MB, free: 36.73 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.2361, allocations: 37.61 kB / 257.2 MB, free: 36.69 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.2362, allocations: 228.9 kB / 257.5 MB, free: 36.51 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.711e-05/0.2363, allocations: 197.6 kB / 257.7 MB, free: 36.36 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.2363, allocations: 11.94 kB / 257.7 MB, free: 36.35 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.2364, allocations: 359.1 kB / 258 MB, free: 36.01 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.2366, allocations: 146.2 kB / 258.2 MB, free: 35.95 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.2369, allocations: 187.4 kB / 258.3 MB, free: 35.87 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.2371, allocations: 167 kB / 258.5 MB, free: 35.8 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2371, allocations: 0 / 258.5 MB, free: 35.8 MB / 186.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008128/0.2379, allocations: 0.6212 MB / 259.1 MB, free: 35.5 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.238, allocations: 9.578 kB / 259.1 MB, free: 35.5 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.238, allocations: 4.031 kB / 259.1 MB, free: 35.49 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005831/0.2386, allocations: 254.8 kB / 259.4 MB, free: 35.36 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.2388, allocations: 63.17 kB / 259.5 MB, free: 35.34 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004313/0.2432, allocations: 6.752 MB / 266.2 MB, free: 28.06 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.2435, allocations: 24.03 kB / 266.2 MB, free: 28.04 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.2435, allocations: 24.05 kB / 266.3 MB, free: 28.02 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 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.0001627/0.2437, allocations: 138.5 kB / 266.4 MB, free: 27.88 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.2438, allocations: 51.34 kB / 266.4 MB, free: 27.82 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.2439, allocations: 61.03 kB / 266.5 MB, free: 27.76 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2439, allocations: 8 kB / 266.5 MB, free: 27.75 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.2439, allocations: 3.953 kB / 266.5 MB, free: 27.75 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2439, allocations: 11.97 kB / 266.5 MB, free: 27.73 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.2455, allocations: 1.298 MB / 267.8 MB, free: 26.38 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2455, allocations: 4 kB / 267.8 MB, free: 26.38 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.2458, allocations: 59.95 kB / 267.9 MB, free: 26.32 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005431/0.2463, allocations: 255.4 kB / 268.1 MB, free: 26.06 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.2464, allocations: 12 kB / 268.1 MB, free: 26.05 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004151/0.2505, allocations: 6.751 MB / 274.9 MB, free: 18.77 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2506, allocations: 0 / 274.9 MB, free: 18.77 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.2518, allocations: 0.978 MB / 275.9 MB, free: 17.76 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.2519, allocations: 160.5 kB / 276 MB, free: 17.58 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/0.252, allocations: 12 kB / 276 MB, free: 17.57 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.2522, allocations: 28.08 kB / 276.1 MB, free: 17.54 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.2524, allocations: 56.47 kB / 276.1 MB, free: 17.49 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.2524, allocations: 12 kB / 276.1 MB, free: 17.48 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002262/0.2526, allocations: 257.2 kB / 276.4 MB, free: 17.23 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2526, allocations: 0 / 276.4 MB, free: 17.23 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007719/0.2534, allocations: 172 kB / 276.6 MB, free: 17.06 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.0001412/0.2536, allocations: 119.1 kB / 276.7 MB, free: 16.93 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.2546, allocations: 0.9898 MB / 277.7 MB, free: 15.89 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2546, allocations: 0 / 277.7 MB, free: 15.89 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007403/0.2554, allocations: 0.8096 MB / 278.5 MB, free: 15.03 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.2559, allocations: 104.2 kB / 278.6 MB, free: 14.93 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.2572, allocations: 0.9291 MB / 279.5 MB, free: 13.98 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.2575, allocations: 0.8907 MB / 280.4 MB, free: 13.06 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.2577, allocations: 56.48 kB / 280.4 MB, free: 13 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.2578, allocations: 31.42 kB / 280.5 MB, free: 12.97 MB / 186.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2578, allocations: 0 / 280.5 MB, free: 12.97 MB / 186.7 MB Notification: Performance of Templates: time 0.01142/0.2692, allocations: 8.007 MB / 288.5 MB, free: 4.969 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)