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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001393/0.001393, allocations: 188.2 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.234/1.234, allocations: 194.3 MB / 203.1 MB, free: 9.246 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001662/0.001662, allocations: 119 kB / 248.1 MB, free: 6.355 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.519e-05/1.521e-05, allocations: 0 / 298.1 MB, free: 8.207 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09295/0.09298, allocations: 44.49 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2901/0.3832, allocations: 78.6 MB / 421.2 MB, free: 17.24 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.3834, allocations: 91.12 kB / 421.3 MB, free: 17.19 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04229/0.4257, allocations: 20.19 MB / 441.5 MB, free: 0.6172 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4257, allocations: 4 kB / 441.5 MB, free: 0.6133 MB / 315.1 MB Notification: Performance of Transformations before backend: time 8.121e-05/0.4258, allocations: 27.94 kB / 441.5 MB, free: 0.5859 MB / 315.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.00212/0.428, allocations: 1.282 MB / 442.8 MB, free: 15.33 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.428, allocations: 12.03 kB / 442.8 MB, free: 15.32 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.4283, allocations: 138.3 kB / 442.9 MB, free: 15.18 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/0.4317, allocations: 1.67 MB / 444.6 MB, free: 13.84 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.4317, allocations: 28 kB / 444.6 MB, free: 13.81 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.4319, allocations: 60 kB / 444.7 MB, free: 13.75 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001542/0.4334, allocations: 1.122 MB / 445.8 MB, free: 13.08 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.4351, allocations: 1.242 MB / 447 MB, free: 12.16 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.4352, allocations: 3.938 kB / 447 MB, free: 12.16 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/0.4353, allocations: 7.984 kB / 447 MB, free: 12.15 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-05/0.4353, allocations: 44.69 kB / 447.1 MB, free: 12.11 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00511/0.4404, allocations: 4.14 MB / 451.2 MB, free: 8.949 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.442, allocations: 1.92 MB / 453.2 MB, free: 7.207 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007511/0.4428, allocations: 0.5997 MB / 453.8 MB, free: 6.82 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.4429, allocations: 8.781 kB / 453.8 MB, free: 6.812 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007326/0.4436, allocations: 0.553 MB / 454.3 MB, free: 6.398 MB / 331.1 MB Notification: Performance of pre-optimization done (n=75): time 2.275e-06/0.4436, allocations: 0 / 454.3 MB, free: 6.398 MB / 331.1 MB Notification: Performance of matching and sorting (n=75): time 0.001712/0.4453, allocations: 1.158 MB / 455.5 MB, free: 5.566 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.4454, allocations: 111.6 kB / 455.6 MB, free: 5.434 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007587/0.4462, allocations: 0.6624 MB / 456.2 MB, free: 4.934 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.4462, allocations: 29.52 kB / 456.3 MB, free: 4.902 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.4466, allocations: 479.3 kB / 456.7 MB, free: 4.562 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.4467, allocations: 232.7 kB / 457 MB, free: 4.359 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.4468, allocations: 0 / 457 MB, free: 4.359 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4469, allocations: 394.9 kB / 457.4 MB, free: 3.996 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.4474, allocations: 357 kB / 457.7 MB, free: 3.781 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/0.4479, allocations: 0.5021 MB / 458.2 MB, free: 3.277 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/0.4485, allocations: 397.9 kB / 458.6 MB, free: 2.895 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.4485, allocations: 4 kB / 458.6 MB, free: 2.891 MB / 331.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001597/0.4501, allocations: 1.166 MB / 459.8 MB, free: 1.711 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.4501, allocations: 12.58 kB / 459.8 MB, free: 1.699 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.4501, allocations: 8 kB / 459.8 MB, free: 1.691 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009618/0.4511, allocations: 460.6 kB / 460.2 MB, free: 1.238 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.4515, allocations: 87.89 kB / 460.3 MB, free: 1.152 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006119/0.4576, allocations: 4.963 MB / 465.3 MB, free: 12.07 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.4582, allocations: 75.39 kB / 465.4 MB, free: 12 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/0.4582, allocations: 28 kB / 465.4 MB, free: 11.97 MB / 347.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002049/0.4584, allocations: 135.8 kB / 465.5 MB, free: 11.83 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.4586, allocations: 79.06 kB / 465.6 MB, free: 11.75 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.4588, allocations: 100.5 kB / 465.7 MB, free: 11.65 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.4588, allocations: 11.98 kB / 465.7 MB, free: 11.64 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4589, allocations: 4.125 kB / 465.7 MB, free: 11.63 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.4589, allocations: 3.984 kB / 465.7 MB, free: 11.63 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00341/0.4623, allocations: 2.378 MB / 468.1 MB, free: 9.199 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4623, allocations: 3.984 kB / 468.1 MB, free: 9.195 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.4626, allocations: 63.91 kB / 468.2 MB, free: 9.133 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008726/0.4635, allocations: 444.7 kB / 468.6 MB, free: 8.695 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.4635, allocations: 4 kB / 468.6 MB, free: 8.691 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005841/0.4694, allocations: 4.955 MB / 473.5 MB, free: 3.621 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4694, allocations: 0 / 473.5 MB, free: 3.621 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.4717, allocations: 1.787 MB / 475.3 MB, free: 1.812 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/0.4721, allocations: 267.9 kB / 475.6 MB, free: 1.531 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.4722, allocations: 7.938 kB / 475.6 MB, free: 1.523 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/0.4726, allocations: 36.08 kB / 475.6 MB, free: 1.488 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.4728, allocations: 76.61 kB / 475.7 MB, free: 1.41 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.4729, allocations: 23.98 kB / 475.7 MB, free: 1.387 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0006668/0.4735, allocations: 0.5108 MB / 476.2 MB, free: 0.8789 MB / 347.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4735, allocations: 4 kB / 476.3 MB, free: 0.875 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.001015/0.4746, allocations: 307 kB / 476.6 MB, free: 0.5742 MB / 347.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.000212/0.4748, allocations: 128.3 kB / 476.7 MB, free: 448 kB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.4766, allocations: 1.172 MB / 477.8 MB, free: 15.25 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4766, allocations: 0 / 477.8 MB, free: 15.25 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.4776, allocations: 0.759 MB / 478.6 MB, free: 14.48 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009938/0.4786, allocations: 215.8 kB / 478.8 MB, free: 14.28 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.4816, allocations: 1.76 MB / 480.6 MB, free: 12.5 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008649/0.4825, allocations: 1.349 MB / 481.9 MB, free: 11.11 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0003798/0.4829, allocations: 130.9 kB / 482.1 MB, free: 10.98 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.483, allocations: 51.42 kB / 482.1 MB, free: 10.93 MB / 363.1 MB Notification: Performance of SimCode: time 4.5e-07/0.483, allocations: 0 / 482.1 MB, free: 10.93 MB / 363.1 MB Notification: Performance of Templates: time 0.02441/0.5075, allocations: 15.74 MB / 497.8 MB, free: 11.22 MB / 379.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)