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.001226/0.001226, allocations: 103 kB / 16.51 MB, free: 6.645 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.00133/0.00133, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.564/1.564, allocations: 205.1 MB / 223.3 MB, free: 12.39 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.001082/0.001082, allocations: 43.92 kB / 279.3 MB, free: 3.555 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1038, allocations: 46.63 MB / 326 MB, free: 4.855 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005489/0.1093, allocations: 4.514 MB / 330.5 MB, free: 316 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.1116, allocations: 1.263 MB / 331.8 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.1118, allocations: 19.88 kB / 331.8 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.1122, allocations: 131.1 kB / 331.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007643/0.113, allocations: 322.4 kB / 332.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1133, allocations: 171.8 kB / 332.4 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001516/0.1148, allocations: 1.814 MB / 334.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009147/0.1157, allocations: 0.7751 MB / 335 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006216/0.1164, allocations: 0.5641 MB / 335.5 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008654/0.1172, allocations: 0.7937 MB / 336.3 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.1174, allocations: 100 kB / 336.4 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.1176, allocations: 96 kB / 336.5 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003401/0.118, allocations: 402.6 kB / 336.9 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006581/0.1186, allocations: 0.6957 MB / 337.6 MB, free: 9.145 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.1202, allocations: 2.138 MB / 339.7 MB, free: 7 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1202, allocations: 4 kB / 339.8 MB, free: 6.996 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1202, allocations: 0 / 339.8 MB, free: 6.996 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.1202, allocations: 0 / 339.8 MB, free: 6.996 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.002944/0.1232, allocations: 1.748 MB / 341.5 MB, free: 5.191 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1232, allocations: 8.031 kB / 341.5 MB, free: 5.184 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.1235, allocations: 151.2 kB / 341.7 MB, free: 5.035 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.1247, allocations: 0.9228 MB / 342.6 MB, free: 4.066 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/0.1248, allocations: 78.41 kB / 342.7 MB, free: 3.988 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.1249, allocations: 108.1 kB / 342.8 MB, free: 3.883 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.1274, allocations: 1.545 MB / 344.3 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.1274, allocations: 7.844 kB / 344.3 MB, free: 2.273 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.1276, allocations: 43.98 kB / 344.4 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.359e-05/0.1276, allocations: 50.02 kB / 344.4 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.1299, allocations: 1.421 MB / 345.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006635/0.1365, allocations: 4.925 MB / 350.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.1382, allocations: 1.457 MB / 352.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.1395, allocations: 0.7234 MB / 352.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.1396, allocations: 12.55 kB / 352.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.1407, allocations: 0.6045 MB / 353.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.474e-06/0.1407, allocations: 3.938 kB / 353.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005842/0.1466, allocations: 2.415 MB / 356 MB, free: 6.254 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.1467, allocations: 89.7 kB / 356.1 MB, free: 6.148 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.148, allocations: 0.9383 MB / 357 MB, free: 5.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.572e-05/0.1481, allocations: 37.7 kB / 357 MB, free: 5.156 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.1486, allocations: 0.5269 MB / 357.6 MB, free: 4.621 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.1488, allocations: 236.6 kB / 357.8 MB, free: 4.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.149, allocations: 126.7 kB / 357.9 MB, free: 4.258 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1492, allocations: 334 kB / 358.2 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006731/0.1498, allocations: 413.7 kB / 358.6 MB, free: 3.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008421/0.1507, allocations: 0.5562 MB / 359.2 MB, free: 2.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.1522, allocations: 0.9465 MB / 360.1 MB, free: 1.906 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1522, allocations: 0 / 360.1 MB, free: 1.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002105/0.1543, allocations: 1.284 MB / 361.4 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.1544, allocations: 8 kB / 361.4 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.1544, allocations: 4 kB / 361.4 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009115/0.1553, allocations: 410.8 kB / 361.8 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.1558, allocations: 111.8 kB / 362 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005114/0.161, allocations: 4.119 MB / 366.1 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006292/0.1616, allocations: 71.55 kB / 366.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.1617, allocations: 35.88 kB / 366.2 MB, free: 11.73 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.0007508/0.1624, allocations: 499.1 kB / 366.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.1626, allocations: 94.86 kB / 366.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.1628, allocations: 112.5 kB / 366.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1628, allocations: 8 kB / 366.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1628, allocations: 0 / 366.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1628, allocations: 3.984 kB / 366.9 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003735/0.1666, allocations: 2.597 MB / 369.5 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1666, allocations: 7.938 kB / 369.5 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.167, allocations: 87.86 kB / 369.6 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008221/0.1679, allocations: 389.4 kB / 369.9 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.1679, allocations: 15.98 kB / 370 MB, free: 7.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004939/0.1729, allocations: 4.084 MB / 374 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1729, allocations: 0 / 374 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/0.1759, allocations: 1.966 MB / 376 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005064/0.1765, allocations: 279.8 kB / 376.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/0.1767, allocations: 15.98 kB / 376.3 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.1771, allocations: 43.95 kB / 376.3 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.1773, allocations: 76.53 kB / 376.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/0.1774, allocations: 19.98 kB / 376.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00106/0.1785, allocations: 0.6708 MB / 377.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1785, allocations: 4 kB / 377.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001084/0.1796, allocations: 346.8 kB / 377.5 MB, free: 200 kB / 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.0002083/0.1798, allocations: 127 kB / 377.6 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.1483/0.3281, allocations: 1.263 MB / 378.8 MB, free: 54.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3281, allocations: 5.156 kB / 378.8 MB, free: 54.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.3293, allocations: 0.7998 MB / 379.6 MB, free: 53.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.3306, allocations: 232.1 kB / 379.9 MB, free: 53.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/0.335, allocations: 3.108 MB / 383 MB, free: 52.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008898/0.3359, allocations: 1.382 MB / 384.4 MB, free: 51.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004835/0.3364, allocations: 170.9 kB / 384.5 MB, free: 51.72 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.3365, allocations: 54.7 kB / 384.6 MB, free: 51.71 MB / 318.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3365, allocations: 4 kB / 384.6 MB, free: 51.71 MB / 318.1 MB Notification: Performance of Templates: time 0.0221/0.3587, allocations: 17.2 MB / 401.8 MB, free: 41.34 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)