Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001126, allocations: 89.64 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.001119/0.00112, allocations: 182.2 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.586/1.586, 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.0004804/0.0004804, allocations: 12 kB / 280.7 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09749/0.09799, allocations: 47.59 MB / 328.3 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005272/0.1033, allocations: 4.101 MB / 332.4 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.1063, allocations: 1.243 MB / 333.7 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003362/0.1067, allocations: 19.88 kB / 333.7 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.107, allocations: 131.1 kB / 333.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008595/0.1079, allocations: 322.4 kB / 334.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.1082, allocations: 175.8 kB / 334.3 MB, free: 13.72 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.11, allocations: 1.814 MB / 336.1 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009541/0.1109, allocations: 0.7673 MB / 336.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000701/0.1117, allocations: 0.5017 MB / 337.4 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009594/0.1126, allocations: 0.7235 MB / 338.1 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.1128, allocations: 72 kB / 338.2 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.113, allocations: 72 kB / 338.3 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003218/0.1133, allocations: 362.7 kB / 338.6 MB, free: 9.387 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006905/0.114, allocations: 0.6934 MB / 339.3 MB, free: 8.684 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.1157, allocations: 2.067 MB / 341.4 MB, free: 6.609 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1157, allocations: 0 / 341.4 MB, free: 6.609 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1158, allocations: 0 / 341.4 MB, free: 6.609 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.481e-05/0.1158, allocations: 0 / 341.4 MB, free: 6.609 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003043/0.1188, allocations: 1.518 MB / 342.9 MB, free: 5.035 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1189, allocations: 12.03 kB / 342.9 MB, free: 5.023 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.1192, allocations: 155.1 kB / 343.1 MB, free: 4.871 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.1205, allocations: 0.9228 MB / 344 MB, free: 3.902 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.13e-05/0.1206, allocations: 74.41 kB / 344.1 MB, free: 3.828 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.1208, allocations: 104.1 kB / 344.2 MB, free: 3.727 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.1236, allocations: 1.553 MB / 345.7 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.1236, allocations: 0 / 345.7 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.1237, allocations: 44 kB / 345.8 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-05/0.1238, allocations: 49.95 kB / 345.8 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.1264, allocations: 1.448 MB / 347.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007733/0.1341, allocations: 4.976 MB / 352.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.1359, allocations: 1.48 MB / 353.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.1372, allocations: 0.739 MB / 354.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.1373, allocations: 8.562 kB / 354.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.1383, allocations: 0.6201 MB / 355.1 MB, free: 8.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.096e-06/0.1383, allocations: 0 / 355.1 MB, free: 8.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.006086/0.1444, allocations: 2.47 MB / 357.5 MB, free: 5.918 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.1445, allocations: 89.77 kB / 357.6 MB, free: 5.812 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.1458, allocations: 0.9266 MB / 358.6 MB, free: 4.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.263e-05/0.1459, allocations: 41.7 kB / 358.6 MB, free: 4.828 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/0.1464, allocations: 0.5347 MB / 359.1 MB, free: 4.285 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.1466, allocations: 228.8 kB / 359.4 MB, free: 4.059 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.402e-05/0.1467, allocations: 61.69 kB / 359.4 MB, free: 3.992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1468, allocations: 334 kB / 359.7 MB, free: 3.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007252/0.1476, allocations: 433.6 kB / 360.2 MB, free: 3.234 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008215/0.1484, allocations: 0.5602 MB / 360.7 MB, free: 2.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.1499, allocations: 0.9738 MB / 361.7 MB, free: 1.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1499, allocations: 0 / 361.7 MB, free: 1.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002343/0.1523, allocations: 1.311 MB / 363 MB, free: 276 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.1523, allocations: 8.344 kB / 363 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.1524, allocations: 8 kB / 363 MB, free: 260 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009433/0.1533, allocations: 406.5 kB / 363.4 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/0.1538, allocations: 115.8 kB / 363.5 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005363/0.1592, allocations: 4.138 MB / 367.7 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000895/0.1601, allocations: 83.42 kB / 367.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.563e-05/0.1603, allocations: 27.98 kB / 367.8 MB, free: 11.36 MB / 318.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: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0008866/0.1612, allocations: 495.1 kB / 368.3 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.1614, allocations: 98.86 kB / 368.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.1617, allocations: 116.5 kB / 368.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1617, allocations: 4 kB / 368.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1617, allocations: 4.125 kB / 368.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.1617, allocations: 7.922 kB / 368.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004311/0.166, allocations: 2.628 MB / 371.1 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.1661, allocations: 0 / 371.1 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.1665, allocations: 95.86 kB / 371.2 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008111/0.1674, allocations: 385.2 kB / 371.6 MB, free: 7.477 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.731e-05/0.1675, allocations: 19.92 kB / 371.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005181/0.1726, allocations: 4.092 MB / 375.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1727, allocations: 0 / 375.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/0.176, allocations: 2.001 MB / 377.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005327/0.1765, allocations: 287.7 kB / 378 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.1767, allocations: 16 kB / 378 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.1771, allocations: 51.95 kB / 378.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.1774, allocations: 80.53 kB / 378.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.1774, allocations: 20.11 kB / 378.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000894/0.1783, allocations: 0.6746 MB / 378.8 MB, free: 68 kB / 318.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1783, allocations: 0 / 378.8 MB, free: 68 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.1761/0.3544, allocations: 343.3 kB / 379.2 MB, free: 52.61 MB / 318.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002939/0.3548, allocations: 124.3 kB / 379.3 MB, free: 52.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002843/0.3576, allocations: 1.301 MB / 380.6 MB, free: 52.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.3577, allocations: 0.5625 kB / 380.6 MB, free: 52.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.3593, allocations: 0.8155 MB / 381.4 MB, free: 52.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.3609, allocations: 230.1 kB / 381.6 MB, free: 52.24 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.3661, allocations: 3.133 MB / 384.8 MB, free: 51 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.3673, allocations: 1.379 MB / 386.1 MB, free: 50.28 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007211/0.368, allocations: 180.5 kB / 386.3 MB, free: 50.26 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.3682, allocations: 55.45 kB / 386.4 MB, free: 50.25 MB / 318.1 MB Notification: Performance of SimCode: time 1.793e-06/0.3682, allocations: 0 / 386.4 MB, free: 50.25 MB / 318.1 MB Notification: Performance of Templates: time 0.02812/0.3963, allocations: 16.9 MB / 403.3 MB, free: 40.1 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)