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.001464/0.001464, allocations: 111.5 kB / 17.06 MB, free: 6 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.001383/0.001383, allocations: 200 kB / 18 MB, free: 5.078 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.744/1.744, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001292/0.001292, allocations: 43.94 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1112, allocations: 46.62 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.2626/0.3738, allocations: 4.656 MB / 379.2 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.377, allocations: 1.348 MB / 380.5 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004784/0.3775, allocations: 24.31 kB / 380.5 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007516/0.3783, allocations: 214.4 kB / 380.7 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.3797, allocations: 346.7 kB / 381.1 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007911/0.3805, allocations: 216.6 kB / 381.3 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002087/0.3826, allocations: 1.541 MB / 382.8 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.3838, allocations: 0.9173 MB / 383.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.3848, allocations: 0.6321 MB / 384.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.3859, allocations: 0.758 MB / 385.1 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002299/0.3861, allocations: 163.7 kB / 385.3 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.3864, allocations: 162.8 kB / 385.5 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004234/0.3869, allocations: 443.4 kB / 385.9 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008484/0.3877, allocations: 0.7226 MB / 386.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002821/0.3906, allocations: 2.075 MB / 388.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3906, allocations: 3.938 kB / 388.7 MB, free: 6.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3906, allocations: 0 / 388.7 MB, free: 6.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.454e-05/0.3906, allocations: 1 kB / 388.7 MB, free: 6.707 MB / 318.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.00386/0.3945, allocations: 1.622 MB / 390.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.3946, allocations: 9.906 kB / 390.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003291/0.3949, allocations: 136.7 kB / 390.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.3966, allocations: 0.8814 MB / 391.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.965e-05/0.3967, allocations: 70.72 kB / 391.4 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.3969, allocations: 100.4 kB / 391.5 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002697/0.3996, allocations: 1.436 MB / 392.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/0.3997, allocations: 1.219 kB / 392.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.3998, allocations: 41.98 kB / 393 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-05/0.3998, allocations: 40.67 kB / 393 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.4023, allocations: 1.287 MB / 394.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006349/0.4087, allocations: 4.274 MB / 398.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.4106, allocations: 1.972 MB / 400.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.4122, allocations: 0.7404 MB / 401.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.4123, allocations: 9.922 kB / 401.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009916/0.4133, allocations: 0.5924 MB / 401.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.815e-06/0.4133, allocations: 3.938 kB / 401.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.007629/0.4209, allocations: 2.825 MB / 404.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.4211, allocations: 116.6 kB / 404.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.4227, allocations: 0.8194 MB / 405.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.837e-05/0.4228, allocations: 42.8 kB / 405.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004773/0.4233, allocations: 489.3 kB / 406.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.4236, allocations: 245.7 kB / 406.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.4238, allocations: 129.3 kB / 406.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.424, allocations: 393.7 kB / 406.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006302/0.4247, allocations: 395.9 kB / 407.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008433/0.4255, allocations: 0.5447 MB / 407.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.4269, allocations: 0.9238 MB / 408.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4269, allocations: 2.812 kB / 408.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002228/0.4291, allocations: 1.306 MB / 410.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.4292, allocations: 10.86 kB / 410.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.4292, allocations: 4.125 kB / 410.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.4304, allocations: 479 kB / 410.6 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.4308, allocations: 93.78 kB / 410.7 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008011/0.4388, allocations: 5.578 MB / 416.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000949/0.4398, allocations: 75.39 kB / 416.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.728e-05/0.4399, allocations: 28 kB / 416.3 MB, free: 4.34 MB / 334.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.001109/0.441, allocations: 471.1 kB / 416.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.4412, allocations: 83.06 kB / 416.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.4415, allocations: 108.6 kB / 417 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.4415, allocations: 8 kB / 417 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.4415, allocations: 0 / 417 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.4415, allocations: 3.984 kB / 417 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004313/0.4459, allocations: 2.593 MB / 419.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4459, allocations: 0 / 419.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.4462, allocations: 71.89 kB / 419.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/0.4472, allocations: 460.8 kB / 420.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/0.4473, allocations: 19.98 kB / 420.1 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007382/0.4547, allocations: 5.493 MB / 425.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4547, allocations: 3.984 kB / 425.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/0.4576, allocations: 1.919 MB / 427.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006911/0.4583, allocations: 271.9 kB / 427.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.4585, allocations: 16 kB / 427.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.4589, allocations: 43.95 kB / 427.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.4591, allocations: 72.55 kB / 427.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/0.4592, allocations: 19.98 kB / 428 MB, free: 8.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009001/0.4601, allocations: 0.5888 MB / 428.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4601, allocations: 0 / 428.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001087/0.4612, allocations: 339.1 kB / 428.9 MB, free: 7.566 MB / 350.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.0001983/0.4614, allocations: 131.2 kB / 429 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.4636, allocations: 1.282 MB / 430.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4636, allocations: 0 / 430.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.4648, allocations: 0.8286 MB / 431.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.4661, allocations: 284.2 kB / 431.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00413/0.4702, allocations: 2.3 MB / 433.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009809/0.4712, allocations: 1.318 MB / 435 MB, free: 1.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004408/0.4717, allocations: 147.3 kB / 435.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.4718, allocations: 55.44 kB / 435.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4718, allocations: 3.938 kB / 435.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Templates: time 0.03133/0.5032, allocations: 19.79 MB / 455 MB, free: 13.34 MB / 382.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)