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.0012/0.0012, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001227/0.001227, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.887/1.887, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.002402/0.002402, allocations: 59.92 kB / 280 MB, free: 3.133 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1757, allocations: 46.62 MB / 326.6 MB, free: 4.441 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005762/0.1816, allocations: 3.654 MB / 330.3 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.1835, allocations: 0.9633 MB / 331.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.1838, allocations: 11.94 kB / 331.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.1841, allocations: 71.23 kB / 331.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00038/0.1845, allocations: 138.8 kB / 331.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.1848, allocations: 171.6 kB / 331.6 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006016/0.1855, allocations: 0.5991 MB / 332.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003694/0.1858, allocations: 211.3 kB / 332.4 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.1861, allocations: 223.2 kB / 332.7 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.1864, allocations: 242.8 kB / 332.9 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.523e-05/0.1865, allocations: 56 kB / 333 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.674e-05/0.1866, allocations: 56 kB / 333 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.1867, allocations: 123.5 kB / 333.1 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.187, allocations: 270.7 kB / 333.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000584/0.1876, allocations: 0.6074 MB / 334 MB, free: 13.03 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.1876, allocations: 0 / 334 MB, free: 13.03 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1876, allocations: 0 / 334 MB, free: 13.03 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1876, allocations: 0 / 334 MB, free: 13.03 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.001484/0.1891, allocations: 0.7844 MB / 334.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.1892, allocations: 8.031 kB / 334.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.1893, allocations: 52.38 kB / 334.8 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.1898, allocations: 360.1 kB / 335.2 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.1898, allocations: 29.38 kB / 335.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.148e-05/0.1899, allocations: 40.38 kB / 335.3 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007231/0.1906, allocations: 453.5 kB / 335.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.1906, allocations: 7.938 kB / 335.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.1907, allocations: 20 kB / 335.7 MB, free: 11.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.1907, allocations: 11.94 kB / 335.7 MB, free: 11.17 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005654/0.1913, allocations: 319.8 kB / 336.1 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/0.1937, allocations: 1.824 MB / 337.9 MB, free: 8.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008929/0.1947, allocations: 0.6246 MB / 338.5 MB, free: 8.242 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005605/0.1952, allocations: 269.3 kB / 338.8 MB, free: 7.977 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.1953, allocations: 8.312 kB / 338.8 MB, free: 7.969 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004753/0.1958, allocations: 269.1 kB / 339 MB, free: 7.688 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.1958, allocations: 0 / 339 MB, free: 7.688 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002255/0.198, allocations: 0.8394 MB / 339.9 MB, free: 6.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.1981, allocations: 89.09 kB / 340 MB, free: 6.715 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/0.1985, allocations: 312.5 kB / 340.3 MB, free: 6.395 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.1985, allocations: 37.7 kB / 340.3 MB, free: 6.352 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.1988, allocations: 208.4 kB / 340.5 MB, free: 6.145 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.1989, allocations: 138 kB / 340.6 MB, free: 6.008 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.199, allocations: 86.25 kB / 340.7 MB, free: 5.918 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.1992, allocations: 350.7 kB / 341.1 MB, free: 5.566 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.1995, allocations: 117.1 kB / 341.2 MB, free: 5.453 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.1998, allocations: 253 kB / 341.4 MB, free: 5.148 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/0.2004, allocations: 370.1 kB / 341.8 MB, free: 4.734 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.2004, allocations: 11.94 kB / 341.8 MB, free: 4.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008387/0.2013, allocations: 0.5015 MB / 342.3 MB, free: 4.211 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2013, allocations: 12.03 kB / 342.3 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.2013, allocations: 4 kB / 342.3 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005002/0.2018, allocations: 152 kB / 342.5 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.2021, allocations: 71.84 kB / 342.5 MB, free: 3.977 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.2052, allocations: 2.553 MB / 345.1 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.2054, allocations: 43.66 kB / 345.1 MB, free: 1.242 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.2055, allocations: 23.98 kB / 345.2 MB, free: 1.219 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.0002641/0.2058, allocations: 174 kB / 345.3 MB, free: 1.039 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.2058, allocations: 39.53 kB / 345.4 MB, free: 1 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.2059, allocations: 48.3 kB / 345.4 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.206, allocations: 11.92 kB / 345.4 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.206, allocations: 0 / 345.4 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.206, allocations: 0 / 345.4 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.2075, allocations: 1.028 MB / 346.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2075, allocations: 0 / 346.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.2077, allocations: 39.91 kB / 346.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003943/0.2081, allocations: 147.9 kB / 346.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.2081, allocations: 8 kB / 346.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002971/0.2111, allocations: 2.53 MB / 349.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2111, allocations: 4 kB / 349.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.2123, allocations: 0.7158 MB / 349.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.2125, allocations: 156.6 kB / 350.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.2125, allocations: 15.92 kB / 350.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.2127, allocations: 15.98 kB / 350.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.2129, allocations: 39.89 kB / 350.1 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.2129, allocations: 16 kB / 350.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.2131, allocations: 215.1 kB / 350.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.92e-07/0.2131, allocations: 0 / 350.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000636/0.2138, allocations: 139.8 kB / 350.5 MB, free: 11.64 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.0002048/0.214, allocations: 119.8 kB / 350.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.2151, allocations: 0.5562 MB / 351.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.2151, allocations: 0 / 351.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005592/0.2157, allocations: 387.1 kB / 351.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.2162, allocations: 76.28 kB / 351.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.2179, allocations: 0.8714 MB / 352.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.2185, allocations: 0.824 MB / 353.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.2186, allocations: 35.31 kB / 353.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.436e-05/0.2187, allocations: 27.44 kB / 353.4 MB, free: 8.672 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2187, allocations: 4 kB / 353.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of Templates: time 0.01292/0.2316, allocations: 6.875 MB / 360.2 MB, free: 1.789 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)