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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009701/0.0009701, allocations: 91.23 kB / 16.65 MB, free: 6.176 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.0009143/0.0009144, allocations: 181.2 kB / 17.56 MB, free: 5.824 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.867/1.867, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0008064/0.0008063, allocations: 8 kB / 280.8 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1564, allocations: 47.59 MB / 328.3 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004026/0.1605, allocations: 3.299 MB / 331.6 MB, free: 416 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.1625, allocations: 0.9284 MB / 332.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004773/0.163, allocations: 11.94 kB / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.1633, allocations: 51.55 kB / 332.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005827/0.1639, allocations: 123 kB / 332.8 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.1644, allocations: 139.9 kB / 332.9 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008603/0.1653, allocations: 0.5717 MB / 333.5 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003846/0.1657, allocations: 178.5 kB / 333.6 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.166, allocations: 191.2 kB / 333.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.1663, allocations: 210.9 kB / 334 MB, free: 14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.013e-05/0.1664, allocations: 24 kB / 334.1 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.777e-05/0.1665, allocations: 20 kB / 334.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1666, allocations: 83.61 kB / 334.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.1669, allocations: 256.4 kB / 334.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005242/0.1674, allocations: 0.5643 MB / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1674, allocations: 0 / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1674, allocations: 0 / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1674, allocations: 0 / 335 MB, free: 13.05 MB / 286.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.001223/0.1687, allocations: 0.6949 MB / 335.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1687, allocations: 8.031 kB / 335.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.1688, allocations: 56.28 kB / 335.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.1693, allocations: 356.2 kB / 336.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.1693, allocations: 33.31 kB / 336.1 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/0.1694, allocations: 44.38 kB / 336.2 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.1702, allocations: 453.5 kB / 336.6 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.1702, allocations: 7.922 kB / 336.6 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.1702, allocations: 23.94 kB / 336.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.1703, allocations: 12 kB / 336.6 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005834/0.1709, allocations: 319.8 kB / 337 MB, free: 10.96 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.1732, allocations: 1.851 MB / 338.8 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007794/0.174, allocations: 0.6163 MB / 339.4 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005645/0.1746, allocations: 277.3 kB / 339.7 MB, free: 8.051 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.1747, allocations: 4.328 kB / 339.7 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004764/0.1751, allocations: 265.2 kB / 340 MB, free: 7.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 4.729e-06/0.1752, allocations: 3.984 kB / 340 MB, free: 7.766 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002468/0.1776, allocations: 0.8667 MB / 340.8 MB, free: 6.871 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.1777, allocations: 81.11 kB / 340.9 MB, free: 6.773 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.1781, allocations: 312.6 kB / 341.2 MB, free: 6.457 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.1782, allocations: 37.69 kB / 341.2 MB, free: 6.414 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.1783, allocations: 216.3 kB / 341.5 MB, free: 6.195 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.1785, allocations: 134.1 kB / 341.6 MB, free: 6.062 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.1785, allocations: 45.7 kB / 341.6 MB, free: 6.012 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1787, allocations: 350.7 kB / 342 MB, free: 5.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.179, allocations: 121.1 kB / 342.1 MB, free: 5.543 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.1793, allocations: 257 kB / 342.3 MB, free: 5.238 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005853/0.1799, allocations: 382.2 kB / 342.7 MB, free: 4.812 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1799, allocations: 0 / 342.7 MB, free: 4.812 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009006/0.1808, allocations: 0.5129 MB / 343.2 MB, free: 4.289 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.1809, allocations: 4 kB / 343.2 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1809, allocations: 4 kB / 343.2 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000516/0.1814, allocations: 153 kB / 343.4 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.1816, allocations: 67.84 kB / 343.5 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.1845, allocations: 2.318 MB / 345.8 MB, free: 1.617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.1848, allocations: 39.59 kB / 345.8 MB, free: 1.578 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.1848, allocations: 23.94 kB / 345.8 MB, free: 1.555 MB / 286.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.0002667/0.1851, allocations: 177.7 kB / 346 MB, free: 1.371 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.1852, allocations: 39.53 kB / 346 MB, free: 1.332 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.1853, allocations: 52.3 kB / 346.1 MB, free: 1.281 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1853, allocations: 4 kB / 346.1 MB, free: 1.277 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1853, allocations: 4.078 kB / 346.1 MB, free: 1.273 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1853, allocations: 7.969 kB / 346.1 MB, free: 1.266 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.1868, allocations: 1.028 MB / 347.1 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1869, allocations: 0 / 347.1 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.187, allocations: 39.92 kB / 347.2 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003802/0.1874, allocations: 144.7 kB / 347.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.1875, allocations: 4 kB / 347.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002571/0.19, allocations: 2.307 MB / 349.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.19, allocations: 0 / 349.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.1912, allocations: 0.7311 MB / 350.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.1914, allocations: 148.6 kB / 350.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.1915, allocations: 8 kB / 350.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.1917, allocations: 23.98 kB / 350.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.1918, allocations: 31.89 kB / 350.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.1918, allocations: 19.98 kB / 350.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002519/0.1921, allocations: 219.1 kB / 350.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1921, allocations: 0 / 350.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00059/0.1927, allocations: 135.8 kB / 350.9 MB, free: 12.2 MB / 302.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.000189/0.1929, allocations: 119.8 kB / 351.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.1939, allocations: 0.5492 MB / 351.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.194, allocations: 4.125 kB / 351.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005599/0.1945, allocations: 374.4 kB / 352 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.195, allocations: 77.05 kB / 352 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.1968, allocations: 1.051 MB / 353.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.1972, allocations: 0.8357 MB / 353.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001552/0.1974, allocations: 39.3 kB / 354 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.1975, allocations: 31.42 kB / 354 MB, free: 9.039 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1975, allocations: 0 / 354 MB, free: 9.039 MB / 302.1 MB Notification: Performance of Templates: time 0.01216/0.2097, allocations: 6.313 MB / 360.3 MB, free: 2.727 MB / 302.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)