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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001854/0.001854, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009127/0.0009127, allocations: 101.9 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.00153, allocations: 55.91 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.206, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.005694/0.2117, allocations: 6.776 MB / 413.8 MB, free: 21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002901/0.2146, allocations: 2.046 MB / 415.9 MB, free: 18.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004497/0.2151, allocations: 39.81 kB / 415.9 MB, free: 18.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.2155, allocations: 242.3 kB / 416.2 MB, free: 18.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008746/0.2164, allocations: 473.4 kB / 416.6 MB, free: 18.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.217, allocations: 419.6 kB / 417 MB, free: 17.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003764/0.2208, allocations: 7.201 MB / 424.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003469/0.2243, allocations: 4.699 MB / 428.9 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002181/0.2265, allocations: 2.409 MB / 431.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002854/0.2294, allocations: 3.439 MB / 434.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007358/0.2301, allocations: 432 kB / 435.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009046/0.231, allocations: 448 kB / 435.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.2322, allocations: 1.58 MB / 437.2 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003203/0.2354, allocations: 3.105 MB / 440.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007585/0.243, allocations: 9.846 MB / 450.2 MB, free: 484 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.243, allocations: 4 kB / 450.2 MB, free: 480 kB / 314.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.243, allocations: 0 / 450.2 MB, free: 480 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001677/0.2432, allocations: 3.938 kB / 450.2 MB, free: 476 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1268 * Number of variables: 1268 Notification: Performance of Generate backend data structure: time 0.02212/0.2653, allocations: 7.747 MB / 457.9 MB, free: 8.535 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.2654, allocations: 8.031 kB / 457.9 MB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006602/0.272, allocations: 0.9691 MB / 458.9 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01325/0.2853, allocations: 4.086 MB / 463 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000707/0.2861, allocations: 423.3 kB / 463.4 MB, free: 2.984 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001786/0.2879, allocations: 0.5076 MB / 463.9 MB, free: 2.477 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02112/0.309, allocations: 8 MB / 471.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001684/0.3092, allocations: 11.84 kB / 471.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008534/0.3101, allocations: 212 kB / 472.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002385/0.3103, allocations: 185.7 kB / 472.3 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02075/0.3311, allocations: 7.278 MB / 479.6 MB, free: 2.637 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05701/0.3881, allocations: 21.43 MB / 0.4893 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01782/0.406, allocations: 8.051 MB / 0.4971 GB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009849/0.4159, allocations: 3.794 MB / 0.5009 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/0.4162, allocations: 67.25 kB / 0.5009 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2277/0.644, allocations: 4.046 MB / 0.5049 GB, free: 88.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=457): time 1.314e-05/0.644, allocations: 0 / 0.5049 GB, free: 88.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=458): time 0.05841/0.7024, allocations: 19 MB / 0.5234 GB, free: 77.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/0.7026, allocations: 462.8 kB / 0.5239 GB, free: 77.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008569/0.7112, allocations: 4.208 MB / 0.528 GB, free: 73.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007793/0.712, allocations: 169.6 kB / 0.5281 GB, free: 72.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002257/0.7143, allocations: 2.168 MB / 0.5303 GB, free: 70.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001302/0.7156, allocations: 1.396 MB / 0.5316 GB, free: 69.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002037/0.7177, allocations: 0.8707 MB / 0.5325 GB, free: 68.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.7177, allocations: 308.5 kB / 0.5328 GB, free: 68.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004302/0.7221, allocations: 2.753 MB / 0.5355 GB, free: 65.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004571/0.7266, allocations: 3.821 MB / 0.5392 GB, free: 61.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007795/0.7345, allocations: 6.389 MB / 0.5454 GB, free: 54.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.018e-05/0.7345, allocations: 12 kB / 0.5454 GB, free: 54.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01205/0.7466, allocations: 8.14 MB / 0.5534 GB, free: 46.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.07e-05/0.7467, allocations: 188 kB / 0.5536 GB, free: 45.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-05/0.7467, allocations: 32 kB / 0.5536 GB, free: 45.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003189/0.7499, allocations: 1.728 MB / 0.5553 GB, free: 44.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002964/0.7529, allocations: 0.7642 MB / 0.556 GB, free: 43.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01934/0.7722, allocations: 22.03 MB / 0.5775 GB, free: 20.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/0.7763, allocations: 387.9 kB / 0.5779 GB, free: 20.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003368/0.7767, allocations: 176 kB / 0.5781 GB, free: 19.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006311/0.783, allocations: 4.399 MB / 0.5824 GB, free: 15.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004245/0.7873, allocations: 3.657 MB / 0.5859 GB, free: 11.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007337/0.7946, allocations: 6.135 MB / 0.5919 GB, free: 4.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.02e-05/0.7947, allocations: 8 kB / 0.5919 GB, free: 4.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01158/0.8063, allocations: 7.846 MB / 0.5996 GB, free: 12.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.8064, allocations: 182.2 kB / 0.5998 GB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-05/0.8064, allocations: 28 kB / 0.5998 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003485/0.8099, allocations: 1.73 MB / 0.6015 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/0.8128, allocations: 0.7096 MB / 0.6022 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02411/0.8369, allocations: 22.02 MB / 0.6237 GB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004014/0.841, allocations: 383.6 kB / 0.6241 GB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007669/0.8417, allocations: 176 kB / 0.6242 GB, free: 2.785 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 118 * 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[6].zeroOrderHold.ySample,signalPWM[5].zeroOrderHold.sampleTrigger,$whenCondition28,signalPWM[5].zeroOrderHold.ySample,signalPWM[4].zeroOrderHold.sampleTrigger,$whenCondition30,signalPWM[4].zeroOrderHold.ySample,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition32,signalPWM[3].zeroOrderHold.ySample,signalPWM[2].zeroOrderHold.sampleTrigger,$whenCondition34,signalPWM[2].zeroOrderHold.ySample,signalPWM[1].zeroOrderHold.sampleTrigger,$whenCondition36,signalPWM[1].zeroOrderHold.ySample,signalPWM[6].sawtooth.count,$PRE.signalPWM[6].sawtooth.count,signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].sawtooth.T_start,$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,$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,$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,$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,$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,$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.001703/0.8435, allocations: 0.604 MB / 0.6248 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/0.8448, allocations: 478.3 kB / 0.6253 GB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/0.8597, allocations: 7.75 MB / 0.6328 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.42e-05/0.8597, allocations: 44 kB / 0.6329 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.8598, allocations: 4 kB / 0.6329 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.175e-05/0.8598, allocations: 19.92 kB / 0.6329 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02629/0.8861, allocations: 13.82 MB / 0.6464 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/0.8862, allocations: 3.984 kB / 0.6464 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/0.8887, allocations: 0.5538 MB / 0.6469 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003615/0.8923, allocations: 1.698 MB / 0.6486 GB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004907/0.8928, allocations: 131.9 kB / 0.6487 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02397/0.9168, allocations: 21.85 MB / 0.6701 GB, free: 2.801 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.9168, allocations: 8.031 kB / 0.6701 GB, free: 2.793 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2374/1.154, allocations: 53.79 MB / 0.7226 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002383/1.157, allocations: 1.155 MB / 0.7237 GB, free: 116.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005897/1.157, allocations: 163.9 kB / 0.7239 GB, free: 116.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002477/1.16, allocations: 375 kB / 0.7242 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00135/1.161, allocations: 0.756 MB / 0.725 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002661/1.161, allocations: 143.9 kB / 0.7251 GB, free: 115.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003042/1.164, allocations: 2.922 MB / 0.728 GB, free: 112.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.164, allocations: 2.656 kB / 0.728 GB, free: 112.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007829/1.172, allocations: 3.098 MB / 0.731 GB, free: 109.4 MB / 458.7 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.0005905/1.173, allocations: 425.3 kB / 0.7314 GB, free: 109 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01695/1.19, allocations: 13.46 MB / 0.7446 GB, free: 95.26 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/1.19, allocations: 4.656 kB / 0.7446 GB, free: 95.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006663/1.197, allocations: 5.18 MB / 0.7496 GB, free: 90.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004344/1.201, allocations: 1.113 MB / 0.7507 GB, free: 88.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02103/1.222, allocations: 19.12 MB / 0.7694 GB, free: 69.76 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003577/1.226, allocations: 4.354 MB / 0.7736 GB, free: 65.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004764/1.23, allocations: 2.007 MB / 0.7756 GB, free: 63.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009367/1.231, allocations: 311.3 kB / 0.7759 GB, free: 63.05 MB / 458.7 MB Notification: Performance of SimCode: time 6.81e-07/1.231, allocations: 3.938 kB / 0.7759 GB, free: 63.05 MB / 458.7 MB Notification: Performance of Templates: time 0.3072/1.539, allocations: 113.3 MB / 0.8865 GB, free: 120.9 MB / 474.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/PolyphaseTwoLevel/PolyphaseTwoLevel_RL/PolyphaseTwoLevel_RL.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches