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.009129/0.009129, allocations: 106 kB / 15.74 MB, free: 5.578 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.00126/0.00126, allocations: 189.9 kB / 16.67 MB, free: 5.516 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.745/1.745, allocations: 205.1 MB / 222.5 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.001307/0.001307, allocations: 51.91 kB / 326.6 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1245, allocations: 46.61 MB / 373.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.2497/0.3743, allocations: 4.663 MB / 377.8 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003753/0.3781, allocations: 1.345 MB / 379.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004051/0.3786, allocations: 28.91 kB / 379.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000693/0.3793, allocations: 216.3 kB / 379.4 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008305/0.3802, allocations: 355.5 kB / 379.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.3806, allocations: 214.1 kB / 380 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.3824, allocations: 1.55 MB / 381.5 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.3838, allocations: 0.9159 MB / 382.4 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009447/0.3847, allocations: 0.6386 MB / 383.1 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.3858, allocations: 0.7541 MB / 383.8 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002816/0.3861, allocations: 167.7 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.3864, allocations: 162.7 kB / 384.2 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005143/0.387, allocations: 437.5 kB / 384.6 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009474/0.3879, allocations: 0.7248 MB / 385.3 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003003/0.3909, allocations: 2.074 MB / 387.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3909, allocations: 0 / 387.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.391, allocations: 0 / 387.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.068e-05/0.391, allocations: 0 / 387.4 MB, free: 6.719 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.003499/0.3945, allocations: 1.624 MB / 389 MB, free: 5.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.3946, allocations: 13.28 kB / 389 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.3949, allocations: 136.7 kB / 389.2 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.3966, allocations: 0.8808 MB / 390 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.183e-05/0.3966, allocations: 73.34 kB / 390.1 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.3968, allocations: 100 kB / 390.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.3994, allocations: 1.432 MB / 391.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.3994, allocations: 6 kB / 391.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.3996, allocations: 42.61 kB / 391.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.049e-05/0.3996, allocations: 41.03 kB / 391.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.4019, allocations: 1.286 MB / 393 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006384/0.4083, allocations: 4.269 MB / 397.3 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.4102, allocations: 1.974 MB / 399.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.4115, allocations: 0.7401 MB / 400 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-05/0.4116, allocations: 9.25 kB / 400 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009811/0.4126, allocations: 0.5926 MB / 400.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 3.065e-06/0.4126, allocations: 0 / 400.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.007556/0.4202, allocations: 2.825 MB / 403.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.699e-05/0.4203, allocations: 119.7 kB / 403.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.4216, allocations: 0.8213 MB / 404.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.868e-05/0.4217, allocations: 41.58 kB / 404.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004777/0.4221, allocations: 490.5 kB / 404.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.4224, allocations: 244 kB / 405.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/0.4226, allocations: 129.7 kB / 405.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.4229, allocations: 393.2 kB / 405.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007691/0.4236, allocations: 400.9 kB / 406 MB, free: 11.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009265/0.4246, allocations: 0.5427 MB / 406.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.4261, allocations: 0.9243 MB / 407.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.4261, allocations: 2.438 kB / 407.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002392/0.4285, allocations: 1.312 MB / 408.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.4285, allocations: 6.875 kB / 408.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.4285, allocations: 4.125 kB / 408.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.4297, allocations: 475.5 kB / 409.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.4301, allocations: 93.94 kB / 409.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008222/0.4383, allocations: 5.574 MB / 414.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009675/0.4394, allocations: 79.45 kB / 415 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.4395, allocations: 28 kB / 415 MB, free: 4.332 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.001082/0.4406, allocations: 463.2 kB / 415.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004133/0.441, allocations: 87 kB / 415.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.4414, allocations: 112.6 kB / 415.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.4414, allocations: 4 kB / 415.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.4414, allocations: 7.938 kB / 415.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.4414, allocations: 7.984 kB / 415.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005385/0.4468, allocations: 2.595 MB / 418.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.4469, allocations: 4 kB / 418.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/0.4472, allocations: 63.91 kB / 418.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.4483, allocations: 456.7 kB / 418.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/0.4484, allocations: 20.11 kB / 418.8 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008451/0.4569, allocations: 5.499 MB / 424.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4569, allocations: 0 / 424.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003457/0.4604, allocations: 1.915 MB / 426.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009041/0.4613, allocations: 275.9 kB / 426.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000394/0.4617, allocations: 16 kB / 426.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007425/0.4625, allocations: 39.95 kB / 426.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003029/0.4628, allocations: 72.64 kB / 426.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.825e-05/0.4629, allocations: 23.97 kB / 426.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00135/0.4642, allocations: 0.5888 MB / 427.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4642, allocations: 0 / 427.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001818/0.4661, allocations: 339.1 kB / 427.6 MB, free: 7.555 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.0003386/0.4664, allocations: 127.2 kB / 427.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002789/0.4692, allocations: 1.274 MB / 429 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.4692, allocations: 0 / 429 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.4709, allocations: 0.8356 MB / 429.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.4726, allocations: 289.5 kB / 430.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005817/0.4784, allocations: 2.296 MB / 432.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/0.4797, allocations: 1.322 MB / 433.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005632/0.4803, allocations: 147.3 kB / 433.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.4805, allocations: 51.44 kB / 433.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of SimCode: time 1.472e-06/0.4805, allocations: 0 / 433.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of Templates: time 0.03399/0.5145, allocations: 19.79 MB / 453.7 MB, free: 13.32 MB / 382.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)