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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 186.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 59.86 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3411, allocations: 46.63 MB / 324.9 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.00543/0.3466, allocations: 4.219 MB / 329.1 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.3487, allocations: 0.9607 MB / 330 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.349, allocations: 7.781 kB / 330 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.3494, allocations: 76.72 kB / 330.1 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005419/0.3499, allocations: 164.9 kB / 330.3 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.3502, allocations: 130.1 kB / 330.4 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008231/0.3511, allocations: 0.7281 MB / 331.1 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004201/0.3515, allocations: 222.4 kB / 331.3 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004117/0.3519, allocations: 286.7 kB / 331.6 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.3524, allocations: 331.9 kB / 331.9 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.753e-05/0.3525, allocations: 59.84 kB / 332 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.3526, allocations: 61.19 kB / 332.1 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.3527, allocations: 155.8 kB / 332.2 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003026/0.3531, allocations: 327.6 kB / 332.5 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008677/0.3539, allocations: 0.6957 MB / 333.2 MB, free: 11.62 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.3539, allocations: 0 / 333.2 MB, free: 11.62 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.354, allocations: 0 / 333.2 MB, free: 11.62 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.354, allocations: 1.219 kB / 333.2 MB, free: 11.62 MB / 270.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.001506/0.3555, allocations: 0.9011 MB / 334.1 MB, free: 10.75 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3555, allocations: 12.03 kB / 334.1 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.3557, allocations: 68.12 kB / 334.2 MB, free: 10.67 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.3561, allocations: 382 kB / 334.6 MB, free: 10.26 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.3562, allocations: 41.69 kB / 334.6 MB, free: 10.22 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.082e-05/0.3562, allocations: 52.28 kB / 334.7 MB, free: 10.17 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3573, allocations: 0.5493 MB / 335.2 MB, free: 9.586 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.3573, allocations: 4 kB / 335.2 MB, free: 9.582 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.3573, allocations: 24 kB / 335.3 MB, free: 9.559 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.3574, allocations: 12 kB / 335.3 MB, free: 9.547 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007633/0.3581, allocations: 447.6 kB / 335.7 MB, free: 9.109 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.3607, allocations: 2.046 MB / 337.8 MB, free: 6.977 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008613/0.3616, allocations: 0.6415 MB / 338.4 MB, free: 6.312 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.3622, allocations: 402.2 kB / 338.8 MB, free: 5.918 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.3622, allocations: 12.55 kB / 338.8 MB, free: 5.902 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.3623, allocations: 43.12 kB / 338.8 MB, free: 5.852 MB / 270.1 MB Notification: Performance of pre-optimization done (n=60): time 2.054e-06/0.3623, allocations: 3.938 kB / 338.8 MB, free: 5.848 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004224/0.3665, allocations: 2.028 MB / 340.9 MB, free: 3.699 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.3666, allocations: 63.97 kB / 340.9 MB, free: 3.625 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.367, allocations: 353.7 kB / 341.3 MB, free: 3.27 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.367, allocations: 37.7 kB / 341.3 MB, free: 3.227 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.3672, allocations: 233.2 kB / 341.5 MB, free: 2.996 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.3673, allocations: 205 kB / 341.7 MB, free: 2.793 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.3675, allocations: 86.25 kB / 341.8 MB, free: 2.703 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3676, allocations: 354.8 kB / 342.2 MB, free: 2.348 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.3679, allocations: 169 kB / 342.3 MB, free: 2.184 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.3683, allocations: 211.8 kB / 342.5 MB, free: 1.969 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/0.3689, allocations: 380.9 kB / 342.9 MB, free: 1.594 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3689, allocations: 0 / 342.9 MB, free: 1.594 MB / 270.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001241/0.3702, allocations: 0.6695 MB / 343.6 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3702, allocations: 7.938 kB / 343.6 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3702, allocations: 0 / 343.6 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006915/0.3709, allocations: 267.1 kB / 343.9 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.3712, allocations: 71.89 kB / 343.9 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006582/0.3778, allocations: 7.505 MB / 351.4 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.3782, allocations: 16.03 kB / 351.4 MB, free: 8.473 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.462e-05/0.3783, allocations: 19.98 kB / 351.5 MB, free: 8.453 MB / 286.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 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002346/0.3785, allocations: 169.8 kB / 351.6 MB, free: 8.277 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.79e-05/0.3786, allocations: 47.44 kB / 351.7 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.3787, allocations: 65.02 kB / 351.7 MB, free: 8.168 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3787, allocations: 8 kB / 351.8 MB, free: 8.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.3787, allocations: 3.938 kB / 351.8 MB, free: 8.156 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3787, allocations: 3.984 kB / 351.8 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.3808, allocations: 1.337 MB / 353.1 MB, free: 6.746 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3808, allocations: 0 / 353.1 MB, free: 6.746 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.3811, allocations: 60.02 kB / 353.2 MB, free: 6.688 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006171/0.3817, allocations: 263.4 kB / 353.4 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.3817, allocations: 16 kB / 353.4 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006491/0.3882, allocations: 7.509 MB / 360.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3882, allocations: 0 / 360.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.3899, allocations: 1.037 MB / 362 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.3902, allocations: 160.5 kB / 362.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/0.3903, allocations: 8 kB / 362.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.3905, allocations: 19.98 kB / 362.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.3907, allocations: 52.42 kB / 362.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.3907, allocations: 16 kB / 362.2 MB, free: 13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002741/0.391, allocations: 263.2 kB / 362.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.391, allocations: 4 kB / 362.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008845/0.3919, allocations: 172 kB / 362.7 MB, free: 12.57 MB / 302.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 () * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001813/0.3921, allocations: 107.2 kB / 362.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.3938, allocations: 1.057 MB / 363.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3938, allocations: 0 / 363.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.3949, allocations: 0.8453 MB / 364.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005381/0.3955, allocations: 89.8 kB / 364.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.3979, allocations: 1.502 MB / 366.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.3983, allocations: 0.8754 MB / 367.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000176/0.3985, allocations: 52.53 kB / 367.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.611e-05/0.3986, allocations: 31.44 kB / 367.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3986, allocations: 4 kB / 367.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of Templates: time 0.01483/0.4134, allocations: 8.772 MB / 376 MB, free: 15.06 MB / 318.1 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)