Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 104.4 kB / 17.15 MB, free: 6.309 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.001785/0.001785, allocations: 198 kB / 18.07 MB, free: 5.41 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.939/1.939, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001217/0.001217, allocations: 43.94 kB / 280 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1345, allocations: 46.63 MB / 326.6 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00617/0.1407, allocations: 3.639 MB / 330.3 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.1438, allocations: 1.041 MB / 331.3 MB, free: 164 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003748/0.1442, allocations: 15.88 kB / 331.3 MB, free: 148 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.1446, allocations: 75.47 kB / 331.4 MB, free: 72 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009581/0.1456, allocations: 223.3 kB / 331.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.146, allocations: 127.8 kB / 331.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.1471, allocations: 1.063 MB / 332.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007305/0.1478, allocations: 485.7 kB / 333.3 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000581/0.1484, allocations: 334.7 kB / 333.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006996/0.1491, allocations: 466.1 kB / 334 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.1493, allocations: 64 kB / 334.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.1494, allocations: 56 kB / 334.2 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.1496, allocations: 227.2 kB / 334.4 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005116/0.1501, allocations: 429.8 kB / 334.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.1512, allocations: 1.215 MB / 336 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1512, allocations: 0 / 336 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1512, allocations: 4 kB / 336 MB, free: 11.41 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.1513, allocations: 0 / 336 MB, free: 11.41 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002363/0.1536, allocations: 1.154 MB / 337.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/0.1537, allocations: 12.03 kB / 337.2 MB, free: 10.19 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.1539, allocations: 95.84 kB / 337.3 MB, free: 10.1 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009154/0.1549, allocations: 0.5885 MB / 337.9 MB, free: 9.469 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.1549, allocations: 53.25 kB / 337.9 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.155, allocations: 67.98 kB / 338 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.1566, allocations: 0.9033 MB / 338.9 MB, free: 8.422 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.1567, allocations: 0 / 338.9 MB, free: 8.422 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.673e-05/0.1568, allocations: 32 kB / 338.9 MB, free: 8.391 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/0.1568, allocations: 29.3 kB / 339 MB, free: 8.363 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.1582, allocations: 0.7857 MB / 339.7 MB, free: 7.574 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004457/0.1626, allocations: 2.799 MB / 342.5 MB, free: 4.668 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009863/0.1636, allocations: 0.745 MB / 343.3 MB, free: 3.859 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/0.1642, allocations: 345.3 kB / 343.6 MB, free: 3.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.1643, allocations: 4.328 kB / 343.6 MB, free: 3.516 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006894/0.165, allocations: 389.5 kB / 344 MB, free: 3.113 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 2.275e-06/0.165, allocations: 4 kB / 344 MB, free: 3.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002806/0.1678, allocations: 1.177 MB / 345.2 MB, free: 1.902 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/0.1679, allocations: 114.8 kB / 345.3 MB, free: 1.766 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007986/0.1687, allocations: 0.5683 MB / 345.9 MB, free: 1.188 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.1688, allocations: 33.7 kB / 345.9 MB, free: 1.148 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.1691, allocations: 355.9 kB / 346.3 MB, free: 0.793 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.1693, allocations: 138 kB / 346.4 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.1694, allocations: 90.25 kB / 346.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1696, allocations: 366.8 kB / 346.8 MB, free: 200 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.17, allocations: 217 kB / 347 MB, free: 15.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/0.1705, allocations: 357.8 kB / 347.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008523/0.1713, allocations: 0.5652 MB / 348 MB, free: 14.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.1714, allocations: 7.938 kB / 348 MB, free: 14.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001365/0.1727, allocations: 0.7469 MB / 348.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.1728, allocations: 8 kB / 348.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.1728, allocations: 4.5 kB / 348.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005694/0.1734, allocations: 204.7 kB / 348.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.1737, allocations: 75.94 kB / 349 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/0.1769, allocations: 2.666 MB / 351.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.1774, allocations: 55.7 kB / 351.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.1775, allocations: 16 kB / 351.7 MB, free: 11.02 MB / 302.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: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006054/0.1781, allocations: 329.5 kB / 352.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.1782, allocations: 59.33 kB / 352.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.1784, allocations: 65.22 kB / 352.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1784, allocations: 4 kB / 352.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1784, allocations: 4 kB / 352.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.1784, allocations: 7.984 kB / 352.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.1809, allocations: 1.627 MB / 353.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1809, allocations: 4.031 kB / 353.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.1812, allocations: 51.91 kB / 353.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004641/0.1817, allocations: 196.9 kB / 354.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.1817, allocations: 8 kB / 354.1 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002965/0.1847, allocations: 2.647 MB / 356.7 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1847, allocations: 4 kB / 356.7 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.1866, allocations: 1.096 MB / 357.8 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.1869, allocations: 192.3 kB / 358 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/0.187, allocations: 19.98 kB / 358 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.1873, allocations: 23.97 kB / 358.1 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.1875, allocations: 43.94 kB / 358.1 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.1875, allocations: 11.98 kB / 358.1 MB, free: 4.391 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006596/0.1882, allocations: 414.8 kB / 358.5 MB, free: 3.988 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1882, allocations: 4 kB / 358.5 MB, free: 3.984 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000937/0.1892, allocations: 199.4 kB / 358.7 MB, free: 3.789 MB / 302.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002535/0.1894, allocations: 119.2 kB / 358.8 MB, free: 3.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.1909, allocations: 0.7209 MB / 359.5 MB, free: 2.926 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.191, allocations: 4 kB / 359.6 MB, free: 2.922 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007341/0.1917, allocations: 474 kB / 360 MB, free: 2.445 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007718/0.1925, allocations: 146.7 kB / 360.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.1961, allocations: 1.804 MB / 362 MB, free: 484 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.1972, allocations: 1.062 MB / 363 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004127/0.1977, allocations: 96.72 kB / 363.1 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.1978, allocations: 35.44 kB / 363.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of SimCode: time 3.076e-06/0.1978, allocations: 3.938 kB / 363.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of Templates: time 0.02119/0.219, allocations: 9.428 MB / 372.6 MB, free: 5.82 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches