Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009161/0.0009161, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008589/0.008589, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.742/1.742, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0006821/0.0006823, allocations: 12.52 kB / 279.5 MB, free: 12.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3466, allocations: 47.58 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00478/0.3515, allocations: 4.261 MB / 331.3 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.3545, allocations: 1.316 MB / 332.6 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000427/0.3549, allocations: 21.31 kB / 332.6 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007541/0.3557, allocations: 180.4 kB / 332.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009213/0.3566, allocations: 318.5 kB / 333.1 MB, free: 12.56 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.3571, allocations: 186 kB / 333.3 MB, free: 12.4 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002133/0.3593, allocations: 1.777 MB / 335.1 MB, free: 11.29 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009716/0.3603, allocations: 0.7448 MB / 335.8 MB, free: 10.53 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005813/0.3609, allocations: 482 kB / 336.3 MB, free: 10.05 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000764/0.3616, allocations: 0.6533 MB / 337 MB, free: 9.398 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.3618, allocations: 68 kB / 337 MB, free: 9.332 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.3619, allocations: 64 kB / 337.1 MB, free: 9.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003363/0.3623, allocations: 318.9 kB / 337.4 MB, free: 8.957 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006504/0.3629, allocations: 0.6351 MB / 338 MB, free: 8.312 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.3647, allocations: 1.911 MB / 339.9 MB, free: 6.395 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3647, allocations: 4 kB / 340 MB, free: 6.391 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3647, allocations: 0 / 340 MB, free: 6.391 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.835e-05/0.3648, allocations: 8 kB / 340 MB, free: 6.383 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.002614/0.3674, allocations: 1.401 MB / 341.4 MB, free: 4.926 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3674, allocations: 12.03 kB / 341.4 MB, free: 4.914 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/0.3677, allocations: 135.3 kB / 341.5 MB, free: 4.781 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.3689, allocations: 0.8644 MB / 342.4 MB, free: 3.875 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/0.369, allocations: 78.38 kB / 342.4 MB, free: 3.801 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.3692, allocations: 108 kB / 342.6 MB, free: 3.695 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.3717, allocations: 1.435 MB / 344 MB, free: 2.227 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.3717, allocations: 0 / 344 MB, free: 2.227 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.3718, allocations: 44 kB / 344 MB, free: 2.184 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.453e-05/0.3719, allocations: 38 kB / 344.1 MB, free: 2.148 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.3741, allocations: 1.304 MB / 345.4 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007012/0.3812, allocations: 4.351 MB / 349.7 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.3836, allocations: 1.974 MB / 351.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009676/0.3845, allocations: 0.6337 MB / 352.3 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.266e-05/0.3846, allocations: 8.656 kB / 352.3 MB, free: 9.551 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009326/0.3855, allocations: 0.6015 MB / 352.9 MB, free: 8.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=75): time 2.525e-06/0.3856, allocations: 0 / 352.9 MB, free: 8.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=75): time 0.007415/0.393, allocations: 2.876 MB / 355.8 MB, free: 6.023 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/0.3931, allocations: 115.4 kB / 355.9 MB, free: 5.887 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.3942, allocations: 0.8245 MB / 356.8 MB, free: 5.051 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/0.3943, allocations: 41.7 kB / 356.8 MB, free: 5.004 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.3947, allocations: 487.8 kB / 357.3 MB, free: 4.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.395, allocations: 244.5 kB / 357.5 MB, free: 4.277 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3951, allocations: 65.69 kB / 357.6 MB, free: 4.207 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.3953, allocations: 394.7 kB / 358 MB, free: 3.812 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006293/0.3959, allocations: 401.7 kB / 358.3 MB, free: 3.422 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007331/0.3967, allocations: 0.5494 MB / 358.9 MB, free: 2.816 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.398, allocations: 0.9348 MB / 359.8 MB, free: 1.824 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.398, allocations: 0 / 359.8 MB, free: 1.824 MB / 286.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002165/0.4002, allocations: 1.326 MB / 361.2 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.4002, allocations: 8 kB / 361.2 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.4003, allocations: 4 kB / 361.2 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.4013, allocations: 480.3 kB / 361.6 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.4017, allocations: 95.83 kB / 361.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006894/0.4086, allocations: 5.141 MB / 366.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007713/0.4094, allocations: 87.45 kB / 367 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.4095, allocations: 28 kB / 367 MB, free: 10.52 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.000925/0.4104, allocations: 463.2 kB / 367.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.4106, allocations: 90.91 kB / 367.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.4108, allocations: 108.6 kB / 367.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.4109, allocations: 8 kB / 367.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4109, allocations: 4 kB / 367.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.4109, allocations: 3.984 kB / 367.6 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004084/0.415, allocations: 2.635 MB / 370.3 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.415, allocations: 0 / 370.3 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.4153, allocations: 67.91 kB / 370.4 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/0.4164, allocations: 460.3 kB / 370.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.4164, allocations: 16.11 kB / 370.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006553/0.423, allocations: 5.099 MB / 375.9 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.423, allocations: 3.984 kB / 375.9 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/0.4261, allocations: 1.927 MB / 377.8 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005026/0.4266, allocations: 275.8 kB / 378.1 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.4267, allocations: 23.92 kB / 378.1 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.4272, allocations: 43.95 kB / 378.2 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.4274, allocations: 72.55 kB / 378.3 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.082e-05/0.4274, allocations: 23.98 kB / 378.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008921/0.4283, allocations: 0.5887 MB / 378.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4284, allocations: 8 kB / 378.9 MB, free: 14.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001072/0.4295, allocations: 339 kB / 379.2 MB, free: 14.04 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.0002252/0.4297, allocations: 123 kB / 379.3 MB, free: 13.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002134/0.4318, allocations: 1.294 MB / 380.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4318, allocations: 3.938 kB / 380.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.4331, allocations: 0.8289 MB / 381.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.4342, allocations: 254.8 kB / 381.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/0.4386, allocations: 2.814 MB / 384.5 MB, free: 8.668 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009927/0.4396, allocations: 1.318 MB / 385.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004708/0.4401, allocations: 147.3 kB / 386 MB, free: 7.168 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.4402, allocations: 47.44 kB / 386 MB, free: 7.121 MB / 318.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4402, allocations: 4 kB / 386 MB, free: 7.117 MB / 318.1 MB Notification: Performance of Templates: time 0.03115/0.4714, allocations: 18.22 MB / 404.2 MB, free: 4.871 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1)