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.001541/0.001541, allocations: 107 kB / 16.62 MB, free: 6.961 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.001706/0.001707, allocations: 185.8 kB / 17.54 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.871/1.871, allocations: 205.1 MB / 223.4 MB, free: 12.38 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.00164/0.00164, allocations: 47.92 kB / 279.5 MB, free: 3.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1468, allocations: 46.64 MB / 326.2 MB, free: 4.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.006703/0.1536, allocations: 3.677 MB / 329.8 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.156, allocations: 0.9478 MB / 330.8 MB, free: 100 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006113/0.1566, allocations: 8 kB / 330.8 MB, free: 92 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000514/0.1572, allocations: 51.55 kB / 330.8 MB, free: 40 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009178/0.1582, allocations: 130.9 kB / 331 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.1587, allocations: 143.8 kB / 331.1 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008593/0.1596, allocations: 0.5913 MB / 331.7 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004065/0.16, allocations: 219.4 kB / 331.9 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.1603, allocations: 227.2 kB / 332.1 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.1607, allocations: 242.9 kB / 332.4 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.087e-05/0.1608, allocations: 56 kB / 332.4 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.169e-05/0.1609, allocations: 52 kB / 332.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.161, allocations: 119.6 kB / 332.6 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.1612, allocations: 266.7 kB / 332.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006922/0.1619, allocations: 0.6074 MB / 333.5 MB, free: 13.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.162, allocations: 0 / 333.5 MB, free: 13.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.162, allocations: 3.938 kB / 333.5 MB, free: 13.4 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.162, allocations: 0 / 333.5 MB, free: 13.4 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.001802/0.1638, allocations: 0.7844 MB / 334.3 MB, free: 12.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.504e-05/0.1639, allocations: 8.031 kB / 334.3 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.164, allocations: 52.38 kB / 334.3 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000561/0.1646, allocations: 368.1 kB / 334.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.1646, allocations: 33.38 kB / 334.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.418e-05/0.1647, allocations: 40.38 kB / 334.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008967/0.1656, allocations: 453.5 kB / 335.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.1657, allocations: 4 kB / 335.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/0.1657, allocations: 31.92 kB / 335.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.1657, allocations: 8 kB / 335.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000695/0.1665, allocations: 315.8 kB / 335.5 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.169, allocations: 1.828 MB / 337.4 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008873/0.1699, allocations: 0.6202 MB / 338 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005975/0.1705, allocations: 269.4 kB / 338.3 MB, free: 8.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/0.1706, allocations: 4.328 kB / 338.3 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005361/0.1711, allocations: 265.1 kB / 338.5 MB, free: 8.059 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 2.495e-06/0.1712, allocations: 4 kB / 338.5 MB, free: 8.055 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002384/0.1736, allocations: 0.8394 MB / 339.4 MB, free: 7.188 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.1737, allocations: 89.09 kB / 339.4 MB, free: 7.082 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.1741, allocations: 308.5 kB / 339.7 MB, free: 6.766 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.1741, allocations: 37.7 kB / 339.8 MB, free: 6.723 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.1743, allocations: 212.4 kB / 340 MB, free: 6.512 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.1745, allocations: 138 kB / 340.1 MB, free: 6.375 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.1746, allocations: 86.25 kB / 340.2 MB, free: 6.285 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.1749, allocations: 354.7 kB / 340.6 MB, free: 5.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.1751, allocations: 117.1 kB / 340.7 MB, free: 5.816 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/0.1754, allocations: 257 kB / 340.9 MB, free: 5.508 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.176, allocations: 370.1 kB / 341.3 MB, free: 5.094 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.176, allocations: 7.984 kB / 341.3 MB, free: 5.086 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008981/0.1769, allocations: 0.5013 MB / 341.8 MB, free: 4.574 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1769, allocations: 8 kB / 341.8 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.177, allocations: 4 kB / 341.8 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005026/0.1775, allocations: 152.1 kB / 342 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.1777, allocations: 63.91 kB / 342 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/0.1812, allocations: 2.549 MB / 344.6 MB, free: 1.664 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.1815, allocations: 47.66 kB / 344.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/0.1816, allocations: 20 kB / 344.6 MB, free: 1.598 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.0003071/0.1819, allocations: 165.9 kB / 344.8 MB, free: 1.426 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.182, allocations: 47.5 kB / 344.8 MB, free: 1.379 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.1821, allocations: 48.3 kB / 344.9 MB, free: 1.332 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/0.1821, allocations: 7.938 kB / 344.9 MB, free: 1.324 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1821, allocations: 4 kB / 344.9 MB, free: 1.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1821, allocations: 0 / 344.9 MB, free: 1.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.1838, allocations: 1.031 MB / 345.9 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.1838, allocations: 0 / 345.9 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.184, allocations: 35.97 kB / 346 MB, free: 196 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004182/0.1845, allocations: 151.9 kB / 346.1 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.1845, allocations: 8 kB / 346.1 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003267/0.1878, allocations: 2.538 MB / 348.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1878, allocations: 0 / 348.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.189, allocations: 0.7156 MB / 349.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.1892, allocations: 156.5 kB / 349.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.1893, allocations: 11.94 kB / 349.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.1895, allocations: 15.98 kB / 349.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.1896, allocations: 31.95 kB / 349.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.1897, allocations: 16 kB / 349.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002797/0.19, allocations: 215.1 kB / 349.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.19, allocations: 0 / 349.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006526/0.1906, allocations: 139.8 kB / 349.9 MB, free: 12.02 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.0002291/0.1909, allocations: 124 kB / 350.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.192, allocations: 0.5608 MB / 350.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.192, allocations: 0 / 350.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005829/0.1926, allocations: 374.2 kB / 351 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.1931, allocations: 81.25 kB / 351.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.1952, allocations: 1.031 MB / 352.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.1958, allocations: 0.8279 MB / 352.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.196, allocations: 39.39 kB / 353 MB, free: 8.902 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.98e-05/0.196, allocations: 27.44 kB / 353 MB, free: 8.879 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.196, allocations: 0 / 353 MB, free: 8.879 MB / 302.1 MB Notification: Performance of Templates: time 0.01389/0.2099, allocations: 6.781 MB / 359.8 MB, free: 2.098 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)