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.001555/0.001555, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001971/0.001971, allocations: 200.3 kB / 16.26 MB, free: 6.621 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.408/1.408, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001343/0.001343, allocations: 43.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2478, allocations: 46.62 MB / 324.8 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.007222/0.255, allocations: 6.252 MB / 331.1 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004657/0.2597, allocations: 2.138 MB / 333.2 MB, free: 11.24 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.2611, allocations: 25.16 kB / 333.3 MB, free: 11.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.2632, allocations: 0.6799 MB / 333.9 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.2654, allocations: 0.7193 MB / 334.7 MB, free: 10.17 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.2665, allocations: 450.2 kB / 335.1 MB, free: 9.82 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.2681, allocations: 1.185 MB / 336.3 MB, free: 8.633 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.2693, allocations: 0.8744 MB / 337.2 MB, free: 7.734 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006556/0.27, allocations: 462.3 kB / 337.6 MB, free: 7.281 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006203/0.2706, allocations: 0.5445 MB / 338.2 MB, free: 6.734 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.2708, allocations: 112 kB / 338.3 MB, free: 6.625 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006283/0.2715, allocations: 271.8 kB / 338.5 MB, free: 6.359 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.2717, allocations: 255.1 kB / 338.8 MB, free: 6.109 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000494/0.2722, allocations: 0.5558 MB / 339.3 MB, free: 5.551 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.2737, allocations: 1.433 MB / 340.8 MB, free: 4.113 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2738, allocations: 0 / 340.8 MB, free: 4.113 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.2738, allocations: 0 / 340.8 MB, free: 4.113 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.2738, allocations: 3.938 kB / 340.8 MB, free: 4.109 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.003121/0.2769, allocations: 1.444 MB / 342.2 MB, free: 2.609 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.277, allocations: 12.03 kB / 342.2 MB, free: 2.598 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/0.2799, allocations: 471.2 kB / 342.7 MB, free: 2.137 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008782/0.2808, allocations: 0.5578 MB / 343.2 MB, free: 1.535 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-05/0.2809, allocations: 82.41 kB / 343.3 MB, free: 1.453 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.281, allocations: 108.4 kB / 343.4 MB, free: 1.348 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.2829, allocations: 1.051 MB / 344.5 MB, free: 252 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.2829, allocations: 0 / 344.5 MB, free: 252 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-05/0.283, allocations: 47.98 kB / 344.5 MB, free: 204 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.283, allocations: 28 kB / 344.6 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.2847, allocations: 0.9135 MB / 345.5 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005555/0.2902, allocations: 3.75 MB / 349.2 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.2928, allocations: 2.482 MB / 351.7 MB, free: 8.473 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008634/0.2937, allocations: 475.4 kB / 352.2 MB, free: 8 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.2938, allocations: 93.77 kB / 352.3 MB, free: 7.891 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008346/0.2947, allocations: 496.9 kB / 352.7 MB, free: 7.379 MB / 286.1 MB Notification: Performance of pre-optimization done (n=86): time 2.815e-06/0.2947, allocations: 0 / 352.7 MB, free: 7.379 MB / 286.1 MB Notification: Performance of matching and sorting (n=86): time 0.00434/0.299, allocations: 1.713 MB / 354.5 MB, free: 5.613 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.2991, allocations: 192.9 kB / 354.6 MB, free: 5.383 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.2997, allocations: 474 kB / 355.1 MB, free: 4.906 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/0.2998, allocations: 45.7 kB / 355.2 MB, free: 4.855 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.3002, allocations: 423.4 kB / 355.6 MB, free: 4.434 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.3004, allocations: 283.9 kB / 355.8 MB, free: 4.152 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/0.3007, allocations: 166.6 kB / 356 MB, free: 3.984 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3009, allocations: 386.7 kB / 356.4 MB, free: 3.598 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/0.3014, allocations: 269.9 kB / 356.6 MB, free: 3.332 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006389/0.302, allocations: 0.52 MB / 357.2 MB, free: 2.711 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.3032, allocations: 0.8031 MB / 358 MB, free: 1.816 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.3032, allocations: 4 kB / 358 MB, free: 1.812 MB / 286.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00188/0.3051, allocations: 1.076 MB / 359.1 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.3051, allocations: 8 kB / 359.1 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.3051, allocations: 8 kB / 359.1 MB, free: 0.707 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008432/0.306, allocations: 277.8 kB / 359.3 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.3066, allocations: 163.6 kB / 359.5 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00532/0.3119, allocations: 4.863 MB / 364.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007717/0.3127, allocations: 107 kB / 364.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-05/0.3128, allocations: 44.05 kB / 364.5 MB, free: 10.98 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.0004285/0.3132, allocations: 245.6 kB / 364.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.3133, allocations: 75.09 kB / 364.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.3152, allocations: 0.9716 MB / 365.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.3152, allocations: 12 kB / 365.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.3152, allocations: 4 kB / 365.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.3152, allocations: 3.984 kB / 365.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.3181, allocations: 1.947 MB / 367.8 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3181, allocations: 4 kB / 367.8 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.3185, allocations: 95.88 kB / 367.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007995/0.3193, allocations: 273.4 kB / 368.1 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.3194, allocations: 19.98 kB / 368.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004729/0.3241, allocations: 4.797 MB / 372.9 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.3241, allocations: 8.062 kB / 372.9 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.3265, allocations: 1.388 MB / 374.3 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.3268, allocations: 216.2 kB / 374.5 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.66e-05/0.3269, allocations: 16 kB / 374.6 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.3274, allocations: 47.91 kB / 374.6 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.3276, allocations: 68.89 kB / 374.7 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.338e-05/0.3276, allocations: 32 kB / 374.7 MB, free: 368 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003449/0.328, allocations: 326.8 kB / 375 MB, free: 40 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.328, allocations: 0 / 375 MB, free: 40 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.001067/0.329, allocations: 315.3 kB / 375.3 MB, free: 15.73 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.0003006/0.3294, allocations: 163.1 kB / 375.5 MB, free: 15.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.3316, allocations: 1.142 MB / 376.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3316, allocations: 0 / 376.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.3327, allocations: 0.7405 MB / 377.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.3333, allocations: 122 kB / 377.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.3365, allocations: 2.105 MB / 379.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.337, allocations: 0.9982 MB / 380.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003507/0.3374, allocations: 89.64 kB / 380.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.3375, allocations: 55.42 kB / 380.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3375, allocations: 0 / 380.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of Templates: time 0.02025/0.3578, allocations: 12.3 MB / 393 MB, free: 13.88 MB / 334.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)