Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002009/0.002009, 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.002726/0.002726, allocations: 196.2 kB / 16.26 MB, free: 6.625 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.821/1.821, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.001128/0.001129, allocations: 43.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3035, allocations: 46.63 MB / 324.9 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006297/0.3098, allocations: 4.686 MB / 329.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003435/0.3133, allocations: 1.318 MB / 330.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007668/0.3141, allocations: 22.19 kB / 330.9 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008828/0.3151, allocations: 178 kB / 331.1 MB, free: 13 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.3162, allocations: 322.2 kB / 331.4 MB, free: 12.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005727/0.3168, allocations: 194.4 kB / 331.6 MB, free: 12.58 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002495/0.3193, allocations: 1.536 MB / 333.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.3209, allocations: 0.9173 MB / 334 MB, free: 10.9 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.3223, allocations: 0.6269 MB / 334.6 MB, free: 10.27 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.3235, allocations: 0.79 MB / 335.4 MB, free: 9.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.3237, allocations: 164 kB / 335.6 MB, free: 9.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.3241, allocations: 160 kB / 335.8 MB, free: 9.164 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004408/0.3245, allocations: 438.8 kB / 336.2 MB, free: 8.734 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008022/0.3253, allocations: 0.7194 MB / 336.9 MB, free: 8.012 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.3276, allocations: 2.056 MB / 339 MB, free: 5.949 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3277, allocations: 0 / 339 MB, free: 5.949 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3277, allocations: 4 kB / 339 MB, free: 5.945 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.654e-05/0.3277, allocations: 4 kB / 339 MB, free: 5.941 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003694/0.3314, allocations: 1.623 MB / 340.6 MB, free: 4.262 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.597e-05/0.3315, allocations: 8.031 kB / 340.6 MB, free: 4.254 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003484/0.3319, allocations: 143.2 kB / 340.7 MB, free: 4.113 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.3332, allocations: 0.8645 MB / 341.6 MB, free: 3.207 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.456e-05/0.3333, allocations: 70.38 kB / 341.7 MB, free: 3.141 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.3335, allocations: 100.1 kB / 341.8 MB, free: 3.043 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.336, allocations: 1.435 MB / 343.2 MB, free: 1.574 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.3361, allocations: 4 kB / 343.2 MB, free: 1.57 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.3362, allocations: 36 kB / 343.2 MB, free: 1.535 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.431e-05/0.3362, allocations: 41.98 kB / 343.3 MB, free: 1.496 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00236/0.3386, allocations: 1.288 MB / 344.6 MB, free: 208 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006811/0.3454, allocations: 4.324 MB / 348.9 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/0.3478, allocations: 1.967 MB / 350.9 MB, free: 9.586 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009372/0.3488, allocations: 0.622 MB / 351.5 MB, free: 8.961 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/0.3488, allocations: 12.64 kB / 351.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009754/0.3498, allocations: 0.5976 MB / 352.1 MB, free: 8.328 MB / 286.1 MB Notification: Performance of pre-optimization done (n=75): time 3.567e-06/0.3498, allocations: 0 / 352.1 MB, free: 8.328 MB / 286.1 MB Notification: Performance of matching and sorting (n=75): time 0.007545/0.3574, allocations: 2.833 MB / 354.9 MB, free: 5.465 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.3575, allocations: 119.4 kB / 355 MB, free: 5.324 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.3587, allocations: 0.8246 MB / 355.9 MB, free: 4.492 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-05/0.3588, allocations: 45.69 kB / 355.9 MB, free: 4.441 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/0.3593, allocations: 483.8 kB / 356.4 MB, free: 3.961 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.3595, allocations: 240.5 kB / 356.6 MB, free: 3.723 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.3597, allocations: 142.5 kB / 356.8 MB, free: 3.578 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.3599, allocations: 390.8 kB / 357.1 MB, free: 3.188 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006081/0.3606, allocations: 397.7 kB / 357.5 MB, free: 2.797 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007504/0.3613, allocations: 0.5455 MB / 358.1 MB, free: 2.195 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.3627, allocations: 0.9192 MB / 359 MB, free: 1.219 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.3627, allocations: 0 / 359 MB, free: 1.219 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00223/0.3649, allocations: 1.315 MB / 360.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.365, allocations: 4 kB / 360.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.365, allocations: 4 kB / 360.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.3662, allocations: 476.3 kB / 360.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.3666, allocations: 99.81 kB / 360.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007231/0.3738, allocations: 5.578 MB / 366.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007504/0.3746, allocations: 83.45 kB / 366.5 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/0.3747, allocations: 24 kB / 366.6 MB, free: 9.504 MB / 302.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: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0008737/0.3755, allocations: 467.1 kB / 367 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.3757, allocations: 86.97 kB / 367.1 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.3759, allocations: 112.6 kB / 367.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.376, allocations: 8 kB / 367.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.376, allocations: 4 kB / 367.2 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.376, allocations: 3.984 kB / 367.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004004/0.38, allocations: 2.604 MB / 369.8 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.38, allocations: 3.984 kB / 369.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.3803, allocations: 63.91 kB / 369.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009729/0.3813, allocations: 464.3 kB / 370.4 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.875e-05/0.3814, allocations: 15.98 kB / 370.4 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00708/0.3884, allocations: 5.544 MB / 375.9 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3885, allocations: 4 kB / 375.9 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.3914, allocations: 1.915 MB / 377.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004456/0.3918, allocations: 287.7 kB / 378.1 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.392, allocations: 15.98 kB / 378.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.3924, allocations: 47.95 kB / 378.2 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.3927, allocations: 72.55 kB / 378.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.3928, allocations: 19.98 kB / 378.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009628/0.3937, allocations: 0.5888 MB / 378.9 MB, free: 12.94 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3937, allocations: 0 / 378.9 MB, free: 12.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001505/0.3952, allocations: 335.1 kB / 379.2 MB, free: 12.61 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002749/0.3955, allocations: 135 kB / 379.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003062/0.3986, allocations: 1.423 MB / 380.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3986, allocations: 0 / 380.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.3999, allocations: 0.8248 MB / 381.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.4012, allocations: 274.7 kB / 381.8 MB, free: 9.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005057/0.4063, allocations: 2.79 MB / 384.6 MB, free: 7.105 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.4073, allocations: 1.322 MB / 385.9 MB, free: 5.758 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005516/0.4079, allocations: 143.3 kB / 386.1 MB, free: 5.613 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.408, allocations: 59.42 kB / 386.1 MB, free: 5.555 MB / 318.1 MB Notification: Performance of SimCode: time 9.72e-07/0.408, allocations: 0 / 386.1 MB, free: 5.555 MB / 318.1 MB Notification: Performance of Templates: time 0.03647/0.4445, allocations: 19.33 MB / 405.5 MB, free: 2.188 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1)