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.001305/0.001305, allocations: 100.1 kB / 16.3 MB, free: 5.574 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.001423/0.001423, allocations: 183.1 kB / 17.2 MB, free: 5.508 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.722/1.722, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004989/0.0004989, allocations: 15.44 kB / 280.1 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1211, allocations: 47.58 MB / 327.7 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003841/0.125, allocations: 2.971 MB / 330.7 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1269, allocations: 0.9483 MB / 331.6 MB, free: 144 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.1271, allocations: 7.938 kB / 331.6 MB, free: 136 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.1273, allocations: 51.59 kB / 331.7 MB, free: 84 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004429/0.1278, allocations: 171.5 kB / 331.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.1282, allocations: 103.8 kB / 332 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005448/0.1287, allocations: 407 kB / 332.4 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003251/0.1291, allocations: 149.1 kB / 332.5 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.1293, allocations: 175.3 kB / 332.7 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.1296, allocations: 207 kB / 332.9 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.1297, allocations: 24 kB / 332.9 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.956e-05/0.1297, allocations: 24 kB / 332.9 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.981e-05/0.1298, allocations: 79.67 kB / 333 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.13, allocations: 117.4 kB / 333.1 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.1304, allocations: 454.8 kB / 333.6 MB, free: 14.19 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1304, allocations: 0 / 333.6 MB, free: 14.19 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1304, allocations: 3.938 kB / 333.6 MB, free: 14.18 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1304, allocations: 0 / 333.6 MB, free: 14.18 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.001281/0.1317, allocations: 0.6986 MB / 334.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1318, allocations: 8.031 kB / 334.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.1319, allocations: 55.34 kB / 334.3 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.1324, allocations: 347.1 kB / 334.7 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.1324, allocations: 44.95 kB / 334.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.532e-05/0.1325, allocations: 43.98 kB / 334.7 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007503/0.1333, allocations: 445.5 kB / 335.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.1333, allocations: 0 / 335.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.1334, allocations: 16 kB / 335.2 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1334, allocations: 12 kB / 335.2 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.134, allocations: 323.7 kB / 335.5 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.1365, allocations: 1.844 MB / 337.4 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008409/0.1374, allocations: 0.6124 MB / 338 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.1374, allocations: 4.328 kB / 338 MB, free: 9.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000473/0.1379, allocations: 269.2 kB / 338.2 MB, free: 9.199 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.734e-06/0.1379, allocations: 0 / 338.2 MB, free: 9.199 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002267/0.1402, allocations: 0.8471 MB / 339.1 MB, free: 8.324 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.1403, allocations: 89.11 kB / 339.2 MB, free: 8.219 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.1406, allocations: 308.5 kB / 339.5 MB, free: 7.914 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.1406, allocations: 37.7 kB / 339.5 MB, free: 7.871 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.1408, allocations: 208.4 kB / 339.7 MB, free: 7.664 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.1409, allocations: 145.9 kB / 339.9 MB, free: 7.52 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.141, allocations: 12 kB / 339.9 MB, free: 7.508 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002417/0.1412, allocations: 346.8 kB / 340.2 MB, free: 7.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.1415, allocations: 117.1 kB / 340.3 MB, free: 7.047 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.1418, allocations: 257 kB / 340.6 MB, free: 6.742 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.142, allocations: 143.5 kB / 340.7 MB, free: 6.602 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1421, allocations: 7.891 kB / 340.7 MB, free: 6.594 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008291/0.1429, allocations: 0.5095 MB / 341.2 MB, free: 6.074 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1429, allocations: 8.031 kB / 341.2 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1429, allocations: 4 kB / 341.3 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004608/0.1434, allocations: 144.8 kB / 341.4 MB, free: 5.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.1437, allocations: 63.91 kB / 341.5 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.1465, allocations: 2.346 MB / 343.8 MB, free: 3.379 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.1468, allocations: 43.62 kB / 343.8 MB, free: 3.336 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.1468, allocations: 12 kB / 343.9 MB, free: 3.324 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 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.147, allocations: 182.6 kB / 344 MB, free: 3.137 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.1471, allocations: 39.48 kB / 344.1 MB, free: 3.098 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.705e-05/0.1472, allocations: 48.3 kB / 344.1 MB, free: 3.051 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1472, allocations: 8 kB / 344.1 MB, free: 3.043 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1472, allocations: 0 / 344.1 MB, free: 3.043 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1472, allocations: 0 / 344.1 MB, free: 3.043 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.1487, allocations: 1.011 MB / 345.1 MB, free: 1.973 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1487, allocations: 4 kB / 345.1 MB, free: 1.969 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.1489, allocations: 35.92 kB / 345.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003667/0.1493, allocations: 140.8 kB / 345.3 MB, free: 1.793 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.1493, allocations: 16 kB / 345.3 MB, free: 1.777 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002973/0.1523, allocations: 2.33 MB / 347.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.1523, allocations: 7.938 kB / 347.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.1535, allocations: 0.7039 MB / 348.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.1537, allocations: 148.7 kB / 348.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.1538, allocations: 15.94 kB / 348.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.154, allocations: 23.98 kB / 348.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.1541, allocations: 31.95 kB / 348.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.1542, allocations: 12 kB / 348.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002565/0.1544, allocations: 219 kB / 348.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1544, allocations: 3.938 kB / 348.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006774/0.1551, allocations: 143.7 kB / 349 MB, free: 13.97 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002106/0.1553, allocations: 111.9 kB / 349.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.1564, allocations: 0.5422 MB / 349.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.1564, allocations: 8.297 kB / 349.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005576/0.157, allocations: 378.3 kB / 350 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.1574, allocations: 69.33 kB / 350.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.1591, allocations: 1.029 MB / 351.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.1596, allocations: 0.8399 MB / 351.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.1598, allocations: 35.31 kB / 352 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.1598, allocations: 27.42 kB / 352 MB, free: 10.86 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1598, allocations: 0 / 352 MB, free: 10.86 MB / 302.1 MB Notification: Performance of Templates: time 0.01217/0.172, allocations: 6.054 MB / 358 MB, free: 4.809 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: