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.001066/0.001066, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.353/1.353, allocations: 194.3 MB / 203.1 MB, free: 9.258 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001662/0.001662, allocations: 121.7 kB / 248.1 MB, free: 6.359 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.767e-05/1.769e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08514/0.08517, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2681/0.3533, allocations: 73.99 MB / 416.6 MB, free: 21.85 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.3536, allocations: 76.11 kB / 416.6 MB, free: 21.81 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0206/0.3742, allocations: 8.68 MB / 425.3 MB, free: 14.64 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3742, allocations: 4 kB / 425.3 MB, free: 14.64 MB / 315.1 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.3743, allocations: 12 kB / 425.3 MB, free: 14.63 MB / 315.1 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.0009214/0.3752, allocations: 0.7509 MB / 426.1 MB, free: 13.86 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3752, allocations: 8.031 kB / 426.1 MB, free: 13.86 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.478e-05/0.3753, allocations: 71.08 kB / 426.2 MB, free: 13.79 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.3757, allocations: 368.2 kB / 426.5 MB, free: 13.43 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.3757, allocations: 24 kB / 426.5 MB, free: 13.41 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.015e-05/0.3758, allocations: 28 kB / 426.6 MB, free: 13.38 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005447/0.3764, allocations: 372.5 kB / 426.9 MB, free: 13.16 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006051/0.377, allocations: 449.5 kB / 427.4 MB, free: 12.8 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.377, allocations: 0 / 427.4 MB, free: 12.8 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.377, allocations: 4.797 kB / 427.4 MB, free: 12.8 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.3771, allocations: 16 kB / 427.4 MB, free: 12.78 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.3792, allocations: 1.961 MB / 429.3 MB, free: 11.13 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/0.3798, allocations: 0.5861 MB / 429.9 MB, free: 10.74 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.3802, allocations: 356.1 kB / 430.3 MB, free: 10.51 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.3802, allocations: 8.547 kB / 430.3 MB, free: 10.5 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.3802, allocations: 42.81 kB / 430.3 MB, free: 10.46 MB / 315.1 MB Notification: Performance of pre-optimization done (n=60): time 1.883e-06/0.3802, allocations: 4 kB / 430.3 MB, free: 10.45 MB / 315.1 MB Notification: Performance of matching and sorting (n=61): time 0.001561/0.3818, allocations: 1.152 MB / 431.5 MB, free: 9.488 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.3819, allocations: 61.47 kB / 431.5 MB, free: 9.418 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.3821, allocations: 266.5 kB / 431.8 MB, free: 9.207 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.3821, allocations: 29.7 kB / 431.8 MB, free: 9.172 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.3822, allocations: 231 kB / 432.1 MB, free: 8.992 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.169e-05/0.3823, allocations: 198.4 kB / 432.3 MB, free: 8.82 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.3823, allocations: 0 / 432.3 MB, free: 8.82 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.655e-05/0.3824, allocations: 348.4 kB / 432.6 MB, free: 8.488 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.3826, allocations: 137.4 kB / 432.7 MB, free: 8.406 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.3828, allocations: 177.9 kB / 432.9 MB, free: 8.297 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.383, allocations: 149.2 kB / 433.1 MB, free: 8.203 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.383, allocations: 7.5 kB / 433.1 MB, free: 8.199 MB / 315.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007893/0.3838, allocations: 0.5722 MB / 433.6 MB, free: 7.758 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3839, allocations: 4.969 kB / 433.6 MB, free: 7.754 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3839, allocations: 4 kB / 433.6 MB, free: 7.75 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005885/0.3845, allocations: 239.7 kB / 433.9 MB, free: 7.562 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.3848, allocations: 67.53 kB / 433.9 MB, free: 7.5 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004357/0.3891, allocations: 6.528 MB / 440.5 MB, free: 1.18 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.3895, allocations: 12.08 kB / 440.5 MB, free: 1.168 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.349e-05/0.3896, allocations: 20.56 kB / 440.5 MB, free: 1.152 MB / 315.1 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 () * 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.0001062/0.3897, allocations: 112.8 kB / 440.6 MB, free: 1.035 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.3898, allocations: 43.44 kB / 440.7 MB, free: 0.9922 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.3899, allocations: 64.2 kB / 440.7 MB, free: 0.9648 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3899, allocations: 4 kB / 440.7 MB, free: 0.9609 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3899, allocations: 4 kB / 440.7 MB, free: 0.957 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.39, allocations: 3.984 kB / 440.7 MB, free: 0.9531 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.3914, allocations: 1.168 MB / 441.9 MB, free: 32 kB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3915, allocations: 0.75 kB / 441.9 MB, free: 32 kB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.3918, allocations: 59.91 kB / 442 MB, free: 15.97 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005908/0.3924, allocations: 242.5 kB / 442.2 MB, free: 15.78 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.3924, allocations: 11.98 kB / 442.2 MB, free: 15.77 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005569/0.398, allocations: 6.535 MB / 448.7 MB, free: 9.449 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.398, allocations: 3.984 kB / 448.7 MB, free: 9.445 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.3996, allocations: 0.9082 MB / 449.7 MB, free: 8.77 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/0.3999, allocations: 152.6 kB / 449.8 MB, free: 8.617 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.809e-05/0.3999, allocations: 3.984 kB / 449.8 MB, free: 8.613 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.4003, allocations: 12 kB / 449.8 MB, free: 8.602 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.4004, allocations: 53.86 kB / 449.9 MB, free: 8.559 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.4005, allocations: 15.11 kB / 449.9 MB, free: 8.547 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0002865/0.4008, allocations: 217.2 kB / 450.1 MB, free: 8.379 MB / 331.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4008, allocations: 0 / 450.1 MB, free: 8.379 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.001136/0.4019, allocations: 156 kB / 450.2 MB, free: 8.227 MB / 331.1 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.0002143/0.4022, allocations: 103.2 kB / 450.3 MB, free: 8.117 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.4038, allocations: 0.9242 MB / 451.3 MB, free: 7.328 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.4038, allocations: 0 / 451.3 MB, free: 7.328 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.4049, allocations: 0.77 MB / 452 MB, free: 6.637 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.4053, allocations: 46.92 kB / 452.1 MB, free: 6.605 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.4074, allocations: 0.954 MB / 453 MB, free: 5.715 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.4079, allocations: 0.8944 MB / 453.9 MB, free: 4.789 MB / 331.1 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.4081, allocations: 52.34 kB / 454 MB, free: 4.734 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.4081, allocations: 23.44 kB / 454 MB, free: 4.715 MB / 331.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4081, allocations: 0 / 454 MB, free: 4.715 MB / 331.1 MB Notification: Performance of Templates: time 0.01263/0.4208, allocations: 7.075 MB / 461.1 MB, free: 13.7 MB / 347.1 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)