Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.007174/0.007174, allocations: 95.19 kB / 15.73 MB, free: 6.043 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.001315/0.001315, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.538/1.538, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001144/0.001144, allocations: 54.98 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1054, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006334/0.1118, allocations: 4.499 MB / 377.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003045/0.1148, allocations: 1.27 MB / 379 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003793/0.1153, allocations: 19.88 kB / 379 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.1157, allocations: 162.7 kB / 379.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.1169, allocations: 346 kB / 379.5 MB, free: 11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.1174, allocations: 195.7 kB / 379.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001944/0.1194, allocations: 1.623 MB / 381.3 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.1206, allocations: 0.9374 MB / 382.2 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008762/0.1215, allocations: 0.6735 MB / 382.9 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.1226, allocations: 0.8445 MB / 383.7 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002732/0.1228, allocations: 176 kB / 383.9 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.1232, allocations: 172 kB / 384.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004552/0.1236, allocations: 482.7 kB / 384.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000874/0.1245, allocations: 0.7855 MB / 385.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002522/0.1271, allocations: 2.25 MB / 387.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.1271, allocations: 0 / 387.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1271, allocations: 0 / 387.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.822e-05/0.1271, allocations: 0 / 387.6 MB, free: 2.836 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003368/0.1305, allocations: 1.789 MB / 389.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1306, allocations: 8.031 kB / 389.4 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002419/0.1308, allocations: 160 kB / 389.5 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.1322, allocations: 0.9391 MB / 390.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/0.1323, allocations: 78.41 kB / 390.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.1325, allocations: 108.1 kB / 390.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.135, allocations: 1.541 MB / 392.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.1351, allocations: 7.891 kB / 392.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.1352, allocations: 40 kB / 392.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.014e-05/0.1352, allocations: 46.02 kB / 392.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.1376, allocations: 1.421 MB / 393.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007368/0.1449, allocations: 4.88 MB / 398.6 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.1469, allocations: 1.449 MB / 400 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.1483, allocations: 0.7428 MB / 400.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-05/0.1484, allocations: 4.562 kB / 400.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009777/0.1494, allocations: 0.6161 MB / 401.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.948e-06/0.1494, allocations: 0 / 401.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.005892/0.1553, allocations: 2.416 MB / 403.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.1554, allocations: 93.7 kB / 403.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.1568, allocations: 0.9344 MB / 404.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/0.1568, allocations: 41.7 kB / 404.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006048/0.1574, allocations: 0.5396 MB / 405.4 MB, free: 436 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.1577, allocations: 242 kB / 405.7 MB, free: 192 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.1579, allocations: 130.6 kB / 405.8 MB, free: 56 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1581, allocations: 334 kB / 406.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006636/0.1588, allocations: 417.7 kB / 406.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008056/0.1596, allocations: 0.5446 MB / 407.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.1612, allocations: 0.9464 MB / 408 MB, free: 13.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1612, allocations: 0 / 408 MB, free: 13.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002142/0.1633, allocations: 1.296 MB / 409.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1634, allocations: 12 kB / 409.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.1634, allocations: 4 kB / 409.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00098/0.1644, allocations: 402.4 kB / 409.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.1649, allocations: 111.8 kB / 409.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006043/0.1709, allocations: 4.506 MB / 414.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/0.1716, allocations: 83.7 kB / 414.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.1716, allocations: 31.98 kB / 414.5 MB, free: 7.125 MB / 350.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.0006599/0.1723, allocations: 491.2 kB / 414.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.1724, allocations: 103.4 kB / 415 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.1727, allocations: 112.5 kB / 415.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.1727, allocations: 11.98 kB / 415.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1727, allocations: 0 / 415.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1727, allocations: 0 / 415.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00381/0.1765, allocations: 2.598 MB / 417.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1765, allocations: 0 / 417.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.177, allocations: 79.88 kB / 417.8 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007912/0.1778, allocations: 392.8 kB / 418.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.1778, allocations: 16 kB / 418.2 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005496/0.1833, allocations: 4.475 MB / 422.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1834, allocations: 0 / 422.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003122/0.1865, allocations: 1.964 MB / 424.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004694/0.187, allocations: 292.4 kB / 425 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.1871, allocations: 12 kB / 425 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.1875, allocations: 47.95 kB / 425 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.1878, allocations: 80.53 kB / 425.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.1878, allocations: 19.98 kB / 425.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001128/0.1889, allocations: 0.6708 MB / 425.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.189, allocations: 0 / 425.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001088/0.19, allocations: 351.2 kB / 426.1 MB, free: 11.2 MB / 366.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.0002014/0.1903, allocations: 127 kB / 426.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002373/0.1926, allocations: 1.287 MB / 427.5 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1927, allocations: 0 / 427.5 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.194, allocations: 0.811 MB / 428.3 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.195, allocations: 259.3 kB / 428.6 MB, free: 8.684 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005095/0.2001, allocations: 2.629 MB / 431.2 MB, free: 6.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.2012, allocations: 1.388 MB / 432.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004873/0.2017, allocations: 171.3 kB / 432.8 MB, free: 4.434 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.2019, allocations: 59.42 kB / 432.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2019, allocations: 0 / 432.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of Templates: time 0.0278/0.2297, allocations: 18.46 MB / 451.3 MB, free: 1.879 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)