Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0008394/0.0008393, allocations: 91.06 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.00653/0.00653, allocations: 171.9 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.416/1.416, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004812/0.0004812, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2607, allocations: 47.59 MB / 327 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.005921/0.2667, allocations: 5.78 MB / 332.8 MB, free: 12.83 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005011/0.2717, allocations: 2.117 MB / 334.9 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.2729, allocations: 20.66 kB / 334.9 MB, free: 11.1 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008437/0.2738, allocations: 235.1 kB / 335.2 MB, free: 10.94 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002499/0.2763, allocations: 0.7061 MB / 335.9 MB, free: 10.39 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.2773, allocations: 456 kB / 336.3 MB, free: 10.04 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.2786, allocations: 1.128 MB / 337.5 MB, free: 8.93 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.2802, allocations: 1.053 MB / 338.5 MB, free: 7.824 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004621/0.2807, allocations: 386.2 kB / 338.9 MB, free: 7.445 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005457/0.2813, allocations: 481.7 kB / 339.4 MB, free: 6.973 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.2814, allocations: 48 kB / 339.4 MB, free: 6.926 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.2819, allocations: 207.8 kB / 339.6 MB, free: 6.723 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.2821, allocations: 183.1 kB / 339.8 MB, free: 6.543 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.2825, allocations: 0.4951 MB / 340.3 MB, free: 6.039 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.2837, allocations: 1.354 MB / 341.6 MB, free: 4.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2837, allocations: 4 kB / 341.6 MB, free: 4.676 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2837, allocations: 0 / 341.6 MB, free: 4.676 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.2837, allocations: 0 / 341.6 MB, free: 4.676 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.002682/0.2864, allocations: 1.257 MB / 342.9 MB, free: 3.363 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2865, allocations: 12.03 kB / 342.9 MB, free: 3.352 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003074/0.2896, allocations: 479.2 kB / 343.4 MB, free: 2.883 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008525/0.2904, allocations: 0.5695 MB / 343.9 MB, free: 2.27 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/0.2905, allocations: 78.41 kB / 344 MB, free: 2.191 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.2907, allocations: 108.4 kB / 344.1 MB, free: 2.086 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.2926, allocations: 1.071 MB / 345.2 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/0.2926, allocations: 0 / 345.2 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.2927, allocations: 40 kB / 345.2 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/0.2927, allocations: 28 kB / 345.3 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/0.2946, allocations: 0.9409 MB / 346.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005734/0.3004, allocations: 3.777 MB / 350 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002832/0.3032, allocations: 2.494 MB / 352.5 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009968/0.3042, allocations: 483.5 kB / 352.9 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.3044, allocations: 89.77 kB / 353 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.3054, allocations: 0.5086 MB / 353.5 MB, free: 8.012 MB / 286.1 MB Notification: Performance of pre-optimization done (n=86): time 2.385e-06/0.3054, allocations: 3.938 kB / 353.5 MB, free: 8.008 MB / 286.1 MB Notification: Performance of matching and sorting (n=86): time 0.004841/0.3103, allocations: 1.748 MB / 355.3 MB, free: 6.207 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.181e-05/0.3104, allocations: 192.9 kB / 355.5 MB, free: 5.977 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005612/0.3109, allocations: 474 kB / 355.9 MB, free: 5.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.052e-05/0.311, allocations: 45.64 kB / 356 MB, free: 5.449 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.3113, allocations: 435.3 kB / 356.4 MB, free: 5.016 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.3116, allocations: 283.9 kB / 356.7 MB, free: 4.734 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.3117, allocations: 77.67 kB / 356.8 MB, free: 4.652 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3119, allocations: 386.7 kB / 357.1 MB, free: 4.266 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006072/0.3125, allocations: 281.9 kB / 357.4 MB, free: 3.988 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000766/0.3133, allocations: 0.5317 MB / 358 MB, free: 3.355 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.3146, allocations: 0.8265 MB / 358.8 MB, free: 2.438 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3146, allocations: 0 / 358.8 MB, free: 2.438 MB / 286.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002116/0.3168, allocations: 1.107 MB / 359.9 MB, free: 1.316 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.3168, allocations: 8 kB / 359.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.3168, allocations: 8 kB / 359.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009079/0.3177, allocations: 269.7 kB / 360.2 MB, free: 1.031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.3184, allocations: 163.7 kB / 360.3 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005675/0.324, allocations: 4.387 MB / 364.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009614/0.325, allocations: 123.3 kB / 364.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/0.3251, allocations: 39.94 kB / 364.9 MB, free: 12.06 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.0004972/0.3256, allocations: 257.5 kB / 365.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.3257, allocations: 67.16 kB / 365.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.3278, allocations: 0.9949 MB / 366.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3278, allocations: 8 kB / 366.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3278, allocations: 0 / 366.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.3278, allocations: 7.922 kB / 366.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/0.331, allocations: 1.97 MB / 368.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.331, allocations: 3.984 kB / 368.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.3315, allocations: 103.9 kB / 368.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008189/0.3323, allocations: 273.8 kB / 368.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.335e-05/0.3324, allocations: 15.98 kB / 368.6 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004934/0.3373, allocations: 4.365 MB / 372.9 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.3373, allocations: 0 / 372.9 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.3399, allocations: 1.427 MB / 374.4 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.3402, allocations: 212.1 kB / 374.6 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-05/0.3403, allocations: 24 kB / 374.6 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.3408, allocations: 51.97 kB / 374.6 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.341, allocations: 68.89 kB / 374.7 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.341, allocations: 27.98 kB / 374.7 MB, free: 1.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000422/0.3414, allocations: 318.9 kB / 375 MB, free: 1.484 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3415, allocations: 0 / 375 MB, free: 1.484 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001144/0.3426, allocations: 315.2 kB / 375.3 MB, free: 1.176 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.0002593/0.3429, allocations: 163.1 kB / 375.5 MB, free: 1.008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.3448, allocations: 1.123 MB / 376.6 MB, free: 15.85 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3449, allocations: 4 kB / 376.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.346, allocations: 0.744 MB / 377.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006953/0.3467, allocations: 114.1 kB / 377.5 MB, free: 14.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.3499, allocations: 2.168 MB / 379.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/0.3504, allocations: 0.9905 MB / 380.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000362/0.3508, allocations: 89.64 kB / 380.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.3509, allocations: 55.36 kB / 380.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3509, allocations: 4 kB / 380.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of Templates: time 0.01984/0.3708, allocations: 11.48 MB / 392.3 MB, free: 96 kB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1)