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.001506/0.001507, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00206/0.00206, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.749/1.749, allocations: 205.1 MB / 222 MB, free: 4.73 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.001422/0.001422, allocations: 47.92 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.306, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006386/0.3125, allocations: 4.679 MB / 329.4 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003151/0.3157, allocations: 1.325 MB / 330.7 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004087/0.3161, allocations: 25.53 kB / 330.7 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007275/0.3169, allocations: 173.6 kB / 330.9 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008912/0.3178, allocations: 326 kB / 331.2 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.3183, allocations: 191.3 kB / 331.4 MB, free: 12.6 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002022/0.3204, allocations: 1.77 MB / 333.2 MB, free: 11.6 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.3214, allocations: 0.7606 MB / 333.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008653/0.3223, allocations: 0.5214 MB / 334.5 MB, free: 10.36 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008916/0.3232, allocations: 0.7197 MB / 335.2 MB, free: 9.633 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.3234, allocations: 92 kB / 335.3 MB, free: 9.543 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.3236, allocations: 92 kB / 335.4 MB, free: 9.453 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003431/0.3239, allocations: 354.8 kB / 335.7 MB, free: 9.105 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007253/0.3246, allocations: 0.6413 MB / 336.3 MB, free: 8.461 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.3264, allocations: 1.982 MB / 338.3 MB, free: 6.473 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3264, allocations: 0 / 338.3 MB, free: 6.473 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3264, allocations: 0 / 338.3 MB, free: 6.473 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.3264, allocations: 0 / 338.3 MB, free: 6.473 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.002892/0.3293, allocations: 1.627 MB / 340 MB, free: 4.789 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.3294, allocations: 8.031 kB / 340 MB, free: 4.781 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.3296, allocations: 139.2 kB / 340.1 MB, free: 4.645 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.3309, allocations: 0.8645 MB / 341 MB, free: 3.738 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.384e-05/0.331, allocations: 70.36 kB / 341 MB, free: 3.672 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.3311, allocations: 104.1 kB / 341.1 MB, free: 3.57 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/0.3337, allocations: 1.431 MB / 342.6 MB, free: 2.105 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.3337, allocations: 0 / 342.6 MB, free: 2.105 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.3338, allocations: 43.92 kB / 342.6 MB, free: 2.062 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-05/0.3339, allocations: 46 kB / 342.6 MB, free: 2.02 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.3361, allocations: 1.284 MB / 343.9 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006459/0.3425, allocations: 4.328 MB / 348.3 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.3448, allocations: 1.967 MB / 350.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009865/0.3458, allocations: 0.6298 MB / 350.9 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.045e-05/0.3458, allocations: 8.656 kB / 350.9 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.3469, allocations: 0.5937 MB / 351.5 MB, free: 8.859 MB / 286.1 MB Notification: Performance of pre-optimization done (n=75): time 2.215e-06/0.3469, allocations: 0 / 351.5 MB, free: 8.859 MB / 286.1 MB Notification: Performance of matching and sorting (n=75): time 0.007451/0.3543, allocations: 2.845 MB / 354.3 MB, free: 5.984 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.3545, allocations: 111.5 kB / 354.4 MB, free: 5.852 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.3558, allocations: 0.8246 MB / 355.2 MB, free: 5.016 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.11e-05/0.3558, allocations: 41.7 kB / 355.3 MB, free: 4.969 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005766/0.3564, allocations: 483.8 kB / 355.7 MB, free: 4.488 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.3567, allocations: 240.5 kB / 356 MB, free: 4.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.357, allocations: 138.6 kB / 356.1 MB, free: 4.109 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002581/0.3572, allocations: 394.7 kB / 356.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006998/0.3579, allocations: 397.7 kB / 356.9 MB, free: 3.324 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007659/0.3587, allocations: 0.5415 MB / 357.4 MB, free: 2.727 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.36, allocations: 0.9153 MB / 358.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.36, allocations: 0 / 358.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002044/0.3621, allocations: 1.318 MB / 359.7 MB, free: 440 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.3621, allocations: 8 kB / 359.7 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.3621, allocations: 4.469 kB / 359.7 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.3633, allocations: 476.2 kB / 360.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.3637, allocations: 95.83 kB / 360.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007292/0.371, allocations: 5.129 MB / 365.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005884/0.3716, allocations: 79.45 kB / 365.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.3716, allocations: 28 kB / 365.5 MB, free: 10.49 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.0008206/0.3725, allocations: 459.2 kB / 365.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.3726, allocations: 90.91 kB / 366 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.3728, allocations: 112.5 kB / 366.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.3728, allocations: 8 kB / 366.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.3729, allocations: 4 kB / 366.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.3729, allocations: 3.984 kB / 366.1 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003991/0.3769, allocations: 2.608 MB / 368.7 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.3769, allocations: 4 kB / 368.7 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.3772, allocations: 63.83 kB / 368.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009695/0.3782, allocations: 460.5 kB / 369.3 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.3782, allocations: 16 kB / 369.3 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006585/0.3848, allocations: 5.079 MB / 374.4 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3848, allocations: 3.938 kB / 374.4 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.3877, allocations: 1.916 MB / 376.3 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004235/0.3881, allocations: 279.8 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.3882, allocations: 12 kB / 376.6 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.3886, allocations: 43.95 kB / 376.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.3888, allocations: 72.62 kB / 376.7 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.3889, allocations: 19.98 kB / 376.7 MB, free: 14.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008136/0.3897, allocations: 0.5965 MB / 377.3 MB, free: 14.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3897, allocations: 0 / 377.3 MB, free: 14.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001084/0.3908, allocations: 343 kB / 377.6 MB, free: 14.06 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.0002165/0.391, allocations: 127 kB / 377.7 MB, free: 13.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.3932, allocations: 1.275 MB / 379 MB, free: 12.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3932, allocations: 4.188 kB / 379 MB, free: 12.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.3945, allocations: 0.8241 MB / 379.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.3957, allocations: 254.7 kB / 380.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004533/0.4002, allocations: 2.777 MB / 382.9 MB, free: 8.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000975/0.4012, allocations: 1.326 MB / 384.2 MB, free: 7.398 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000391/0.4016, allocations: 147.2 kB / 384.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.4017, allocations: 55.38 kB / 384.4 MB, free: 7.195 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4017, allocations: 0 / 384.4 MB, free: 7.195 MB / 318.1 MB Notification: Performance of Templates: time 0.03167/0.4334, allocations: 18.54 MB / 402.9 MB, free: 4.629 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)