Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001218/0.001218, allocations: 179.4 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.125/1.125, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0016/0.0016, allocations: 112.9 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002927, allocations: 12 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07287/0.07318, allocations: 44.5 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.209/0.2822, allocations: 74.74 MB / 429.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.2824, allocations: 71.41 kB / 429.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01878/0.3012, allocations: 8.751 MB / 438.6 MB, free: 7.488 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3013, allocations: 2.812 kB / 438.6 MB, free: 7.488 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.3013, allocations: 16 kB / 438.6 MB, free: 7.473 MB / 314.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.0009691/0.3023, allocations: 0.8118 MB / 439.5 MB, free: 6.652 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.3023, allocations: 8.031 kB / 439.5 MB, free: 6.645 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.376e-05/0.3024, allocations: 71.16 kB / 439.5 MB, free: 6.574 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.3027, allocations: 372.9 kB / 439.9 MB, free: 6.215 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.3028, allocations: 36.95 kB / 439.9 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.818e-05/0.3028, allocations: 54.19 kB / 440 MB, free: 6.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000655/0.3035, allocations: 0.537 MB / 440.5 MB, free: 5.754 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3035, allocations: 4 kB / 440.5 MB, free: 5.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.3035, allocations: 21.44 kB / 440.5 MB, free: 5.746 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.3036, allocations: 15.95 kB / 440.6 MB, free: 5.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/0.3042, allocations: 459.5 kB / 441 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.3062, allocations: 2.074 MB / 443.1 MB, free: 3.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006621/0.3068, allocations: 0.638 MB / 443.7 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.3069, allocations: 8.562 kB / 443.7 MB, free: 3.238 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.3069, allocations: 36.25 kB / 443.8 MB, free: 3.199 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 2.054e-06/0.3069, allocations: 0 / 443.8 MB, free: 3.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.003153/0.3101, allocations: 1.983 MB / 445.7 MB, free: 1.148 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.3101, allocations: 59.97 kB / 445.8 MB, free: 1.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.3103, allocations: 316.9 kB / 446.1 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3104, allocations: 37.7 kB / 446.2 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.3104, allocations: 233.1 kB / 446.4 MB, free: 500 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/0.3105, allocations: 201 kB / 446.6 MB, free: 296 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/0.3106, allocations: 8 kB / 446.6 MB, free: 288 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.506e-05/0.3106, allocations: 358.8 kB / 446.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.3109, allocations: 177 kB / 447.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.3113, allocations: 219.8 kB / 447.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.3116, allocations: 178.2 kB / 447.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3116, allocations: 0 / 447.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001046/0.3126, allocations: 0.6781 MB / 448.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3127, allocations: 4 kB / 448.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3127, allocations: 4.688 kB / 448.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/0.3133, allocations: 252.6 kB / 448.4 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.3136, allocations: 67.89 kB / 448.5 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005314/0.3189, allocations: 6.841 MB / 455.3 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.3192, allocations: 17.84 kB / 455.4 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.3192, allocations: 19.98 kB / 455.4 MB, free: 6.922 MB / 330.7 MB 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.0002078/0.3194, allocations: 173.8 kB / 455.5 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.473e-05/0.3195, allocations: 51.44 kB / 455.6 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.3197, allocations: 68.94 kB / 455.7 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3197, allocations: 6.156 kB / 455.7 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3197, allocations: 4 kB / 455.7 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3197, allocations: 3.984 kB / 455.7 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.3216, allocations: 1.357 MB / 457 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3216, allocations: 0 / 457 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.3219, allocations: 51.97 kB / 457.1 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006133/0.3225, allocations: 264.9 kB / 457.3 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.3225, allocations: 11.98 kB / 457.4 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005568/0.3281, allocations: 6.831 MB / 464.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3281, allocations: 11.98 kB / 464.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.3297, allocations: 1.037 MB / 465.2 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.3299, allocations: 152.5 kB / 465.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.062e-05/0.33, allocations: 8 kB / 465.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.3302, allocations: 27.98 kB / 465.4 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.3303, allocations: 52.42 kB / 465.5 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.3304, allocations: 19.98 kB / 465.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002233/0.3306, allocations: 259.2 kB / 465.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3306, allocations: 3.938 kB / 465.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007786/0.3314, allocations: 172 kB / 465.9 MB, free: 11.72 MB / 346.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.0001464/0.3316, allocations: 111.2 kB / 466 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.3329, allocations: 1.05 MB / 467.1 MB, free: 10.51 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.333, allocations: 4 kB / 467.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.334, allocations: 0.8491 MB / 467.9 MB, free: 9.602 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.3344, allocations: 71.52 kB / 468 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.3368, allocations: 1.52 MB / 469.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.3373, allocations: 0.8948 MB / 470.4 MB, free: 7.082 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.3374, allocations: 48.55 kB / 470.5 MB, free: 7.035 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.3375, allocations: 27.44 kB / 470.5 MB, free: 7.008 MB / 346.7 MB Notification: Performance of SimCode: time 6.52e-07/0.3375, allocations: 0 / 470.5 MB, free: 7.008 MB / 346.7 MB Notification: Performance of Templates: time 0.01227/0.3498, allocations: 7.887 MB / 478.4 MB, free: 15.18 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)