Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001969/0.001969, allocations: 188.6 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.452/1.452, allocations: 194.3 MB / 203.1 MB, free: 9.32 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.001742/0.001742, allocations: 112.9 kB / 248.1 MB, free: 6.355 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.467e-05/1.46e-05, allocations: 4 kB / 298.1 MB, free: 8.227 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08566/0.0857, allocations: 44.49 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2881/0.3738, allocations: 75.54 MB / 418.1 MB, free: 20.21 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.374, allocations: 85.5 kB / 418.2 MB, free: 20.17 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01619/0.3902, allocations: 6.976 MB / 425.2 MB, free: 14.44 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3903, allocations: 4 kB / 425.2 MB, free: 14.44 MB / 315.1 MB Notification: Performance of Transformations before backend: time 2.27e-05/0.3903, allocations: 12 kB / 425.2 MB, free: 14.43 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0008366/0.3912, allocations: 0.6375 MB / 425.8 MB, free: 13.77 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3912, allocations: 8.031 kB / 425.8 MB, free: 13.77 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.3913, allocations: 51.44 kB / 425.9 MB, free: 13.71 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.3917, allocations: 367.8 kB / 426.3 MB, free: 13.36 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.3917, allocations: 15.94 kB / 426.3 MB, free: 13.35 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/0.3918, allocations: 31.91 kB / 426.3 MB, free: 13.32 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000411/0.3922, allocations: 269.2 kB / 426.6 MB, free: 13.16 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.3927, allocations: 377.7 kB / 426.9 MB, free: 12.86 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3928, allocations: 4 kB / 426.9 MB, free: 12.86 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.3928, allocations: 0 / 426.9 MB, free: 12.86 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3928, allocations: 8 kB / 426.9 MB, free: 12.85 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.3946, allocations: 1.767 MB / 428.7 MB, free: 11.32 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.3951, allocations: 0.5724 MB / 429.3 MB, free: 10.84 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.3955, allocations: 216.4 kB / 429.5 MB, free: 10.7 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.3955, allocations: 4.328 kB / 429.5 MB, free: 10.7 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003736/0.3959, allocations: 257.5 kB / 429.8 MB, free: 10.48 MB / 315.1 MB Notification: Performance of pre-optimization done (n=43): time 1.853e-06/0.3959, allocations: 0 / 429.8 MB, free: 10.48 MB / 315.1 MB Notification: Performance of matching and sorting (n=43): time 0.0007278/0.3966, allocations: 405.8 kB / 430.1 MB, free: 10.18 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.3967, allocations: 93.09 kB / 430.2 MB, free: 10.07 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.3969, allocations: 246.4 kB / 430.5 MB, free: 9.879 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.3969, allocations: 33.69 kB / 430.5 MB, free: 9.84 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.3971, allocations: 207.5 kB / 430.7 MB, free: 9.668 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/0.3971, allocations: 130.2 kB / 430.8 MB, free: 9.555 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/0.3972, allocations: 3.5 kB / 430.8 MB, free: 9.555 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.3973, allocations: 347.7 kB / 431.2 MB, free: 9.223 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.3974, allocations: 99.81 kB / 431.3 MB, free: 9.168 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.3976, allocations: 221.3 kB / 431.5 MB, free: 8.953 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.3978, allocations: 120 kB / 431.6 MB, free: 8.883 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3978, allocations: 9.688 kB / 431.6 MB, free: 8.875 MB / 315.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006465/0.3985, allocations: 450.4 kB / 432.1 MB, free: 8.535 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3985, allocations: 4.438 kB / 432.1 MB, free: 8.531 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.3985, allocations: 8 kB / 432.1 MB, free: 8.523 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003989/0.3989, allocations: 143.5 kB / 432.2 MB, free: 8.422 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.3991, allocations: 63.84 kB / 432.3 MB, free: 8.359 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.4013, allocations: 2.214 MB / 434.5 MB, free: 6.445 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.4015, allocations: 35.62 kB / 434.5 MB, free: 6.41 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.4016, allocations: 19.62 kB / 434.5 MB, free: 6.395 MB / 315.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: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.4017, allocations: 121.7 kB / 434.7 MB, free: 6.27 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.4017, allocations: 35.62 kB / 434.7 MB, free: 6.234 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.451e-05/0.4018, allocations: 41.41 kB / 434.7 MB, free: 6.211 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4018, allocations: 4 kB / 434.7 MB, free: 6.207 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4018, allocations: 0 / 434.7 MB, free: 6.207 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4019, allocations: 3.984 kB / 434.8 MB, free: 6.203 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009321/0.4028, allocations: 0.9009 MB / 435.7 MB, free: 5.484 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4028, allocations: 0 / 435.7 MB, free: 5.484 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.403, allocations: 39.55 kB / 435.7 MB, free: 5.449 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003045/0.4033, allocations: 137 kB / 435.8 MB, free: 5.352 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.4033, allocations: 4 kB / 435.8 MB, free: 5.348 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.4052, allocations: 2.215 MB / 438 MB, free: 3.441 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4052, allocations: 0 / 438 MB, free: 3.441 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007454/0.4059, allocations: 0.6469 MB / 438.7 MB, free: 2.965 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.4061, allocations: 142.7 kB / 438.8 MB, free: 2.824 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.4061, allocations: 9.734 kB / 438.8 MB, free: 2.816 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.4063, allocations: 4 kB / 438.8 MB, free: 2.812 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.295e-05/0.4064, allocations: 38.97 kB / 438.9 MB, free: 2.781 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.4065, allocations: 10.94 kB / 438.9 MB, free: 2.773 MB / 315.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.4066, allocations: 197.3 kB / 439.1 MB, free: 2.617 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4066, allocations: 6.344 kB / 439.1 MB, free: 2.613 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0005573/0.4072, allocations: 127.6 kB / 439.2 MB, free: 2.488 MB / 315.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001537/0.4074, allocations: 116.2 kB / 439.3 MB, free: 2.367 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0007016/0.4081, allocations: 486.8 kB / 439.8 MB, free: 2.012 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.4081, allocations: 0 / 439.8 MB, free: 2.012 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.4084, allocations: 347.5 kB / 440.1 MB, free: 1.738 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.4088, allocations: 54.22 kB / 440.2 MB, free: 1.699 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.4099, allocations: 0.5713 MB / 440.8 MB, free: 1.172 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.4102, allocations: 0.8357 MB / 441.6 MB, free: 316 kB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.4104, allocations: 31.28 kB / 441.6 MB, free: 288 kB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.251e-05/0.4104, allocations: 27.42 kB / 441.7 MB, free: 260 kB / 315.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4104, allocations: 4 kB / 441.7 MB, free: 256 kB / 315.1 MB Notification: Performance of Templates: time 0.00982/0.4203, allocations: 5.477 MB / 447.1 MB, free: 10.86 MB / 331.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)