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.001537/0.001536, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.397/1.397, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001229/0.001229, allocations: 47.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2521, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.006989/0.2592, allocations: 6.265 MB / 331.6 MB, free: 12.87 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.2634, allocations: 2.169 MB / 333.7 MB, free: 11.1 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000725/0.2642, allocations: 21.34 kB / 333.8 MB, free: 11.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.2661, allocations: 0.757 MB / 334.5 MB, free: 10.51 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.268, allocations: 0.7788 MB / 335.3 MB, free: 9.898 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.2691, allocations: 0.4963 MB / 335.8 MB, free: 9.406 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.2703, allocations: 1.179 MB / 337 MB, free: 8.223 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.2714, allocations: 0.8354 MB / 337.8 MB, free: 7.367 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005327/0.272, allocations: 474.2 kB / 338.3 MB, free: 6.902 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000597/0.2726, allocations: 0.5406 MB / 338.8 MB, free: 6.359 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.2727, allocations: 112 kB / 338.9 MB, free: 6.25 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005624/0.2733, allocations: 275.8 kB / 339.2 MB, free: 5.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.2735, allocations: 255.1 kB / 339.4 MB, free: 5.73 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004422/0.2739, allocations: 0.5442 MB / 340 MB, free: 5.184 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.2753, allocations: 1.441 MB / 341.4 MB, free: 3.738 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2754, allocations: 0 / 341.4 MB, free: 3.738 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2754, allocations: 3.938 kB / 341.4 MB, free: 3.734 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.2754, allocations: 0 / 341.4 MB, free: 3.734 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.002888/0.2783, allocations: 1.444 MB / 342.9 MB, free: 2.234 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2783, allocations: 11.97 kB / 342.9 MB, free: 2.223 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002971/0.2813, allocations: 475.2 kB / 343.4 MB, free: 1.758 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008107/0.2821, allocations: 0.5617 MB / 343.9 MB, free: 1.152 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/0.2822, allocations: 78.41 kB / 344 MB, free: 1.074 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.2823, allocations: 104.4 kB / 344.1 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.2841, allocations: 1.063 MB / 345.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.2841, allocations: 0 / 345.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.2842, allocations: 40 kB / 345.2 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.2842, allocations: 28 kB / 345.2 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.2859, allocations: 0.9135 MB / 346.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00511/0.291, allocations: 3.754 MB / 349.9 MB, free: 10.94 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002663/0.2937, allocations: 2.478 MB / 352.4 MB, free: 8.094 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009146/0.2946, allocations: 475.4 kB / 352.8 MB, free: 7.621 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.2948, allocations: 97.73 kB / 352.9 MB, free: 7.508 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008559/0.2956, allocations: 0.4891 MB / 353.4 MB, free: 6.988 MB / 286.1 MB Notification: Performance of pre-optimization done (n=86): time 2.484e-06/0.2956, allocations: 0 / 353.4 MB, free: 6.988 MB / 286.1 MB Notification: Performance of matching and sorting (n=86): time 0.004507/0.3001, allocations: 1.701 MB / 355.1 MB, free: 5.238 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.3003, allocations: 196.9 kB / 355.3 MB, free: 5.004 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/0.3008, allocations: 470 kB / 355.8 MB, free: 4.531 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/0.3009, allocations: 41.7 kB / 355.8 MB, free: 4.484 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.3012, allocations: 443.4 kB / 356.2 MB, free: 4.043 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.3014, allocations: 280 kB / 356.5 MB, free: 3.766 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.3016, allocations: 162.6 kB / 356.7 MB, free: 3.602 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3018, allocations: 374.7 kB / 357 MB, free: 3.227 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005274/0.3023, allocations: 277.9 kB / 357.3 MB, free: 2.953 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007325/0.3031, allocations: 0.5278 MB / 357.8 MB, free: 2.324 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.3044, allocations: 0.8031 MB / 358.6 MB, free: 1.426 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3044, allocations: 0 / 358.6 MB, free: 1.426 MB / 286.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001915/0.3064, allocations: 1.08 MB / 359.7 MB, free: 340 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3064, allocations: 8 kB / 359.7 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3064, allocations: 8 kB / 359.7 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008493/0.3073, allocations: 269.8 kB / 360 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.3079, allocations: 163.7 kB / 360.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005425/0.3133, allocations: 4.859 MB / 365 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000672/0.314, allocations: 111.1 kB / 365.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/0.3141, allocations: 36 kB / 365.2 MB, free: 10.61 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.0004156/0.3145, allocations: 249.6 kB / 365.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.3146, allocations: 79.09 kB / 365.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.3166, allocations: 0.9636 MB / 366.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.3166, allocations: 8 kB / 366.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3166, allocations: 3.984 kB / 366.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.3166, allocations: 11.97 kB / 366.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/0.3197, allocations: 1.943 MB / 368.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.3197, allocations: 0 / 368.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.3201, allocations: 95.88 kB / 368.5 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007722/0.3209, allocations: 277.4 kB / 368.8 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/0.321, allocations: 23.98 kB / 368.8 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005105/0.3261, allocations: 4.801 MB / 373.6 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.3261, allocations: 11.97 kB / 373.6 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.3286, allocations: 1.388 MB / 375 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.3289, allocations: 216 kB / 375.2 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.507e-05/0.329, allocations: 16 kB / 375.2 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004478/0.3294, allocations: 43.97 kB / 375.3 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.3296, allocations: 68.89 kB / 375.3 MB, free: 0 / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/0.3297, allocations: 28.05 kB / 375.4 MB, free: 15.97 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003475/0.33, allocations: 326.8 kB / 375.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.33, allocations: 0 / 375.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001035/0.3311, allocations: 311.1 kB / 376 MB, free: 15.35 MB / 318.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.0002615/0.3313, allocations: 155.5 kB / 376.1 MB, free: 15.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002251/0.3336, allocations: 1.147 MB / 377.3 MB, free: 14.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.3336, allocations: 4.062 kB / 377.3 MB, free: 14.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.3348, allocations: 0.7353 MB / 378 MB, free: 13.26 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.3354, allocations: 126.6 kB / 378.2 MB, free: 13.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.3383, allocations: 1.695 MB / 379.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.3389, allocations: 1.002 MB / 380.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003557/0.3393, allocations: 93.58 kB / 380.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.3394, allocations: 51.44 kB / 381 MB, free: 10.23 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3394, allocations: 0 / 381 MB, free: 10.23 MB / 318.1 MB Notification: Performance of Templates: time 0.02006/0.3595, allocations: 12.51 MB / 393.5 MB, free: 13.7 MB / 334.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)