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.001044/0.001044, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.206/1.206, allocations: 170.6 MB / 183.8 MB, free: 11.47 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.001574/0.001574, allocations: 103.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.601e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07782/0.07787, allocations: 38.76 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2825/0.3604, allocations: 69.37 MB / 377 MB, free: 6.91 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.3607, allocations: 66.78 kB / 377.1 MB, free: 6.879 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02184/0.3826, allocations: 8.371 MB / 385.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3826, allocations: 0 / 385.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.415e-05/0.3826, allocations: 15.98 kB / 385.5 MB, free: 15.75 MB / 282.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.001172/0.3838, allocations: 0.7587 MB / 386.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.3839, allocations: 8.031 kB / 386.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.384, allocations: 75.11 kB / 386.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004947/0.3845, allocations: 361.5 kB / 386.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.3846, allocations: 36.62 kB / 386.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.013e-05/0.3846, allocations: 51.38 kB / 386.7 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000809/0.3855, allocations: 0.5135 MB / 387.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3855, allocations: 0 / 387.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.3855, allocations: 24.44 kB / 387.3 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.3856, allocations: 12 kB / 387.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006404/0.3862, allocations: 416.8 kB / 387.7 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.3889, allocations: 2.068 MB / 389.8 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007456/0.3896, allocations: 0.6039 MB / 390.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.3901, allocations: 380.8 kB / 390.7 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.3902, allocations: 4.562 kB / 390.7 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.3902, allocations: 38.31 kB / 390.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=60): time 2.225e-06/0.3902, allocations: 0 / 390.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=61): time 0.002108/0.3924, allocations: 1.259 MB / 392 MB, free: 10.36 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.3924, allocations: 55.97 kB / 392.1 MB, free: 10.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.3928, allocations: 323.5 kB / 392.4 MB, free: 10.03 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.3928, allocations: 35.33 kB / 392.4 MB, free: 9.992 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.393, allocations: 231.2 kB / 392.7 MB, free: 9.824 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.3931, allocations: 210.3 kB / 392.9 MB, free: 9.645 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.3931, allocations: 7.375 kB / 392.9 MB, free: 9.645 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3933, allocations: 353.1 kB / 393.2 MB, free: 9.309 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.3935, allocations: 151.4 kB / 393.4 MB, free: 9.215 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.3938, allocations: 187.8 kB / 393.6 MB, free: 9.094 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.3941, allocations: 163.6 kB / 393.7 MB, free: 8.992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3941, allocations: 0 / 393.7 MB, free: 8.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009985/0.3951, allocations: 0.63 MB / 394.3 MB, free: 8.512 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.3951, allocations: 4 kB / 394.3 MB, free: 8.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3951, allocations: 4.031 kB / 394.3 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007054/0.3959, allocations: 257.3 kB / 394.6 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.3962, allocations: 75.83 kB / 394.7 MB, free: 8.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005915/0.4021, allocations: 6.759 MB / 401.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.4025, allocations: 15.53 kB / 401.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.4025, allocations: 23.55 kB / 401.5 MB, free: 1.617 MB / 282.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 () * 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.0001326/0.4027, allocations: 133.2 kB / 401.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.649e-05/0.4028, allocations: 51.42 kB / 401.7 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.4029, allocations: 63.66 kB / 401.7 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4029, allocations: 8 kB / 401.7 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.4029, allocations: 0 / 401.7 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.403, allocations: 7.984 kB / 401.7 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.4049, allocations: 1.308 MB / 403 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.4049, allocations: 0 / 403 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.4052, allocations: 63.91 kB / 403.1 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006428/0.4058, allocations: 258.6 kB / 403.4 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.4059, allocations: 11.62 kB / 403.4 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005932/0.4118, allocations: 6.754 MB / 410.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4119, allocations: 0 / 410.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.4133, allocations: 0.9811 MB / 411.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.4136, allocations: 161.5 kB / 411.3 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.4136, allocations: 14.81 kB / 411.3 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.4139, allocations: 18.69 kB / 411.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.414, allocations: 54.8 kB / 411.3 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.4141, allocations: 15.67 kB / 411.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002641/0.4144, allocations: 255.5 kB / 411.6 MB, free: 8.375 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4144, allocations: 0 / 411.6 MB, free: 8.375 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008335/0.4152, allocations: 172.7 kB / 411.8 MB, free: 8.227 MB / 298.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.0002105/0.4154, allocations: 118.4 kB / 411.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.4168, allocations: 0.9828 MB / 412.9 MB, free: 7.254 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4168, allocations: 0 / 412.9 MB, free: 7.254 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009654/0.4178, allocations: 0.818 MB / 413.7 MB, free: 6.512 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.4182, allocations: 75.3 kB / 413.8 MB, free: 6.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.4201, allocations: 1.001 MB / 414.8 MB, free: 5.508 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.4206, allocations: 0.8907 MB / 415.7 MB, free: 4.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.4207, allocations: 52.55 kB / 415.7 MB, free: 4.539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.4208, allocations: 31.42 kB / 415.7 MB, free: 4.508 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4208, allocations: 0 / 415.7 MB, free: 4.508 MB / 298.7 MB Notification: Performance of Templates: time 0.0141/0.4349, allocations: 7.864 MB / 423.6 MB, free: 12.64 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)