Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i|inductor.inductor.4..i|inductor.inductor.5..i|inductor.inductor.6..i|fundamentalWaveCurrent.1..mean1.y|fundamentalWaveCurrent.1..mean2.y|fundamentalWaveCurrent.2..mean1.y|fundamentalWaveCurrent.2..mean2.y|fundamentalWaveCurrent.3..mean1.y|fundamentalWaveCurrent.3..mean2.y|fundamentalWaveCurrent.4..mean1.y|fundamentalWaveCurrent.4..mean2.y|fundamentalWaveCurrent.5..mean1.y|fundamentalWaveCurrent.5..mean2.y|fundamentalWaveCurrent.6..mean1.y|fundamentalWaveCurrent.6..mean2.y|fundamentalWaveVoltage.1..mean1.y|fundamentalWaveVoltage.1..mean2.y|fundamentalWaveVoltage.2..mean1.y|fundamentalWaveVoltage.2..mean2.y|fundamentalWaveVoltage.3..mean1.y|fundamentalWaveVoltage.3..mean2.y|fundamentalWaveVoltage.4..mean1.y|fundamentalWaveVoltage.4..mean2.y|fundamentalWaveVoltage.5..mean1.y|fundamentalWaveVoltage.5..mean2.y|fundamentalWaveVoltage.6..mean1.y|fundamentalWaveVoltage.6..mean2.y|inverter.ac.pin.1..v|inverter.ac.pin.1..i|inverter.ac.pin.2..v|inverter.ac.pin.2..i|inverter.ac.pin.3..v|inverter.ac.pin.3..i|inverter.ac.pin.4..v|inverter.ac.pin.4..i|inverter.ac.pin.5..v|inverter.ac.pin.5..i|inverter.ac.pin.6..v|inverter.ac.pin.6..i|currentSensor.i.1.|currentSensor.i.2.|currentSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i|inductor.inductor.4..i|inductor.inductor.5..i|inductor.inductor.6..i|fundamentalWaveCurrent.1..mean1.y|fundamentalWaveCurrent.1..mean2.y|fundamentalWaveCurrent.2..mean1.y|fundamentalWaveCurrent.2..mean2.y|fundamentalWaveCurrent.3..mean1.y|fundamentalWaveCurrent.3..mean2.y|fundamentalWaveCurrent.4..mean1.y|fundamentalWaveCurrent.4..mean2.y|fundamentalWaveCurrent.5..mean1.y|fundamentalWaveCurrent.5..mean2.y|fundamentalWaveCurrent.6..mean1.y|fundamentalWaveCurrent.6..mean2.y|fundamentalWaveVoltage.1..mean1.y|fundamentalWaveVoltage.1..mean2.y|fundamentalWaveVoltage.2..mean1.y|fundamentalWaveVoltage.2..mean2.y|fundamentalWaveVoltage.3..mean1.y|fundamentalWaveVoltage.3..mean2.y|fundamentalWaveVoltage.4..mean1.y|fundamentalWaveVoltage.4..mean2.y|fundamentalWaveVoltage.5..mean1.y|fundamentalWaveVoltage.5..mean2.y|fundamentalWaveVoltage.6..mean1.y|fundamentalWaveVoltage.6..mean2.y|inverter.ac.pin.1..v|inverter.ac.pin.1..i|inverter.ac.pin.2..v|inverter.ac.pin.2..i|inverter.ac.pin.3..v|inverter.ac.pin.3..i|inverter.ac.pin.4..v|inverter.ac.pin.4..i|inverter.ac.pin.5..v|inverter.ac.pin.5..i|inverter.ac.pin.6..v|inverter.ac.pin.6..i|currentSensor.i.1.|currentSensor.i.2.|currentSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 62.89 kB / 307 MB, free: 0.5742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09755/0.09939, allocations: 50.54 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.009397/0.1088, allocations: 6.831 MB / 364.4 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004347/0.1132, allocations: 2.135 MB / 366.5 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006748/0.1139, allocations: 43.81 kB / 366.6 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006179/0.1146, allocations: 301.5 kB / 366.9 MB, free: 4.676 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.1158, allocations: 0.5086 MB / 367.4 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.1168, allocations: 0.5108 MB / 367.9 MB, free: 3.652 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1631/0.2799, allocations: 7.31 MB / 375.2 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004987/0.2849, allocations: 5.248 MB / 380.4 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003574/0.2885, allocations: 3.102 MB / 383.5 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004372/0.2929, allocations: 3.813 MB / 387.4 MB, free: 5.453 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001341/0.2943, allocations: 0.817 MB / 388.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.2958, allocations: 0.8312 MB / 389 MB, free: 5.449 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00151/0.2973, allocations: 2.062 MB / 391.1 MB, free: 4.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003028/0.3003, allocations: 3.612 MB / 394.7 MB, free: 1.926 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008286/0.3086, allocations: 10.36 MB / 405 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3087, allocations: 0 / 405 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3087, allocations: 0.5625 kB / 405 MB, free: 10.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001961/0.3089, allocations: 0 / 405 MB, free: 10.18 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: 1274 * Number of variables: 1274 Notification: Performance of Generate backend data structure: time 0.01764/0.3265, allocations: 7.875 MB / 412.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3266, allocations: 8.031 kB / 412.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003911/0.3305, allocations: 0.9846 MB / 413.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009739/0.3403, allocations: 4.195 MB / 418.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006734/0.341, allocations: 441.1 kB / 418.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001563/0.3426, allocations: 0.5077 MB / 419 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/0.3614, allocations: 8.064 MB / 427.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001531/0.3616, allocations: 15.91 kB / 427.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006802/0.3623, allocations: 208 kB / 427.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002085/0.3625, allocations: 197.8 kB / 427.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/0.3774, allocations: 7.317 MB / 434.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0401/0.4175, allocations: 21.81 MB / 456.6 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/0.4304, allocations: 8.083 MB / 464.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006708/0.4372, allocations: 3.831 MB / 468.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.4374, allocations: 64.75 kB / 468.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007199/0.4446, allocations: 4.082 MB / 472.7 MB, free: 6.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=457): time 5.791e-06/0.4446, allocations: 0 / 472.7 MB, free: 6.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=458): time 0.04335/0.488, allocations: 19.11 MB / 491.8 MB, free: 3.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003253/0.4883, allocations: 470.8 kB / 492.3 MB, free: 2.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006513/0.4949, allocations: 4.299 MB / 496.6 MB, free: 14.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007606/0.4956, allocations: 169.6 kB / 496.7 MB, free: 14.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002188/0.4978, allocations: 2.206 MB / 498.9 MB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001518/0.4994, allocations: 1.405 MB / 0.4886 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001509/0.5009, allocations: 0.8669 MB / 0.4895 GB, free: 9.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.501, allocations: 305.1 kB / 0.4898 GB, free: 9.246 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005255/0.5063, allocations: 2.78 MB / 0.4925 GB, free: 6.445 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006188/0.5125, allocations: 3.824 MB / 0.4962 GB, free: 2.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.5237, allocations: 6.391 MB / 0.5025 GB, free: 11.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-05/0.5238, allocations: 8 kB / 0.5025 GB, free: 11.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01633/0.5401, allocations: 8.189 MB / 0.5105 GB, free: 3.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002042/0.5404, allocations: 186.2 kB / 0.5106 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.471e-05/0.5404, allocations: 24 kB / 0.5107 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004002/0.5444, allocations: 1.744 MB / 0.5124 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003739/0.5482, allocations: 0.7642 MB / 0.5131 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1992/0.7474, allocations: 24.01 MB / 0.5366 GB, free: 133.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004367/0.7518, allocations: 407.1 kB / 0.5369 GB, free: 133.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008252/0.7526, allocations: 173.6 kB / 0.5371 GB, free: 133.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008203/0.7608, allocations: 4.448 MB / 0.5415 GB, free: 132.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00531/0.7662, allocations: 3.662 MB / 0.545 GB, free: 130.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008614/0.7748, allocations: 6.122 MB / 0.551 GB, free: 127.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.951e-05/0.7749, allocations: 7.844 kB / 0.551 GB, free: 127.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01276/0.7877, allocations: 7.903 MB / 0.5587 GB, free: 124.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.878e-05/0.7878, allocations: 183.4 kB / 0.5589 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.413e-05/0.7879, allocations: 27.42 kB / 0.5589 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/0.7908, allocations: 1.741 MB / 0.5606 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/0.7937, allocations: 0.7104 MB / 0.5613 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0189/0.8126, allocations: 24.02 MB / 0.5848 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003786/0.8164, allocations: 399.6 kB / 0.5852 GB, free: 101.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003463/0.8167, allocations: 176 kB / 0.5853 GB, free: 101 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 180 (signalPWM[1].zeroOrderHold.firstTrigger,$PRE.signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.firstTrigger,$PRE.signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.firstTrigger,$PRE.signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.firstTrigger,$PRE.signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.firstTrigger,$PRE.signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.firstTrigger,$PRE.signalPWM[6].zeroOrderHold.firstTrigger,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWaveVoltage[6].mean2.y_last,$PRE.fundamentalWaveVoltage[6].mean2.y_last,fundamentalWaveVoltage[6].mean1.y_last,$PRE.fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[5].mean2.y_last,$PRE.fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[5].mean1.y_last,$PRE.fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[4].mean2.y_last,$PRE.fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[4].mean1.y_last,$PRE.fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[3].mean2.y_last,$PRE.fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[3].mean1.y_last,$PRE.fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[2].mean2.y_last,$PRE.fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[2].mean1.y_last,$PRE.fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[1].mean2.y_last,$PRE.fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[1].mean1.y_last,$PRE.fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveCurrent[6].mean2.y_last,$PRE.fundamentalWaveCurrent[6].mean2.y_last,fundamentalWaveCurrent[6].mean1.y_last,$PRE.fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[5].mean2.y_last,$PRE.fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[5].mean1.y_last,$PRE.fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[4].mean2.y_last,$PRE.fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[4].mean1.y_last,$PRE.fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[3].mean2.y_last,$PRE.fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[3].mean1.y_last,$PRE.fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[2].mean2.y_last,$PRE.fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[2].mean1.y_last,$PRE.fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[1].mean2.y_last,$PRE.fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[1].mean1.y_last,$PRE.fundamentalWaveCurrent[1].mean1.y_last,signalPWM[6].zeroOrderHold.sampleTrigger,$whenCondition26,signalPWM[5].zeroOrderHold.sampleTrigger,$whenCondition28,signalPWM[4].zeroOrderHold.sampleTrigger,$whenCondition30,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition32,signalPWM[2].zeroOrderHold.sampleTrigger,$whenCondition34,signalPWM[1].zeroOrderHold.sampleTrigger,$whenCondition36,signalPWM[6].sawtooth.count,$PRE.signalPWM[6].sawtooth.count,signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].sawtooth.T_start,signalPWM[6].zeroOrderHold.ySample,$PRE.signalPWM[6].zeroOrderHold.ySample,signalPWM[6].notFire,signalPWM[5].sawtooth.count,$PRE.signalPWM[5].sawtooth.count,signalPWM[5].sawtooth.T_start,$PRE.signalPWM[5].sawtooth.T_start,signalPWM[5].zeroOrderHold.ySample,$PRE.signalPWM[5].zeroOrderHold.ySample,signalPWM[5].notFire,signalPWM[4].sawtooth.count,$PRE.signalPWM[4].sawtooth.count,signalPWM[4].sawtooth.T_start,$PRE.signalPWM[4].sawtooth.T_start,signalPWM[4].zeroOrderHold.ySample,$PRE.signalPWM[4].zeroOrderHold.ySample,signalPWM[4].notFire,signalPWM[3].sawtooth.count,$PRE.signalPWM[3].sawtooth.count,signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].sawtooth.T_start,signalPWM[3].zeroOrderHold.ySample,$PRE.signalPWM[3].zeroOrderHold.ySample,signalPWM[3].notFire,signalPWM[2].sawtooth.count,$PRE.signalPWM[2].sawtooth.count,signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].sawtooth.T_start,signalPWM[2].zeroOrderHold.ySample,$PRE.signalPWM[2].zeroOrderHold.ySample,signalPWM[2].notFire,signalPWM[1].sawtooth.count,$PRE.signalPWM[1].sawtooth.count,signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].sawtooth.T_start,signalPWM[1].zeroOrderHold.ySample,$PRE.signalPWM[1].zeroOrderHold.ySample,signalPWM[1].notFire,inverter.diode_n.idealDiode[6].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[1].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.diode_p.idealDiode[6].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[1].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[1].off,inverter.andCondition_n[6].y,inverter.andCondition_n[5].y,inverter.andCondition_n[4].y,inverter.andCondition_n[3].y,inverter.andCondition_n[2].y,inverter.andCondition_n[1].y,inverter.andCondition_p[6].y,inverter.andCondition_p[5].y,inverter.andCondition_p[4].y,inverter.andCondition_p[3].y,inverter.andCondition_p[2].y,inverter.andCondition_p[1].y,$whenCondition25,$whenCondition27,$whenCondition29,$whenCondition31,$whenCondition33,$whenCondition35) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (461): * Single equations (assignments): 448 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(4,13), (4,13), (4,13), (4,13), (4,13), (4,13)} Notification: Performance of prepare postOptimizeDAE: time 0.001153/0.8179, allocations: 0.5929 MB / 0.5859 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000714/0.8186, allocations: 488.1 kB / 0.5864 GB, free: 100.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/0.8298, allocations: 7.801 MB / 0.594 GB, free: 92.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.8299, allocations: 47.94 kB / 0.594 GB, free: 92.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.8299, allocations: 4 kB / 0.594 GB, free: 92.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.64e-05/0.8299, allocations: 23.91 kB / 0.5941 GB, free: 92.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0191/0.849, allocations: 13.9 MB / 0.6076 GB, free: 78.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.8491, allocations: 0 / 0.6076 GB, free: 78.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002179/0.8513, allocations: 0.5462 MB / 0.6082 GB, free: 77.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002842/0.8541, allocations: 1.708 MB / 0.6098 GB, free: 76.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000429/0.8546, allocations: 131.9 kB / 0.61 GB, free: 75.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01872/0.8733, allocations: 23.86 MB / 0.6333 GB, free: 51.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.8733, allocations: 0 / 0.6333 GB, free: 51.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/0.8887, allocations: 11.46 MB / 0.6445 GB, free: 39.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002192/0.8909, allocations: 1.178 MB / 0.6456 GB, free: 38.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007485/0.8917, allocations: 171.9 kB / 0.6458 GB, free: 38.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002515/0.8942, allocations: 395.4 kB / 0.6462 GB, free: 38.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001274/0.8955, allocations: 0.7288 MB / 0.6469 GB, free: 37.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002587/0.8957, allocations: 147.9 kB / 0.647 GB, free: 37.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003424/0.8992, allocations: 2.983 MB / 0.6499 GB, free: 34.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.8992, allocations: 4 kB / 0.6499 GB, free: 34.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006636/0.9058, allocations: 2.234 MB / 0.6521 GB, free: 31.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 29 (fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,inductor.inductor[2].i,inductor.inductor[3].i,inductor.inductor[4].i,inductor.inductor[5].i,inductor.inductor[6].i) * Number of discrete variables: 132 (signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.sampleTrigger,signalPWM[4].zeroOrderHold.sampleTrigger,signalPWM[5].zeroOrderHold.sampleTrigger,signalPWM[6].zeroOrderHold.sampleTrigger,$whenCondition36,$whenCondition35,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_p[4].y,inverter.andCondition_p[5].y,inverter.andCondition_p[6].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.andCondition_n[4].y,inverter.andCondition_n[5].y,inverter.andCondition_n[6].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[6].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[6].off,signalPWM[1].notFire,signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.ySample,signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.count,signalPWM[2].notFire,signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.ySample,signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.count,signalPWM[3].notFire,signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.ySample,signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.count,signalPWM[4].notFire,signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.ySample,signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.count,signalPWM[5].notFire,signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.ySample,signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.count,signalPWM[6].notFire,signalPWM[6].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.ySample,signalPWM[6].sawtooth.T_start,signalPWM[6].sawtooth.count,fundamentalWaveCurrent[1].mean1.y_last,fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[6].mean2.y_last,fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[6].mean2.y_last) * Number of discrete states: 36 (signalPWM[1].sawtooth.count,signalPWM[2].sawtooth.count,signalPWM[3].sawtooth.count,signalPWM[4].sawtooth.count,signalPWM[5].sawtooth.count,signalPWM[6].sawtooth.count,fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,signalPWM[6].zeroOrderHold.ySample,signalPWM[5].zeroOrderHold.ySample,signalPWM[4].zeroOrderHold.ySample,signalPWM[3].zeroOrderHold.ySample,signalPWM[2].zeroOrderHold.ySample,signalPWM[1].zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (344): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 48 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(4,13), (4,13), (4,13), (4,13), (4,13), (4,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006658/0.9065, allocations: 428.9 kB / 0.6525 GB, free: 31.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.03467/0.9412, allocations: 22.26 MB / 0.6743 GB, free: 8.965 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/0.9412, allocations: 4.656 kB / 0.6743 GB, free: 8.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006537/0.9478, allocations: 5.189 MB / 0.6793 GB, free: 3.684 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004329/0.9521, allocations: 1.185 MB / 0.6805 GB, free: 2.523 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/0.9745, allocations: 13.14 MB / 0.6933 GB, free: 5.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004882/0.9794, allocations: 4.236 MB / 0.6975 GB, free: 1.141 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.173/1.152, allocations: 1.998 MB / 0.6994 GB, free: 134 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/1.154, allocations: 329.8 kB / 0.6997 GB, free: 134 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/1.154, allocations: 0 / 0.6997 GB, free: 134 MB / 462.1 MB Notification: Performance of Templates: time 0.1411/1.295, allocations: 107 MB / 0.8042 GB, free: 55.25 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCAC/PolyphaseTwoLevel/PolyphaseTwoLevel_RL/PolyphaseTwoLevel_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches