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.00128/0.00128, allocations: 113.8 kB / 17.07 MB, free: 5.973 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.001479/0.001479, allocations: 194.9 kB / 18 MB, free: 5.059 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.648/1.648, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.00116/0.00116, allocations: 55.91 kB / 327.9 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1075, allocations: 46.62 MB / 374.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.2358/0.3433, allocations: 4.652 MB / 379.2 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.3464, allocations: 1.348 MB / 380.5 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004097/0.3469, allocations: 23.31 kB / 380.5 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000674/0.3476, allocations: 218.2 kB / 380.7 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009573/0.3485, allocations: 345.6 kB / 381.1 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.3491, allocations: 212.2 kB / 381.3 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.351, allocations: 1.541 MB / 382.8 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.3523, allocations: 0.9192 MB / 383.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000988/0.3533, allocations: 0.6396 MB / 384.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.3543, allocations: 0.7507 MB / 385.1 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.3546, allocations: 167.7 kB / 385.3 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.3549, allocations: 162.6 kB / 385.5 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003956/0.3553, allocations: 441.4 kB / 385.9 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006878/0.356, allocations: 0.7204 MB / 386.6 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.3584, allocations: 2.078 MB / 388.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3584, allocations: 0 / 388.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3584, allocations: 0 / 388.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.157e-05/0.3584, allocations: 2.359 kB / 388.7 MB, free: 6.711 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.0033/0.3617, allocations: 1.626 MB / 390.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3618, allocations: 10.22 kB / 390.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002337/0.362, allocations: 135.9 kB / 390.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.3635, allocations: 0.8786 MB / 391.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.3636, allocations: 69.81 kB / 391.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.3638, allocations: 98 kB / 391.5 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002591/0.3664, allocations: 1.438 MB / 392.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.3664, allocations: 5.797 kB / 392.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.3665, allocations: 37.84 kB / 393 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.907e-05/0.3666, allocations: 41.59 kB / 393 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.3689, allocations: 1.286 MB / 394.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006443/0.3754, allocations: 4.275 MB / 398.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.3771, allocations: 1.97 MB / 400.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.3785, allocations: 0.7404 MB / 401.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.81e-05/0.3786, allocations: 7.781 kB / 401.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009841/0.3795, allocations: 0.5983 MB / 401.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.795e-06/0.3796, allocations: 0 / 401.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.007483/0.3871, allocations: 2.826 MB / 404.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.3871, allocations: 112.5 kB / 404.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.3883, allocations: 0.8203 MB / 405.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.435e-05/0.3884, allocations: 41.42 kB / 405.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004299/0.3888, allocations: 497.9 kB / 406.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.3891, allocations: 237.4 kB / 406.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.3893, allocations: 129.8 kB / 406.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.3895, allocations: 394.3 kB / 406.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006333/0.3901, allocations: 394.7 kB / 407.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007877/0.3909, allocations: 0.5525 MB / 407.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.3922, allocations: 0.9202 MB / 408.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3922, allocations: 1.438 kB / 408.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002166/0.3944, allocations: 1.312 MB / 410.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3944, allocations: 6.5 kB / 410.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.3944, allocations: 4.25 kB / 410.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.3956, allocations: 472 kB / 410.6 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.396, allocations: 97.59 kB / 410.7 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007161/0.4031, allocations: 5.574 MB / 416.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007364/0.4039, allocations: 71.55 kB / 416.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.404, allocations: 32 kB / 416.3 MB, free: 4.348 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.000825/0.4048, allocations: 471.1 kB / 416.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.405, allocations: 90.91 kB / 416.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.4052, allocations: 112.6 kB / 417 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4052, allocations: 4 kB / 417 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.4052, allocations: 4 kB / 417 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4052, allocations: 3.984 kB / 417 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/0.4093, allocations: 2.595 MB / 419.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4094, allocations: 0 / 419.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.4097, allocations: 67.91 kB / 419.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009647/0.4106, allocations: 464.8 kB / 420.1 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/0.4107, allocations: 19.98 kB / 420.1 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0069/0.4176, allocations: 5.489 MB / 425.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4176, allocations: 4 kB / 425.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.4205, allocations: 1.919 MB / 427.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005556/0.4211, allocations: 271.9 kB / 427.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.4212, allocations: 20 kB / 427.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.4216, allocations: 39.95 kB / 427.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.4218, allocations: 72.55 kB / 428 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/0.4218, allocations: 19.98 kB / 428 MB, free: 8.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007916/0.4226, allocations: 0.5888 MB / 428.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4226, allocations: 0 / 428.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001144/0.4238, 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.0002088/0.424, allocations: 129.3 kB / 429 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002203/0.4262, allocations: 1.278 MB / 430.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4262, allocations: 0 / 430.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.4275, allocations: 0.8326 MB / 431.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.4287, allocations: 289.1 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.004191/0.4329, allocations: 2.303 MB / 433.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009466/0.4338, allocations: 1.318 MB / 435 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003882/0.4342, allocations: 151.3 kB / 435.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.4344, allocations: 51.44 kB / 435.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4344, allocations: 0 / 435.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of Templates: time 0.03371/0.4681, allocations: 20.21 MB / 455.4 MB, free: 12.9 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)