Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.001081, 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.01073/0.01073, allocations: 171.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0005134/0.0005135, allocations: 16 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.327, allocations: 47.58 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004214/0.3313, allocations: 3.309 MB / 330.4 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.334, allocations: 0.9223 MB / 331.3 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004663/0.3345, allocations: 10.25 kB / 331.3 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.3348, allocations: 55.2 kB / 331.3 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004497/0.3352, allocations: 125.8 kB / 331.5 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004794/0.3357, allocations: 137.4 kB / 331.6 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008304/0.3366, allocations: 0.5693 MB / 332.2 MB, free: 13.4 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004485/0.337, allocations: 183.3 kB / 332.3 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000325/0.3374, allocations: 189.9 kB / 332.5 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/0.3377, allocations: 207 kB / 332.7 MB, free: 13.05 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.372e-05/0.3378, allocations: 26.58 kB / 332.8 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.211e-05/0.3379, allocations: 23.25 kB / 332.8 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.338, allocations: 82.66 kB / 332.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003073/0.3383, allocations: 254.3 kB / 333.1 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006126/0.3389, allocations: 0.5621 MB / 333.7 MB, free: 12.37 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.339, allocations: 5.078 kB / 333.7 MB, free: 12.36 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.339, allocations: 0 / 333.7 MB, free: 12.36 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.339, allocations: 3.938 kB / 333.7 MB, free: 12.36 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001511/0.3405, allocations: 0.7001 MB / 334.4 MB, free: 11.76 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.3406, allocations: 9.406 kB / 334.4 MB, free: 11.76 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.3407, allocations: 56.53 kB / 334.4 MB, free: 11.73 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.3412, allocations: 351.7 kB / 334.8 MB, free: 11.4 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.637e-05/0.3413, allocations: 34.59 kB / 334.8 MB, free: 11.38 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.598e-05/0.3414, allocations: 44.52 kB / 334.9 MB, free: 11.37 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008498/0.3422, allocations: 461.5 kB / 335.3 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.3423, allocations: 0 / 335.3 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.3423, allocations: 16 kB / 335.3 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.3424, allocations: 12 kB / 335.3 MB, free: 10.92 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000604/0.343, allocations: 323.7 kB / 335.7 MB, free: 10.61 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002782/0.3458, allocations: 1.844 MB / 337.5 MB, free: 8.656 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009455/0.3467, allocations: 0.6201 MB / 338.1 MB, free: 7.973 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006206/0.3474, allocations: 277.4 kB / 338.4 MB, free: 7.699 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.3474, allocations: 4.328 kB / 338.4 MB, free: 7.695 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005566/0.348, allocations: 269.2 kB / 338.7 MB, free: 7.414 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 1.804e-06/0.348, allocations: 4 kB / 338.7 MB, free: 7.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002541/0.3505, allocations: 0.8511 MB / 339.5 MB, free: 6.531 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.3506, allocations: 89 kB / 339.6 MB, free: 6.426 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.3512, allocations: 316.4 kB / 339.9 MB, free: 6.105 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.632e-05/0.3513, allocations: 37.69 kB / 340 MB, free: 6.062 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.3516, allocations: 220.3 kB / 340.2 MB, free: 5.84 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.3518, allocations: 134.1 kB / 340.3 MB, free: 5.707 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-05/0.3519, allocations: 45.7 kB / 340.3 MB, free: 5.656 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.3521, allocations: 350.7 kB / 340.7 MB, free: 5.305 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.3525, allocations: 121.1 kB / 340.8 MB, free: 5.188 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/0.353, allocations: 253 kB / 341.1 MB, free: 4.887 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008782/0.3539, allocations: 386.1 kB / 341.4 MB, free: 4.457 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.3539, allocations: 8 kB / 341.4 MB, free: 4.449 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001466/0.3554, allocations: 0.5099 MB / 341.9 MB, free: 3.93 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.3555, allocations: 4 kB / 342 MB, free: 3.926 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.3555, allocations: 4 kB / 342 MB, free: 3.922 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007683/0.3563, allocations: 147.3 kB / 342.1 MB, free: 3.777 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.3567, allocations: 59.91 kB / 342.2 MB, free: 3.719 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00426/0.3609, allocations: 2.311 MB / 344.5 MB, free: 1.277 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005162/0.3615, allocations: 47.53 kB / 344.5 MB, free: 1.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.3615, allocations: 27.94 kB / 344.5 MB, free: 1.203 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004318/0.362, allocations: 173.8 kB / 344.7 MB, free: 1.023 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.936e-05/0.3621, allocations: 39.53 kB / 344.7 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.3623, allocations: 48.3 kB / 344.8 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.3623, allocations: 7.938 kB / 344.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3623, allocations: 0 / 344.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.3623, allocations: 3.984 kB / 344.8 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.3647, allocations: 1.028 MB / 345.8 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3647, allocations: 144 / 345.8 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.365, allocations: 35.92 kB / 345.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006043/0.3656, allocations: 151.4 kB / 346 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/0.3656, allocations: 12 kB / 346 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003951/0.3696, allocations: 2.301 MB / 348.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.3696, allocations: 4 kB / 348.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.3715, allocations: 0.731 MB / 349.1 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.3718, allocations: 148.6 kB / 349.2 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.061e-05/0.3719, allocations: 15.94 kB / 349.2 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.3722, allocations: 15.98 kB / 349.2 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3724, allocations: 31.95 kB / 349.3 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.3724, allocations: 15.98 kB / 349.3 MB, free: 12.2 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003986/0.3728, allocations: 227.1 kB / 349.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3729, allocations: 0 / 349.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001032/0.3739, allocations: 143.7 kB / 349.7 MB, free: 11.84 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002292/0.3741, allocations: 115.8 kB / 349.8 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.3756, allocations: 0.5408 MB / 350.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3757, allocations: 0 / 350.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008161/0.3765, allocations: 375.1 kB / 350.7 MB, free: 10.78 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.3773, allocations: 81.19 kB / 350.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.3799, allocations: 1.059 MB / 351.8 MB, free: 9.609 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/0.3806, allocations: 0.8279 MB / 352.6 MB, free: 8.758 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002283/0.3809, allocations: 43.3 kB / 352.7 MB, free: 8.715 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/0.381, allocations: 31.42 kB / 352.7 MB, free: 8.684 MB / 286.1 MB Notification: Performance of SimCode: time 1.183e-06/0.381, allocations: 0 / 352.7 MB, free: 8.684 MB / 286.1 MB Notification: Performance of Templates: time 0.01803/0.399, allocations: 6.321 MB / 359 MB, free: 2.355 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)