Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.01063/0.01063, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001693/0.001693, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.882/1.882, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.001207/0.001207, allocations: 49.91 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1397, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.006264/0.146, allocations: 3.651 MB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1485, allocations: 0.955 MB / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.1488, allocations: 11.94 kB / 377.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.1491, allocations: 79.22 kB / 377.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004395/0.1496, allocations: 138.8 kB / 378 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.15, allocations: 167.7 kB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007899/0.1508, allocations: 0.603 MB / 378.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004626/0.1513, allocations: 223.4 kB / 379 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/0.1517, allocations: 219.2 kB / 379.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003995/0.1521, allocations: 250.9 kB / 379.5 MB, free: 11 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.886e-05/0.1522, allocations: 52 kB / 379.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-05/0.1523, allocations: 56 kB / 379.6 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.1524, allocations: 123.6 kB / 379.7 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.1527, allocations: 270.6 kB / 380 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007446/0.1535, allocations: 0.6225 MB / 380.6 MB, free: 9.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.1535, allocations: 0 / 380.6 MB, free: 9.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1535, allocations: 0 / 380.6 MB, free: 9.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.1535, allocations: 4 kB / 380.6 MB, free: 9.883 MB / 318.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.0016/0.1551, allocations: 0.784 MB / 381.4 MB, free: 9.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.1552, allocations: 12.03 kB / 381.4 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.1553, allocations: 56.61 kB / 381.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.1559, allocations: 368.4 kB / 381.8 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/0.1559, allocations: 33.38 kB / 381.8 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.517e-05/0.156, allocations: 40.38 kB / 381.9 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008463/0.1568, allocations: 457.5 kB / 382.3 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.1569, allocations: 0 / 382.3 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.1569, allocations: 19.98 kB / 382.3 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.157, allocations: 12 kB / 382.3 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006357/0.1576, allocations: 319.8 kB / 382.7 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002562/0.1602, allocations: 1.824 MB / 384.5 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009629/0.1612, allocations: 0.613 MB / 385.1 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006053/0.1618, allocations: 269.4 kB / 385.4 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.1618, allocations: 4.328 kB / 385.4 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004889/0.1623, allocations: 265.2 kB / 385.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.984e-06/0.1623, allocations: 0 / 385.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002436/0.1648, allocations: 0.8434 MB / 386.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.1649, allocations: 89.06 kB / 386.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004571/0.1654, allocations: 320.5 kB / 386.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.1655, allocations: 33.7 kB / 386.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.1657, allocations: 220.7 kB / 387.1 MB, free: 2.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.1658, allocations: 138.8 kB / 387.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.166, allocations: 90.2 kB / 387.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.1662, allocations: 346.7 kB / 387.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.1665, allocations: 121.1 kB / 387.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.1668, allocations: 253 kB / 388 MB, free: 1.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/0.1674, allocations: 378.6 kB / 388.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.1675, allocations: 8 kB / 388.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009111/0.1684, allocations: 0.5017 MB / 388.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1684, allocations: 8.031 kB / 388.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.1684, allocations: 4 kB / 388.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005294/0.169, allocations: 152.6 kB / 389.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.1693, allocations: 63.91 kB / 389.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003338/0.1727, allocations: 2.557 MB / 391.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.173, allocations: 43.77 kB / 391.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.173, allocations: 20 kB / 391.8 MB, free: 14.05 MB / 334.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.0003468/0.1734, allocations: 174 kB / 391.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/0.1735, allocations: 43.77 kB / 392 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.1736, allocations: 52.23 kB / 392 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1736, allocations: 7.938 kB / 392 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1736, allocations: 0 / 392 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.1736, allocations: 3.984 kB / 392 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.1753, allocations: 1.024 MB / 393.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1753, allocations: 0 / 393.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.1755, allocations: 31.98 kB / 393.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003997/0.1759, allocations: 140.7 kB / 393.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.176, allocations: 11.98 kB / 393.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/0.1791, allocations: 2.542 MB / 395.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.1791, allocations: 96 / 395.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.1803, allocations: 0.7248 MB / 396.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.1804, allocations: 152.7 kB / 396.7 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.1805, allocations: 15.94 kB / 396.7 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.1807, allocations: 8 kB / 396.7 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.1808, allocations: 39.94 kB / 396.7 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.1809, allocations: 12 kB / 396.7 MB, free: 8.824 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002469/0.1811, allocations: 223.1 kB / 396.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1811, allocations: 0 / 396.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006118/0.1818, allocations: 143.8 kB / 397.1 MB, free: 8.465 MB / 334.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.0002009/0.182, allocations: 119.1 kB / 397.2 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.183, allocations: 0.5332 MB / 397.7 MB, free: 7.789 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.183, allocations: 0 / 397.7 MB, free: 7.789 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006217/0.1836, allocations: 375.2 kB / 398.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.1842, allocations: 88.91 kB / 398.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.1861, allocations: 0.8811 MB / 399.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/0.1867, allocations: 0.8279 MB / 399.9 MB, free: 5.559 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.1869, allocations: 35.31 kB / 399.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.187, allocations: 31.42 kB / 400 MB, free: 5.492 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.187, allocations: 0 / 400 MB, free: 5.492 MB / 334.1 MB Notification: Performance of Templates: time 0.01618/0.2032, allocations: 6.984 MB / 406.9 MB, free: 14.5 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)