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.001264/0.001264, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001764, allocations: 58.22 kB / 308.4 MB, free: 15.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0974/0.09918, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.007535/0.1068, allocations: 6.804 MB / 365.7 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003981/0.1108, allocations: 2.134 MB / 367.9 MB, free: 4.316 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007671/0.1116, allocations: 47.75 kB / 367.9 MB, free: 4.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.1122, allocations: 301.5 kB / 368.2 MB, free: 3.973 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.1137, allocations: 0.5047 MB / 368.7 MB, free: 3.465 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.1149, allocations: 0.5023 MB / 369.2 MB, free: 2.965 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2359/0.3508, allocations: 7.286 MB / 376.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00607/0.357, allocations: 5.241 MB / 381.7 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005367/0.3624, allocations: 3.08 MB / 384.8 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006537/0.3689, allocations: 3.815 MB / 388.6 MB, free: 5.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002297/0.3713, allocations: 0.8195 MB / 389.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.3739, allocations: 0.8263 MB / 390.3 MB, free: 5.727 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002515/0.3764, allocations: 2.053 MB / 392.3 MB, free: 4.551 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006878/0.3833, allocations: 3.605 MB / 395.9 MB, free: 2.207 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.396, allocations: 10.5 MB / 406.4 MB, free: 9.773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.396, allocations: 3.469 kB / 406.5 MB, free: 9.773 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.396, allocations: 0 / 406.5 MB, free: 9.773 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004057/0.3965, allocations: 0 / 406.5 MB, free: 9.773 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: 1268 * Number of variables: 1268 Notification: Performance of Generate backend data structure: time 0.02057/0.417, allocations: 7.867 MB / 414.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4171, allocations: 12.03 kB / 414.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004312/0.4214, allocations: 0.9729 MB / 415.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.4315, allocations: 4.308 MB / 419.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003726/0.4319, allocations: 397.7 kB / 420 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/0.4335, allocations: 0.5122 MB / 420.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/0.4506, allocations: 8.044 MB / 428.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000161/0.4508, allocations: 19.36 kB / 428.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006409/0.4515, allocations: 208 kB / 428.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001621/0.4516, allocations: 189.7 kB / 429 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/0.4685, allocations: 7.298 MB / 436.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04864/0.5172, allocations: 21.26 MB / 457.5 MB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01342/0.5307, allocations: 8.096 MB / 465.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006613/0.5374, allocations: 3.82 MB / 469.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002407/0.5376, allocations: 69.36 kB / 469.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007143/0.5448, allocations: 4.08 MB / 473.6 MB, free: 6.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=457): time 1.101e-05/0.5448, allocations: 3.938 kB / 473.6 MB, free: 6.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=458): time 0.04078/0.5856, allocations: 19.11 MB / 492.7 MB, free: 3.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002645/0.5859, allocations: 470.9 kB / 493.2 MB, free: 2.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006883/0.5928, allocations: 4.307 MB / 497.5 MB, free: 14.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00125/0.5941, allocations: 169.6 kB / 497.6 MB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002483/0.5966, allocations: 2.191 MB / 499.8 MB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002004/0.5986, allocations: 1.406 MB / 0.4895 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001651/0.6003, allocations: 0.8668 MB / 0.4903 GB, free: 9.621 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.6004, allocations: 309.1 kB / 0.4906 GB, free: 9.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004899/0.6053, allocations: 2.788 MB / 0.4933 GB, free: 6.508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006388/0.6117, allocations: 3.825 MB / 0.4971 GB, free: 2.281 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/0.6231, allocations: 6.398 MB / 0.5033 GB, free: 11.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.186e-05/0.6232, allocations: 8 kB / 0.5033 GB, free: 11.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.0168/0.64, allocations: 8.186 MB / 0.5113 GB, free: 3.203 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.6402, allocations: 178.2 kB / 0.5115 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.909e-05/0.6403, allocations: 24 kB / 0.5115 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003658/0.6439, allocations: 1.738 MB / 0.5132 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/0.6474, allocations: 0.7672 MB / 0.514 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2448/0.8922, allocations: 23.99 MB / 0.5374 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004161/0.8964, allocations: 405.8 kB / 0.5378 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009361/0.8974, allocations: 178.3 kB / 0.538 GB, free: 133.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008279/0.9057, allocations: 4.444 MB / 0.5423 GB, free: 132.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005371/0.9111, allocations: 3.666 MB / 0.5459 GB, free: 130.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008734/0.9198, allocations: 6.139 MB / 0.5519 GB, free: 127.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.893e-05/0.9199, allocations: 7.406 kB / 0.5519 GB, free: 127.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01295/0.9329, allocations: 7.896 MB / 0.5596 GB, free: 124.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.597e-05/0.933, allocations: 182.2 kB / 0.5598 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-05/0.9331, allocations: 26.28 kB / 0.5598 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003164/0.9362, allocations: 1.73 MB / 0.5615 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/0.9391, allocations: 0.7115 MB / 0.5622 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/0.9594, allocations: 23.99 MB / 0.5856 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004036/0.9634, allocations: 399.6 kB / 0.586 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006586/0.9641, allocations: 176 kB / 0.5861 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.001142/0.9653, allocations: 0.6024 MB / 0.5867 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008357/0.9661, allocations: 484.2 kB / 0.5872 GB, free: 100.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/0.9772, allocations: 7.808 MB / 0.5948 GB, free: 92.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.9773, allocations: 43.94 kB / 0.5949 GB, free: 92.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.9773, allocations: 8 kB / 0.5949 GB, free: 92.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.189e-05/0.9773, allocations: 19.92 kB / 0.5949 GB, free: 92.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01902/0.9964, allocations: 13.84 MB / 0.6084 GB, free: 78.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.9964, allocations: 4 kB / 0.6084 GB, free: 78.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/0.9987, allocations: 0.5511 MB / 0.6089 GB, free: 77.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002871/1.002, allocations: 1.704 MB / 0.6106 GB, free: 76.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005106/1.002, allocations: 123.9 kB / 0.6107 GB, free: 76.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01977/1.022, allocations: 23.84 MB / 0.634 GB, free: 51.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.022, allocations: 0 / 0.634 GB, free: 51.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01649/1.038, allocations: 11.49 MB / 0.6452 GB, free: 39.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003202/1.042, allocations: 1.163 MB / 0.6464 GB, free: 38.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001331/1.043, allocations: 175.9 kB / 0.6465 GB, free: 38.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003045/1.046, allocations: 391.5 kB / 0.6469 GB, free: 38.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001428/1.047, allocations: 0.7288 MB / 0.6476 GB, free: 37.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003547/1.048, allocations: 155.5 kB / 0.6478 GB, free: 37.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003864/1.052, allocations: 2.987 MB / 0.6507 GB, free: 34.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.052, allocations: 0 / 0.6507 GB, free: 34.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008312/1.06, allocations: 2.234 MB / 0.6529 GB, free: 32.05 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.0007373/1.061, allocations: 428.1 kB / 0.6533 GB, free: 31.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01753/1.078, allocations: 13.63 MB / 0.6666 GB, free: 17.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.078, allocations: 4.656 kB / 0.6666 GB, free: 17.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007018/1.085, allocations: 5.199 MB / 0.6717 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004808/1.09, allocations: 1.182 MB / 0.6728 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/1.109, allocations: 12.98 MB / 0.6855 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004322/1.113, allocations: 4.227 MB / 0.6896 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004987/1.118, allocations: 2.007 MB / 0.6916 GB, free: 7.996 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/1.12, allocations: 323.3 kB / 0.6919 GB, free: 7.684 MB / 462.1 MB Notification: Performance of SimCode: time 1.243e-06/1.12, allocations: 0 / 0.6919 GB, free: 7.684 MB / 462.1 MB Notification: Performance of Templates: time 0.2965/1.416, allocations: 103.5 MB / 0.793 GB, free: 67.55 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/PolyphaseTwoLevel/PolyphaseTwoLevel_RL/PolyphaseTwoLevel_RL.csv","/var/lib/jenkins1/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