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.001411/0.001411, allocations: 113.7 kB / 16.51 MB, free: 6.707 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.00158/0.00158, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.843/1.843, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.001345/0.001345, allocations: 47.92 kB / 279.4 MB, free: 3.562 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1427, allocations: 46.62 MB / 326 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005215/0.1479, allocations: 3.684 MB / 329.7 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.1499, allocations: 0.9439 MB / 330.6 MB, free: 212 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.1501, allocations: 11.94 kB / 330.6 MB, free: 200 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.1504, allocations: 55.55 kB / 330.7 MB, free: 144 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.1507, allocations: 123 kB / 330.8 MB, free: 20 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.1511, allocations: 131.9 kB / 330.9 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005616/0.1517, allocations: 0.5717 MB / 331.5 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.152, allocations: 182.5 kB / 331.7 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.1522, allocations: 207.1 kB / 331.9 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.1525, allocations: 226.9 kB / 332.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.939e-05/0.1526, allocations: 32 kB / 332.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.951e-05/0.1527, allocations: 35.94 kB / 332.2 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1528, allocations: 95.59 kB / 332.3 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.153, allocations: 242.7 kB / 332.5 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005158/0.1536, allocations: 0.58 MB / 333.1 MB, free: 13.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1536, allocations: 8 kB / 333.1 MB, free: 13.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1536, allocations: 0 / 333.1 MB, free: 13.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1536, allocations: 0 / 333.1 MB, free: 13.72 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.001457/0.1551, allocations: 0.7728 MB / 333.9 MB, free: 12.9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1551, allocations: 12.03 kB / 333.9 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.1552, allocations: 56.36 kB / 333.9 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.1557, allocations: 360.2 kB / 334.3 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.1558, allocations: 29.38 kB / 334.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.367e-05/0.1559, allocations: 52.31 kB / 334.4 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007602/0.1566, allocations: 445.5 kB / 334.8 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.1567, allocations: 0 / 334.8 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.1567, allocations: 20 kB / 334.8 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.1567, allocations: 15.98 kB / 334.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005825/0.1573, allocations: 323.7 kB / 335.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.1598, allocations: 1.824 MB / 337 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007823/0.1606, allocations: 0.6162 MB / 337.6 MB, free: 8.941 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/0.1611, allocations: 277.4 kB / 337.8 MB, free: 8.668 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.1612, allocations: 8.328 kB / 337.9 MB, free: 8.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00046/0.1616, allocations: 273 kB / 338.1 MB, free: 8.375 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.482e-06/0.1617, allocations: 0 / 338.1 MB, free: 8.375 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002263/0.1639, allocations: 0.8316 MB / 339 MB, free: 7.516 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.164, allocations: 93.05 kB / 339 MB, free: 7.406 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.1643, allocations: 316.5 kB / 339.4 MB, free: 7.086 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.625e-05/0.1644, allocations: 33.7 kB / 339.4 MB, free: 7.047 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1646, allocations: 212.4 kB / 339.6 MB, free: 6.832 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.1647, allocations: 138 kB / 339.7 MB, free: 6.695 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.1648, allocations: 82.25 kB / 339.8 MB, free: 6.609 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.165, allocations: 350.7 kB / 340.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.1652, allocations: 125.1 kB / 340.3 MB, free: 6.137 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.1655, allocations: 245 kB / 340.5 MB, free: 5.844 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.1661, allocations: 382.1 kB / 340.9 MB, free: 5.418 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1661, allocations: 0 / 340.9 MB, free: 5.418 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008483/0.1669, allocations: 0.5054 MB / 341.4 MB, free: 4.902 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.1669, allocations: 8 kB / 341.4 MB, free: 4.895 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.167, allocations: 4 kB / 341.4 MB, free: 4.891 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005096/0.1675, allocations: 155.8 kB / 341.6 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.1677, allocations: 67.84 kB / 341.6 MB, free: 4.672 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.1706, allocations: 2.303 MB / 343.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.1709, allocations: 39.72 kB / 344 MB, free: 2.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.171, allocations: 23.94 kB / 344 MB, free: 2.176 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.0002301/0.1712, allocations: 173.7 kB / 344.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.1713, allocations: 39.53 kB / 344.2 MB, free: 1.957 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.864e-05/0.1714, allocations: 48.3 kB / 344.2 MB, free: 1.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1714, allocations: 4 kB / 344.2 MB, free: 1.906 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1714, allocations: 3.938 kB / 344.3 MB, free: 1.902 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1714, allocations: 7.984 kB / 344.3 MB, free: 1.895 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.1729, allocations: 1.028 MB / 345.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1729, allocations: 0 / 345.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.1731, allocations: 35.92 kB / 345.3 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003788/0.1734, allocations: 148.1 kB / 345.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.1735, allocations: 7.984 kB / 345.5 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.1761, allocations: 2.296 MB / 347.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1762, allocations: 0 / 347.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.1773, allocations: 0.7194 MB / 348.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.1775, allocations: 152.6 kB / 348.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.1775, allocations: 12 kB / 348.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.1777, allocations: 12 kB / 348.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.1779, allocations: 35.94 kB / 348.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.1779, allocations: 15.94 kB / 348.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002572/0.1782, allocations: 223.1 kB / 348.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1782, allocations: 0 / 348.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006423/0.1788, allocations: 139.8 kB / 349.1 MB, free: 12.84 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.0001687/0.179, allocations: 123.7 kB / 349.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.18, allocations: 0.5407 MB / 349.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.18, allocations: 0 / 349.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005357/0.1806, allocations: 367.1 kB / 350.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.1811, allocations: 77.19 kB / 350.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.183, allocations: 1.041 MB / 351.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.1835, allocations: 0.824 MB / 352 MB, free: 9.785 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.1836, allocations: 39.3 kB / 352.1 MB, free: 9.746 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.1837, allocations: 27.44 kB / 352.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1837, allocations: 0 / 352.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of Templates: time 0.01327/0.197, allocations: 6.411 MB / 358.5 MB, free: 3.312 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)