Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006036/0.006036, allocations: 165.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.244/1.244, allocations: 170.8 MB / 186.6 MB, free: 1.047 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001695/0.001696, allocations: 118.2 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 12 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2732, allocations: 38.77 MB / 312.9 MB, free: 38.84 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.3858, allocations: 69.46 MB / 382.3 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.3861, allocations: 75.95 kB / 382.4 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02285/0.4089, allocations: 8.335 MB / 390.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.409, allocations: 0 / 390.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.763e-05/0.409, allocations: 12 kB / 390.8 MB, free: 12.64 MB / 298.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.001722/0.4107, allocations: 0.8221 MB / 391.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.4108, allocations: 15.97 kB / 391.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.411, allocations: 71.11 kB / 391.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005521/0.4116, allocations: 368.9 kB / 392 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/0.4116, allocations: 37.31 kB / 392.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.039e-05/0.4117, allocations: 48 kB / 392.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009354/0.4127, allocations: 0.5453 MB / 392.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.4127, allocations: 0 / 392.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/0.4128, allocations: 20 kB / 392.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.4128, allocations: 19.98 kB / 392.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008273/0.4136, allocations: 459.6 kB / 393.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002828/0.4165, allocations: 2.069 MB / 395.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009603/0.4174, allocations: 0.6383 MB / 395.9 MB, free: 7.312 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.4175, allocations: 4.562 kB / 395.9 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.4175, allocations: 39.12 kB / 395.9 MB, free: 7.262 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 1.883e-06/0.4175, allocations: 0 / 395.9 MB, free: 7.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.004016/0.4216, allocations: 1.983 MB / 397.9 MB, free: 5.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.4216, allocations: 59.92 kB / 397.9 MB, free: 5.082 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.422, allocations: 328.8 kB / 398.3 MB, free: 4.758 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.422, allocations: 33.7 kB / 398.3 MB, free: 4.719 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.4222, allocations: 229.2 kB / 398.5 MB, free: 4.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.4224, allocations: 204.6 kB / 398.7 MB, free: 4.293 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.4224, allocations: 12 kB / 398.7 MB, free: 4.281 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4226, allocations: 354.8 kB / 399.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.4229, allocations: 173 kB / 399.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.4233, allocations: 219.8 kB / 399.5 MB, free: 3.539 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.4236, allocations: 178.2 kB / 399.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4236, allocations: 7.938 kB / 399.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001174/0.4248, allocations: 0.6734 MB / 400.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.4249, allocations: 8 kB / 400.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.4249, allocations: 3.984 kB / 400.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007205/0.4256, allocations: 259.1 kB / 400.6 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.4259, allocations: 67.89 kB / 400.7 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006654/0.4326, allocations: 6.845 MB / 407.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.433, allocations: 16.03 kB / 407.5 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.433, allocations: 19.98 kB / 407.5 MB, free: 10.91 MB / 314.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.0003034/0.4333, allocations: 173.9 kB / 407.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.212e-05/0.4334, allocations: 55.3 kB / 407.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.4335, allocations: 65.03 kB / 407.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4336, allocations: 4 kB / 407.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.4336, allocations: 4 kB / 407.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4336, allocations: 3.984 kB / 407.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.4357, allocations: 1.349 MB / 409.2 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4358, allocations: 4 kB / 409.2 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.4361, allocations: 59.91 kB / 409.2 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006894/0.4368, allocations: 263.4 kB / 409.5 MB, free: 8.844 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/0.4368, allocations: 15.95 kB / 409.5 MB, free: 8.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007559/0.4444, allocations: 6.836 MB / 416.4 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.4444, allocations: 3.953 kB / 416.4 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.4464, allocations: 1.041 MB / 417.4 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/0.4467, allocations: 160.5 kB / 417.6 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.4468, allocations: 12 kB / 417.6 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.4471, allocations: 23.98 kB / 417.6 MB, free: 172 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.4472, allocations: 52.48 kB / 417.6 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.4473, allocations: 12 kB / 417.7 MB, free: 108 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.2104/0.6577, allocations: 254.6 kB / 417.9 MB, free: 87.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.6578, allocations: 1.031 kB / 417.9 MB, free: 87.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001575/0.6594, allocations: 174.8 kB / 418.1 MB, free: 87.65 MB / 314.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.0002625/0.6596, allocations: 119.4 kB / 418.2 MB, free: 87.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002348/0.662, allocations: 1.037 MB / 419.2 MB, free: 87.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.662, allocations: 0 / 419.2 MB, free: 87.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.6634, allocations: 0.8514 MB / 420.1 MB, free: 86.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005459/0.664, allocations: 72.17 kB / 420.1 MB, free: 86.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.6664, allocations: 1.53 MB / 421.7 MB, free: 85.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.6668, allocations: 0.8887 MB / 422.6 MB, free: 85.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001724/0.667, allocations: 50.23 kB / 422.6 MB, free: 85.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.599e-05/0.6671, allocations: 30.78 kB / 422.6 MB, free: 85.26 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6671, allocations: 0 / 422.6 MB, free: 85.26 MB / 314.7 MB Notification: Performance of Templates: time 0.01442/0.6815, allocations: 7.878 MB / 430.5 MB, free: 84.12 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)