Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001166/0.001167, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001486/0.001486, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.601/1.601, allocations: 205.4 MB / 223.4 MB, free: 5.309 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.0005003/0.0005005, allocations: 12 kB / 280.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.32, allocations: 47.59 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005767/0.3259, allocations: 4.051 MB / 331.8 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003766/0.3297, allocations: 1.286 MB / 333.1 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005015/0.3302, allocations: 21 kB / 333.1 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007503/0.331, allocations: 163.5 kB / 333.3 MB, free: 13.07 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5153:20-5153:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5164:20-5164:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.0009148/0.3319, allocations: 313.2 kB / 333.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.3323, allocations: 134.6 kB / 333.7 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002291/0.3346, allocations: 1.596 MB / 335.3 MB, free: 11.76 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.3358, allocations: 0.6542 MB / 336 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008502/0.3367, allocations: 474.1 kB / 336.4 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009297/0.3376, allocations: 0.6225 MB / 337 MB, free: 10.12 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.3378, allocations: 68 kB / 337.1 MB, free: 10.05 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.3379, allocations: 64 kB / 337.2 MB, free: 9.992 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003364/0.3383, allocations: 318.9 kB / 337.5 MB, free: 9.68 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.3386, allocations: 273.1 kB / 337.7 MB, free: 9.406 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.3402, allocations: 1.645 MB / 339.4 MB, free: 7.758 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.3402, allocations: 4 kB / 339.4 MB, free: 7.754 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3402, allocations: 3.938 kB / 339.4 MB, free: 7.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.039e-05/0.3403, allocations: 0 / 339.4 MB, free: 7.75 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.002656/0.3429, allocations: 1.416 MB / 340.8 MB, free: 6.277 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.343, allocations: 12.03 kB / 340.8 MB, free: 6.266 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.3433, allocations: 134.4 kB / 341 MB, free: 6.133 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.3445, allocations: 0.8326 MB / 341.8 MB, free: 5.258 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/0.3446, allocations: 77.94 kB / 341.9 MB, free: 5.184 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.3448, allocations: 99.94 kB / 342 MB, free: 5.086 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.3472, allocations: 1.427 MB / 343.4 MB, free: 3.625 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.3472, allocations: 0 / 343.4 MB, free: 3.625 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.3474, allocations: 43.92 kB / 343.4 MB, free: 3.582 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.901e-05/0.3474, allocations: 46 kB / 343.5 MB, free: 3.539 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.3495, allocations: 1.288 MB / 344.8 MB, free: 2.25 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006266/0.3558, allocations: 4.347 MB / 349.1 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/0.3579, allocations: 1.967 MB / 351.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009689/0.3589, allocations: 0.6376 MB / 351.7 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.437e-05/0.359, allocations: 8.656 kB / 351.7 MB, free: 10.97 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009695/0.36, allocations: 0.6092 MB / 352.3 MB, free: 10.34 MB / 286.1 MB Notification: Performance of pre-optimization done (n=75): time 2.434e-06/0.36, allocations: 0 / 352.3 MB, free: 10.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=75): time 0.006883/0.3669, allocations: 2.806 MB / 355.1 MB, free: 7.504 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.715e-05/0.367, allocations: 115.5 kB / 355.3 MB, free: 7.367 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3681, allocations: 0.813 MB / 356.1 MB, free: 6.543 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.821e-05/0.3682, allocations: 41.7 kB / 356.1 MB, free: 6.496 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004849/0.3687, allocations: 483.8 kB / 356.6 MB, free: 6.016 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.369, allocations: 244.5 kB / 356.8 MB, free: 5.773 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.369, allocations: 16 kB / 356.8 MB, free: 5.758 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.3692, allocations: 398.7 kB / 357.2 MB, free: 5.359 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006488/0.3699, allocations: 401.7 kB / 357.6 MB, free: 4.965 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000768/0.3707, allocations: 0.5493 MB / 358.2 MB, free: 4.359 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006943/0.3714, allocations: 441.9 kB / 358.6 MB, free: 3.926 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3714, allocations: 3.938 kB / 358.6 MB, free: 3.922 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002163/0.3736, allocations: 1.299 MB / 359.9 MB, free: 2.613 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.3736, allocations: 7.938 kB / 359.9 MB, free: 2.605 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.3736, allocations: 4 kB / 359.9 MB, free: 2.602 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.3748, allocations: 476.2 kB / 360.4 MB, free: 2.133 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.3751, allocations: 95.81 kB / 360.5 MB, free: 2.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007904/0.3831, allocations: 5.134 MB / 365.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005943/0.3837, allocations: 91.44 kB / 365.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/0.3838, allocations: 28 kB / 365.7 MB, free: 12.65 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 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0008574/0.3846, allocations: 459.2 kB / 366.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.3848, allocations: 90.91 kB / 366.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.3851, allocations: 112.5 kB / 366.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3851, allocations: 4 kB / 366.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3852, allocations: 4 kB / 366.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3852, allocations: 7.984 kB / 366.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004872/0.39, allocations: 2.627 MB / 369 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3901, allocations: 0 / 369 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.3904, allocations: 63.89 kB / 369.1 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/0.3914, allocations: 460.3 kB / 369.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.363e-05/0.3915, allocations: 12.12 kB / 369.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007387/0.3989, allocations: 5.099 MB / 374.6 MB, free: 3.512 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/0.3989, allocations: 3.984 kB / 374.6 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/0.4022, allocations: 1.916 MB / 376.6 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008033/0.4031, allocations: 283.8 kB / 376.8 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/0.4034, allocations: 16 kB / 376.8 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005483/0.4039, allocations: 47.89 kB / 376.9 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.4041, allocations: 76.53 kB / 377 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.266e-05/0.4042, allocations: 16 kB / 377 MB, free: 1.125 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00104/0.4052, allocations: 0.581 MB / 377.6 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.773e-06/0.4053, allocations: 8 kB / 377.6 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001556/0.4068, allocations: 343 kB / 377.9 MB, free: 208 kB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003054/0.4072, allocations: 127.2 kB / 378 MB, free: 68 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00278/0.4099, allocations: 1.282 MB / 379.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.41, allocations: 4 kB / 379.3 MB, free: 14.76 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.4115, allocations: 0.8249 MB / 380.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.4129, allocations: 258.8 kB / 380.4 MB, free: 13.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005863/0.4187, allocations: 2.715 MB / 383.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.4203, allocations: 1.322 MB / 384.4 MB, free: 9.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005844/0.4209, allocations: 147.3 kB / 384.6 MB, free: 9.441 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.4211, allocations: 47.44 kB / 384.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of SimCode: time 1.873e-06/0.4211, allocations: 0 / 384.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of Templates: time 0.03524/0.4563, allocations: 17.78 MB / 402.4 MB, free: 7.59 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1)