Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadModel(Modelica): time 2.046/2.046, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003455, allocations: 11.94 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09341/0.09378, allocations: 44.49 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005428/0.09926, allocations: 3.017 MB / 312.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.1021, allocations: 1.026 MB / 313.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003594/0.1025, allocations: 11.94 kB / 313.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.1029, allocations: 91.42 kB / 313.2 MB, free: 12.18 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5225:20-5225:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFTyping.typeBindings: time 0.0009225/0.1038, allocations: 207.3 kB / 313.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.1042, allocations: 91.89 kB / 313.5 MB, free: 11.89 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5225:20-5225:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFFlatten.flatten: time 0.001165/0.1054, allocations: 0.5884 MB / 314.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007677/0.1062, allocations: 384.7 kB / 314.5 MB, free: 10.91 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5225:20-5225:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFEvalConstants.evaluate: time 0.0006031/0.1068, allocations: 287 kB / 314.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007443/0.1076, allocations: 358.5 kB / 315.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.1077, allocations: 44 kB / 315.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.1079, allocations: 40 kB / 315.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.1082, allocations: 199.4 kB / 315.4 MB, free: 10 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.1085, allocations: 181.3 kB / 315.6 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.1099, allocations: 0.9859 MB / 316.5 MB, free: 8.832 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1099, allocations: 0 / 316.5 MB, free: 8.832 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.077e-06/0.1099, allocations: 4 kB / 316.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.1099, allocations: 3.938 kB / 316.6 MB, free: 8.824 MB / 266.7 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.002863/0.1128, allocations: 1.017 MB / 317.6 MB, free: 7.758 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1129, allocations: 8.031 kB / 317.6 MB, free: 7.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.1131, allocations: 90.97 kB / 317.7 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.1145, allocations: 0.5837 MB / 318.3 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.747e-05/0.1146, allocations: 45.31 kB / 318.3 MB, free: 6.988 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.1148, allocations: 71.91 kB / 318.4 MB, free: 6.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.1172, allocations: 0.9032 MB / 319.3 MB, free: 5.992 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/0.1173, allocations: 7.938 kB / 319.3 MB, free: 5.984 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.1174, allocations: 24 kB / 319.3 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-05/0.1175, allocations: 29.31 kB / 319.3 MB, free: 5.934 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.1199, allocations: 0.7975 MB / 320.1 MB, free: 5.137 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006642/0.1266, allocations: 2.807 MB / 322.9 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.1282, allocations: 0.7495 MB / 323.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.1282, allocations: 4.328 kB / 323.7 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009864/0.1292, allocations: 381 kB / 324.1 MB, free: 1.012 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 3.386e-06/0.1292, allocations: 0 / 324.1 MB, free: 1.012 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.004604/0.1339, allocations: 1.205 MB / 325.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.134, allocations: 85.11 kB / 325.3 MB, free: 15.67 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.1351, allocations: 0.5605 MB / 325.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.1353, allocations: 33.7 kB / 325.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.1357, allocations: 356 kB / 326.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.1359, allocations: 145.9 kB / 326.4 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.1359, allocations: 4 kB / 326.4 MB, free: 14.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.1362, allocations: 374.7 kB / 326.8 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007054/0.1369, allocations: 229 kB / 327 MB, free: 13.97 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008178/0.1377, allocations: 360.8 kB / 327.4 MB, free: 13.56 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.1385, allocations: 247.9 kB / 327.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.1385, allocations: 0 / 327.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002307/0.1408, allocations: 0.7742 MB / 328.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.1409, allocations: 12.02 kB / 328.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.1409, allocations: 7.953 kB / 328.4 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008612/0.1418, allocations: 200.7 kB / 328.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/0.1425, allocations: 71.91 kB / 328.7 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005166/0.1477, allocations: 2.729 MB / 331.4 MB, free: 9.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/0.1483, allocations: 59.56 kB / 331.5 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.1484, allocations: 20 kB / 331.5 MB, free: 9.297 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.000651/0.1491, allocations: 333.5 kB / 331.8 MB, free: 8.961 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.1492, allocations: 51.34 kB / 331.9 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.1494, allocations: 69.28 kB / 331.9 MB, free: 8.844 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.1494, allocations: 3.984 kB / 331.9 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1494, allocations: 0 / 331.9 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/0.1498, allocations: 192.3 kB / 332.1 MB, free: 8.633 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.15, allocations: 12 kB / 332.1 MB, free: 8.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004683/0.1505, allocations: 31.97 kB / 332.2 MB, free: 8.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.1506, allocations: 43.83 kB / 332.2 MB, free: 8.547 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002945/0.1536, allocations: 0.8617 MB / 333.1 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002625/0.1563, allocations: 1.051 MB / 334.1 MB, free: 6.609 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007472/0.1571, allocations: 267.7 kB / 334.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008273/0.1579, allocations: 410.8 kB / 334.8 MB, free: 5.949 MB / 282.7 MB Notification: Performance of Backend: time 7.02e-07/0.1579, allocations: 0 / 334.8 MB, free: 5.949 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.1599, allocations: 0.6043 MB / 335.4 MB, free: 5.328 MB / 282.7 MB Notification: Performance of SimCode: time 0.00429/0.1642, allocations: 2.154 MB / 337.5 MB, free: 3.129 MB / 282.7 MB Notification: Performance of Templates: time 0.02688/0.1911, allocations: 8.837 MB / 346.4 MB, free: 10.34 MB / 298.7 MB "" Variables in the reference:time,meanCurrent.x,meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.y,meanVoltage.y,rootMeanSquareVoltage.mean.y Variables in the result:R,Vrms,f,m,meanCurrent.f,meanCurrent.t0,meanCurrent.x,meanCurrent.x0,meanCurrent.y,meanCurrent.yGreaterOrEqualZero,meanVoltage.f,meanVoltage.t0,meanVoltage.x,meanVoltage.x0,meanVoltage.y,meanVoltage.yGreaterOrEqualZero,rectifier.GoffDiode,rectifier.RonDiode,rectifier.T,rectifier.VkneeDiode,rectifier.ac.m,rectifier.diode.Goff[1],rectifier.diode.Goff[2],rectifier.diode.Goff[3],rectifier.diode.Ron[1],rectifier.diode.Ron[2],rectifier.diode.Ron[3],rectifier.diode.T[1],rectifier.diode.T[2],rectifier.diode.T[3],rectifier.diode.Vknee[1],rectifier.diode.Vknee[2],rectifier.diode.Vknee[3],rectifier.diode.idealDiode[1].Goff,rectifier.diode.idealDiode[1].Ron,rectifier.diode.idealDiode[1].T,rectifier.diode.idealDiode[1].T_heatPort,rectifier.diode.idealDiode[1].Vknee,rectifier.diode.idealDiode[2].Goff,rectifier.diode.idealDiode[2].Ron,rectifier.diode.idealDiode[2].T,rectifier.diode.idealDiode[2].T_heatPort,rectifier.diode.idealDiode[2].Vknee,rectifier.diode.idealDiode[3].Goff,rectifier.diode.idealDiode[3].Ron,rectifier.diode.idealDiode[3].T,rectifier.diode.idealDiode[3].T_heatPort,rectifier.diode.idealDiode[3].Vknee,rectifier.diode.m,rectifier.diode.mh,rectifier.diode.plug_n.m,rectifier.diode.plug_p.m,rectifier.m,rectifier.star.m,rectifier.star.plug_p.m,resistor.R,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,rootMeanSquareVoltage.f,rootMeanSquareVoltage.mean.f,rootMeanSquareVoltage.mean.t0,rootMeanSquareVoltage.mean.x,rootMeanSquareVoltage.mean.x0,rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.yGreaterOrEqualZero,rootMeanSquareVoltage.product.significantDigits,rootMeanSquareVoltage.x0,sineVoltage_p.V[1],sineVoltage_p.V[2],sineVoltage_p.V[3],sineVoltage_p.freqHz[1],sineVoltage_p.freqHz[2],sineVoltage_p.freqHz[3],sineVoltage_p.m,sineVoltage_p.offset[1],sineVoltage_p.offset[2],sineVoltage_p.offset[3],sineVoltage_p.phase[1],sineVoltage_p.phase[2],sineVoltage_p.phase[3],sineVoltage_p.plug_n.m,sineVoltage_p.plug_p.m,sineVoltage_p.sineVoltage[1].V,sineVoltage_p.sineVoltage[1].freqHz,sineVoltage_p.sineVoltage[1].offset,sineVoltage_p.sineVoltage[1].phase,sineVoltage_p.sineVoltage[1].signalSource.amplitude,sineVoltage_p.sineVoltage[1].signalSource.freqHz,sineVoltage_p.sineVoltage[1].signalSource.offset,sineVoltage_p.sineVoltage[1].signalSource.phase,sineVoltage_p.sineVoltage[1].signalSource.startTime,sineVoltage_p.sineVoltage[1].startTime,sineVoltage_p.sineVoltage[2].V,sineVoltage_p.sineVoltage[2].freqHz,sineVoltage_p.sineVoltage[2].offset,sineVoltage_p.sineVoltage[2].phase,sineVoltage_p.sineVoltage[2].signalSource.amplitude,sineVoltage_p.sineVoltage[2].signalSource.freqHz,sineVoltage_p.sineVoltage[2].signalSource.offset,sineVoltage_p.sineVoltage[2].signalSource.phase,sineVoltage_p.sineVoltage[2].signalSource.startTime,sineVoltage_p.sineVoltage[2].startTime,sineVoltage_p.sineVoltage[3].V,sineVoltage_p.sineVoltage[3].freqHz,sineVoltage_p.sineVoltage[3].offset,sineVoltage_p.sineVoltage[3].phase,sineVoltage_p.sineVoltage[3].signalSource.amplitude,sineVoltage_p.sineVoltage[3].signalSource.freqHz,sineVoltage_p.sineVoltage[3].signalSource.offset,sineVoltage_p.sineVoltage[3].signalSource.phase,sineVoltage_p.sineVoltage[3].signalSource.startTime,sineVoltage_p.sineVoltage[3].startTime,sineVoltage_p.startTime[1],sineVoltage_p.startTime[2],sineVoltage_p.startTime[3],star.m,star.plug_p.m,time