Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.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.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007752/0.0007751, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004933/0.004933, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.407/1.407, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.000502/0.000502, allocations: 12.47 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2837, allocations: 47.59 MB / 327 MB, free: 1.723 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.006156/0.2899, allocations: 5.776 MB / 332.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004764/0.2947, allocations: 2.113 MB / 334.9 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009847/0.2958, allocations: 19.75 kB / 334.9 MB, free: 11.4 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008291/0.2966, allocations: 232.5 kB / 335.2 MB, free: 11.24 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.2987, allocations: 0.7132 MB / 335.9 MB, free: 10.69 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.2997, allocations: 463 kB / 336.3 MB, free: 10.29 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.3009, allocations: 1.125 MB / 337.5 MB, free: 9.164 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.3026, allocations: 1.053 MB / 338.5 MB, free: 8.059 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.3032, allocations: 386.2 kB / 338.9 MB, free: 7.68 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00062/0.3038, allocations: 481.6 kB / 339.4 MB, free: 7.207 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.368e-05/0.3039, allocations: 48 kB / 339.4 MB, free: 7.16 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005796/0.3045, allocations: 203.8 kB / 339.6 MB, free: 6.961 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.3047, allocations: 187.1 kB / 339.8 MB, free: 6.777 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004497/0.3051, allocations: 0.499 MB / 340.3 MB, free: 6.27 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.3064, allocations: 1.354 MB / 341.6 MB, free: 4.91 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3064, allocations: 0 / 341.6 MB, free: 4.91 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3064, allocations: 0 / 341.6 MB, free: 4.91 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.3065, allocations: 0 / 341.6 MB, free: 4.91 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.002648/0.3091, allocations: 1.257 MB / 342.9 MB, free: 3.598 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3092, allocations: 12.03 kB / 342.9 MB, free: 3.586 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002939/0.3121, allocations: 479.2 kB / 343.4 MB, free: 3.117 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008809/0.313, allocations: 0.5656 MB / 343.9 MB, free: 2.508 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-05/0.3131, allocations: 78.41 kB / 344 MB, free: 2.43 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.3132, allocations: 100.4 kB / 344.1 MB, free: 2.332 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.3152, allocations: 1.079 MB / 345.2 MB, free: 1.203 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.3152, allocations: 0 / 345.2 MB, free: 1.203 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.3154, allocations: 40 kB / 345.2 MB, free: 1.164 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.3154, allocations: 28 kB / 345.3 MB, free: 1.137 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.3171, allocations: 0.9447 MB / 346.2 MB, free: 200 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005395/0.3225, allocations: 3.773 MB / 350 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/0.3254, allocations: 2.494 MB / 352.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000953/0.3264, allocations: 483.5 kB / 352.9 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.3265, allocations: 93.75 kB / 353 MB, free: 8.781 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008926/0.3274, allocations: 0.5047 MB / 353.5 MB, free: 8.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=86): time 3.247e-06/0.3274, allocations: 0 / 353.5 MB, free: 8.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=86): time 0.004661/0.3321, allocations: 1.752 MB / 355.3 MB, free: 6.445 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.3322, allocations: 188.9 kB / 355.5 MB, free: 6.219 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000582/0.3328, allocations: 474 kB / 355.9 MB, free: 5.742 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.3329, allocations: 45.7 kB / 356 MB, free: 5.691 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.3332, allocations: 431.3 kB / 356.4 MB, free: 5.262 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.3335, allocations: 280 kB / 356.7 MB, free: 4.984 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3336, allocations: 81.67 kB / 356.8 MB, free: 4.898 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3337, allocations: 386.6 kB / 357.1 MB, free: 4.512 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/0.3343, allocations: 285.9 kB / 357.4 MB, free: 4.23 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007546/0.3351, allocations: 0.5279 MB / 357.9 MB, free: 3.602 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.3365, allocations: 0.8304 MB / 358.8 MB, free: 2.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.3365, allocations: 0 / 358.8 MB, free: 2.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002254/0.3388, allocations: 1.103 MB / 359.9 MB, free: 1.562 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.3388, allocations: 8 kB / 359.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.3388, allocations: 8 kB / 359.9 MB, free: 1.547 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000951/0.3398, allocations: 265.7 kB / 360.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/0.3404, allocations: 167.7 kB / 360.3 MB, free: 1.117 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005095/0.3455, allocations: 4.391 MB / 364.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007676/0.3463, allocations: 115.2 kB / 364.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/0.3464, allocations: 43.92 kB / 364.9 MB, free: 12.31 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean2.y,$PRE.iAC.mean2.y,iAC.mean1.y,$PRE.iAC.mean1.y,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004523/0.3468, allocations: 257.5 kB / 365.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.3469, allocations: 67.16 kB / 365.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.3489, allocations: 0.9949 MB / 366.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.349, allocations: 12.05 kB / 366.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.349, allocations: 4 kB / 366.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.349, allocations: 7.922 kB / 366.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/0.3523, allocations: 1.974 MB / 368.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3523, allocations: 0 / 368.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.3528, allocations: 107.9 kB / 368.3 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008283/0.3536, allocations: 265.8 kB / 368.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.883e-05/0.3537, allocations: 23.98 kB / 368.6 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004954/0.3587, allocations: 4.353 MB / 372.9 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.3587, allocations: 4.031 kB / 372.9 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.3613, allocations: 1.423 MB / 374.3 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.3616, allocations: 220 kB / 374.6 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/0.3617, allocations: 20 kB / 374.6 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.3622, allocations: 51.97 kB / 374.6 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.3624, allocations: 64.89 kB / 374.7 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.3624, allocations: 31.98 kB / 374.7 MB, free: 2.035 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003796/0.3628, allocations: 318.9 kB / 375 MB, free: 1.727 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3628, allocations: 0 / 375 MB, free: 1.727 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001126/0.3639, allocations: 311.1 kB / 375.3 MB, free: 1.422 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002792/0.3642, allocations: 163.2 kB / 375.5 MB, free: 1.254 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.3662, allocations: 1.128 MB / 376.6 MB, free: 92 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3662, allocations: 4 kB / 376.6 MB, free: 88 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.3673, allocations: 0.7437 MB / 377.4 MB, free: 15.31 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/0.368, allocations: 125.8 kB / 377.5 MB, free: 15.19 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.3714, allocations: 2.156 MB / 379.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007123/0.3721, allocations: 0.9982 MB / 380.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000356/0.3725, allocations: 93.58 kB / 380.7 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.3726, allocations: 51.42 kB / 380.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3726, allocations: 0 / 380.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of Templates: time 0.02034/0.3929, allocations: 11.48 MB / 392.3 MB, free: 340 kB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1)