Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002029/0.002029, allocations: 197.7 kB / 16.14 MB, free: 6.707 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.908/1.908, allocations: 205.1 MB / 222 MB, free: 4.762 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.001704/0.001705, allocations: 43.94 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4661, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.007189/0.4734, allocations: 3.69 MB / 328.4 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003051/0.4765, allocations: 0.9349 MB / 329.3 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004293/0.477, allocations: 10.91 kB / 329.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.4775, allocations: 58.19 kB / 329.4 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005206/0.478, allocations: 131 kB / 329.5 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.4785, allocations: 133.7 kB / 329.7 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000887/0.4794, allocations: 0.5694 MB / 330.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006169/0.48, allocations: 186.9 kB / 330.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004856/0.4805, allocations: 201.3 kB / 330.6 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000438/0.481, allocations: 225.3 kB / 330.8 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.4811, allocations: 34.75 kB / 330.9 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.4812, allocations: 34.59 kB / 330.9 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.4814, allocations: 90.14 kB / 331 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004642/0.4819, allocations: 249 kB / 331.2 MB, free: 13 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008338/0.4827, allocations: 0.5842 MB / 331.8 MB, free: 12.55 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.4827, allocations: 0 / 331.8 MB, free: 12.55 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4827, allocations: 0 / 331.8 MB, free: 12.55 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.54e-05/0.4828, allocations: 1.094 kB / 331.8 MB, free: 12.55 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002341/0.4851, allocations: 0.7663 MB / 332.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.4852, allocations: 10.78 kB / 332.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.4853, allocations: 55.12 kB / 332.6 MB, free: 11.88 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/0.4859, allocations: 376.2 kB / 333 MB, free: 11.53 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.486, allocations: 29.69 kB / 333 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.4861, allocations: 45.22 kB / 333.1 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.4871, allocations: 457.5 kB / 333.5 MB, free: 11.19 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.4872, allocations: 4 kB / 333.5 MB, free: 11.18 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.4873, allocations: 16 kB / 333.5 MB, free: 11.17 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.4873, allocations: 8 kB / 333.6 MB, free: 11.16 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007035/0.488, allocations: 315.8 kB / 333.9 MB, free: 10.86 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00303/0.491, allocations: 1.832 MB / 335.7 MB, free: 8.918 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.4922, allocations: 0.6163 MB / 336.3 MB, free: 8.238 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000698/0.4929, allocations: 265.4 kB / 336.6 MB, free: 7.977 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.493, allocations: 8.328 kB / 336.6 MB, free: 7.969 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006297/0.4936, allocations: 265.2 kB / 336.8 MB, free: 7.691 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 2.104e-06/0.4937, allocations: 0 / 336.8 MB, free: 7.691 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002637/0.4963, allocations: 0.8432 MB / 337.7 MB, free: 6.82 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/0.4964, allocations: 93 kB / 337.8 MB, free: 6.711 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.4968, allocations: 316.4 kB / 338.1 MB, free: 6.391 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.4969, allocations: 37.7 kB / 338.1 MB, free: 6.348 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.4971, allocations: 216.4 kB / 338.3 MB, free: 6.129 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.4972, allocations: 138 kB / 338.5 MB, free: 5.992 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.4974, allocations: 86.25 kB / 338.5 MB, free: 5.902 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.4976, allocations: 346.8 kB / 338.9 MB, free: 5.555 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.4978, allocations: 121.1 kB / 339 MB, free: 5.438 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.4982, allocations: 253 kB / 339.2 MB, free: 5.137 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006037/0.4988, allocations: 374.2 kB / 339.6 MB, free: 4.719 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.4989, allocations: 8 kB / 339.6 MB, free: 4.711 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000965/0.4998, allocations: 0.506 MB / 340.1 MB, free: 4.195 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.4999, allocations: 12.03 kB / 340.1 MB, free: 4.184 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.4999, allocations: 4 kB / 340.1 MB, free: 4.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006346/0.5005, allocations: 151.6 kB / 340.3 MB, free: 4.031 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.5008, allocations: 59.91 kB / 340.3 MB, free: 3.973 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/0.5041, allocations: 2.3 MB / 342.6 MB, free: 1.543 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.5045, allocations: 47.53 kB / 342.7 MB, free: 1.496 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.5046, allocations: 23.97 kB / 342.7 MB, free: 1.473 MB / 270.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: 13 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003457/0.5049, allocations: 169.8 kB / 342.9 MB, free: 1.297 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.849e-05/0.505, allocations: 35.53 kB / 342.9 MB, free: 1.262 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.5051, allocations: 52.3 kB / 343 MB, free: 1.211 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.5051, allocations: 4 kB / 343 MB, free: 1.207 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.5052, allocations: 7.938 kB / 343 MB, free: 1.199 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.5052, allocations: 3.984 kB / 343 MB, free: 1.195 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.507, allocations: 1.028 MB / 344 MB, free: 108 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.507, allocations: 0 / 344 MB, free: 108 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.5072, allocations: 31.98 kB / 344 MB, free: 76 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005325/0.5077, allocations: 147.1 kB / 344.2 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.5078, allocations: 12 kB / 344.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00358/0.5114, allocations: 2.297 MB / 346.5 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5114, allocations: 0 / 346.5 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.5128, allocations: 0.7233 MB / 347.2 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.5131, allocations: 148.6 kB / 347.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.611e-05/0.5132, allocations: 15.98 kB / 347.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.5134, allocations: 8 kB / 347.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.5136, allocations: 35.94 kB / 347.4 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.5136, allocations: 12 kB / 347.4 MB, free: 12.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003514/0.514, allocations: 219.1 kB / 347.6 MB, free: 12.29 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.514, allocations: 0 / 347.6 MB, free: 12.29 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008243/0.5148, allocations: 147.7 kB / 347.8 MB, free: 12.14 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * Number of clocked states: 0 () * 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 (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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002849/0.5151, allocations: 119.8 kB / 347.9 MB, free: 12.01 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.5165, allocations: 0.537 MB / 348.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5166, allocations: 0 / 348.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006678/0.5172, allocations: 370.2 kB / 348.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/0.5179, allocations: 78 kB / 348.9 MB, free: 11.01 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.5202, allocations: 1.026 MB / 349.9 MB, free: 9.953 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/0.5209, allocations: 0.8318 MB / 350.7 MB, free: 9.098 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.5211, allocations: 39.3 kB / 350.8 MB, free: 9.059 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.12e-05/0.5211, allocations: 35.42 kB / 350.8 MB, free: 9.023 MB / 286.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5211, allocations: 0 / 350.8 MB, free: 9.023 MB / 286.1 MB Notification: Performance of Templates: time 0.0155/0.5366, allocations: 6.392 MB / 357.2 MB, free: 2.625 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)