Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009849/0.0009853, allocations: 90.86 kB / 16.65 MB, free: 6.59 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.0009736/0.0009737, allocations: 182 kB / 17.56 MB, free: 6.203 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.808/1.808, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004702/0.0004704, allocations: 12 kB / 280.8 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1234, allocations: 47.58 MB / 328.3 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004308/0.1278, allocations: 3.05 MB / 331.4 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1299, allocations: 0.8501 MB / 332.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002894/0.1302, allocations: 4 kB / 332.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.1305, allocations: 47.56 kB / 332.3 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004029/0.1309, allocations: 115.1 kB / 332.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.1313, allocations: 115.9 kB / 332.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006448/0.1319, allocations: 482 kB / 333 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/0.1323, allocations: 153.7 kB / 333.1 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.1326, allocations: 155.2 kB / 333.3 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.1329, allocations: 187 kB / 333.5 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.217e-05/0.133, allocations: 20 kB / 333.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.501e-05/0.1331, allocations: 20 kB / 333.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.1332, allocations: 67.69 kB / 333.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.1335, allocations: 228.6 kB / 333.8 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006552/0.1342, allocations: 482 kB / 334.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/0.1342, allocations: 3.984 kB / 334.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.359e-06/0.1342, allocations: 0 / 334.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.1342, allocations: 4 kB / 334.3 MB, free: 13.74 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001437/0.1357, allocations: 0.6405 MB / 334.9 MB, free: 13.05 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.1358, allocations: 16.03 kB / 334.9 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.1359, allocations: 52.36 kB / 335 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005397/0.1364, allocations: 332.3 kB / 335.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.1365, allocations: 25.38 kB / 335.3 MB, free: 12.6 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.1366, allocations: 36.38 kB / 335.4 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006904/0.1372, allocations: 391.3 kB / 335.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.1373, allocations: 4 kB / 335.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.1373, allocations: 16 kB / 335.8 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.1373, allocations: 8 kB / 335.8 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005174/0.1379, allocations: 258.4 kB / 336 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.1401, allocations: 1.49 MB / 337.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.1405, allocations: 255.3 kB / 337.8 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.1409, allocations: 173.2 kB / 337.9 MB, free: 9.867 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.141, allocations: 4.234 kB / 338 MB, free: 9.863 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004438/0.1414, allocations: 245.8 kB / 338.2 MB, free: 9.602 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.1414, allocations: 0 / 338.2 MB, free: 9.602 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001638/0.1431, allocations: 0.5966 MB / 338.8 MB, free: 8.977 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.1431, allocations: 110.8 kB / 338.9 MB, free: 8.844 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.1435, allocations: 292.6 kB / 339.2 MB, free: 8.551 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.1435, allocations: 37.7 kB / 339.2 MB, free: 8.508 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.1438, allocations: 208.4 kB / 339.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.769e-05/0.1439, allocations: 98.55 kB / 339.5 MB, free: 8.203 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.1439, allocations: 41.7 kB / 339.6 MB, free: 8.156 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002951/0.1442, allocations: 342.8 kB / 339.9 MB, free: 7.812 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.1444, allocations: 100.7 kB / 340 MB, free: 7.711 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.1447, allocations: 229.5 kB / 340.2 MB, free: 7.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/0.1452, allocations: 327.1 kB / 340.5 MB, free: 7.055 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1452, allocations: 0 / 340.5 MB, free: 7.055 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007395/0.146, allocations: 429.8 kB / 341 MB, free: 6.625 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.146, allocations: 8 kB / 341 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.146, allocations: 7.984 kB / 341 MB, free: 6.609 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/0.1464, allocations: 80.81 kB / 341 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.1467, allocations: 63.84 kB / 341.1 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.1491, allocations: 1.804 MB / 342.9 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.1494, allocations: 39.69 kB / 343 MB, free: 4.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.1494, allocations: 19.92 kB / 343 MB, free: 4.461 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002941/0.1497, allocations: 174.7 kB / 343.1 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.1498, allocations: 31.62 kB / 343.2 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.662e-05/0.1499, allocations: 47.09 kB / 343.2 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1499, allocations: 8.031 kB / 343.2 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1499, allocations: 0 / 343.2 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.1499, allocations: 3.984 kB / 343.2 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009749/0.1509, allocations: 0.5576 MB / 343.8 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1509, allocations: 0 / 343.8 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.1511, allocations: 35.86 kB / 343.8 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002416/0.1513, allocations: 84.84 kB / 343.9 MB, free: 3.457 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.1514, allocations: 11.98 kB / 343.9 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/0.1536, allocations: 1.796 MB / 345.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1536, allocations: 3.938 kB / 345.7 MB, free: 1.512 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.1547, allocations: 0.4987 MB / 346.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.1549, allocations: 136.7 kB / 346.4 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.1549, allocations: 8 kB / 346.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.1551, allocations: 23.98 kB / 346.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/0.1552, allocations: 19.97 kB / 346.4 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.1552, allocations: 11.98 kB / 346.4 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002439/0.1555, allocations: 211.1 kB / 346.6 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1555, allocations: 0 / 346.6 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005568/0.1561, allocations: 111.6 kB / 346.7 MB, free: 472 kB / 286.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001933/0.1563, allocations: 123.5 kB / 346.8 MB, free: 340 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009194/0.1572, allocations: 422.6 kB / 347.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1572, allocations: 3.938 kB / 347.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00045/0.1577, allocations: 283.3 kB / 347.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.1581, allocations: 60.59 kB / 347.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.1595, allocations: 0.892 MB / 348.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.1601, allocations: 0.8067 MB / 349.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.1602, allocations: 30.97 kB / 349.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.1603, allocations: 27.42 kB / 349.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1603, allocations: 0 / 349.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of Templates: time 0.01089/0.1712, allocations: 4.372 MB / 353.7 MB, free: 9.375 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)