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.001354/0.001354, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001587/0.001587, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001247, allocations: 63.42 kB / 306.3 MB, free: 1.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08745/0.08871, allocations: 50.53 MB / 356.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.007472/0.09622, allocations: 6.792 MB / 363.6 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003428/0.09967, allocations: 2.107 MB / 365.7 MB, free: 5.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004964/0.1002, allocations: 43.75 kB / 365.8 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005098/0.1007, allocations: 242.3 kB / 366 MB, free: 5.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009904/0.1017, allocations: 465.5 kB / 366.4 MB, free: 4.812 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00079/0.1025, allocations: 458.7 kB / 366.9 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1608/0.2633, allocations: 7.184 MB / 374.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00446/0.2678, allocations: 4.729 MB / 378.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/0.2707, allocations: 2.408 MB / 381.2 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004512/0.2752, allocations: 3.463 MB / 384.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.2763, allocations: 433.5 kB / 385.1 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.2776, allocations: 445.8 kB / 385.5 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.2789, allocations: 1.584 MB / 387.1 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003674/0.2826, allocations: 3.13 MB / 390.3 MB, free: 3.676 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006499/0.2891, allocations: 9.916 MB / 400.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2891, allocations: 3.75 kB / 400.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2891, allocations: 0 / 400.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001915/0.2893, allocations: 2.812 kB / 400.2 MB, free: 13.54 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.0163/0.3056, allocations: 7.862 MB / 408 MB, free: 6.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.3057, allocations: 12.03 kB / 408 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003912/0.3096, allocations: 0.9729 MB / 409 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007728/0.3173, allocations: 4.195 MB / 413.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00046/0.3178, allocations: 435.7 kB / 413.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008606/0.3187, allocations: 0.5102 MB / 414.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01408/0.3328, allocations: 8.045 MB / 422.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.3329, allocations: 10.53 kB / 422.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005512/0.3335, allocations: 212 kB / 422.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/0.3336, allocations: 185.7 kB / 422.6 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/0.3464, allocations: 7.306 MB / 429.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03445/0.3809, allocations: 21.47 MB / 451.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01202/0.3929, allocations: 8.09 MB / 459.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006729/0.3997, allocations: 3.822 MB / 463.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.4, allocations: 70.22 kB / 463.3 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006698/0.4067, allocations: 4.075 MB / 467.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=457): time 5.911e-06/0.4067, allocations: 0 / 467.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=458): time 0.03869/0.4454, allocations: 19.12 MB / 486.5 MB, free: 8.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002407/0.4457, allocations: 462.9 kB / 487 MB, free: 7.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006434/0.4521, allocations: 4.307 MB / 491.3 MB, free: 3.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009191/0.453, allocations: 169.6 kB / 491.5 MB, free: 3.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002094/0.4552, allocations: 2.192 MB / 493.7 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001981/0.4571, allocations: 1.405 MB / 495.1 MB, free: 15.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001598/0.4587, allocations: 0.8707 MB / 495.9 MB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4589, allocations: 305.1 kB / 496.2 MB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005053/0.4639, allocations: 2.788 MB / 499 MB, free: 11.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005658/0.4696, allocations: 3.817 MB / 0.491 GB, free: 7.258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/0.48, allocations: 6.399 MB / 0.4973 GB, free: 472 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-05/0.4801, allocations: 8 kB / 0.4973 GB, free: 464 kB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01507/0.4952, allocations: 8.19 MB / 0.5053 GB, free: 8.172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.4953, allocations: 182.2 kB / 0.5055 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.784e-05/0.4954, allocations: 24 kB / 0.5055 GB, free: 7.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003778/0.4992, allocations: 1.732 MB / 0.5072 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003127/0.5023, allocations: 0.7642 MB / 0.5079 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2205/0.7228, allocations: 22.01 MB / 0.5294 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004356/0.7272, allocations: 404.3 kB / 0.5298 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000565/0.7278, allocations: 179.3 kB / 0.53 GB, free: 137 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007943/0.7358, allocations: 4.442 MB / 0.5343 GB, free: 136.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005317/0.7411, allocations: 3.651 MB / 0.5379 GB, free: 135.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01012/0.7513, allocations: 6.14 MB / 0.5439 GB, free: 132.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.27e-05/0.7513, allocations: 8.375 kB / 0.5439 GB, free: 132.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01307/0.7644, allocations: 7.895 MB / 0.5516 GB, free: 129.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/0.7645, allocations: 181.2 kB / 0.5518 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.812e-05/0.7646, allocations: 30.19 kB / 0.5518 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003142/0.7677, allocations: 1.725 MB / 0.5535 GB, free: 129.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/0.7703, allocations: 0.711 MB / 0.5542 GB, free: 129.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02468/0.795, allocations: 21.99 MB / 0.5757 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006182/0.8012, allocations: 395.6 kB / 0.576 GB, free: 111.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009888/0.8022, allocations: 184 kB / 0.5762 GB, free: 111.1 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.00171/0.804, allocations: 0.601 MB / 0.5768 GB, free: 110.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/0.8054, allocations: 484.9 kB / 0.5773 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0229/0.8283, allocations: 7.809 MB / 0.5849 GB, free: 102.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.352e-05/0.8284, allocations: 44 kB / 0.5849 GB, free: 102.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/0.8284, allocations: 7.609 kB / 0.5849 GB, free: 102.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.764e-05/0.8285, allocations: 23.91 kB / 0.585 GB, free: 102.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03961/0.8681, allocations: 13.88 MB / 0.5985 GB, free: 88.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-05/0.8682, allocations: 4 kB / 0.5985 GB, free: 88.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005093/0.8733, allocations: 0.554 MB / 0.5991 GB, free: 87.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006299/0.8796, allocations: 1.696 MB / 0.6007 GB, free: 86.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009183/0.8806, allocations: 131.7 kB / 0.6008 GB, free: 86.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02589/0.9065, allocations: 21.86 MB / 0.6222 GB, free: 63.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9065, allocations: 4.062 kB / 0.6222 GB, free: 63.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01666/0.9232, allocations: 11.47 MB / 0.6334 GB, free: 52.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00266/0.9258, allocations: 1.174 MB / 0.6345 GB, free: 50.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001248/0.9271, allocations: 175.9 kB / 0.6347 GB, free: 50.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/0.9301, allocations: 383.5 kB / 0.6351 GB, free: 50.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001348/0.9314, allocations: 0.7251 MB / 0.6358 GB, free: 49.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003097/0.9318, allocations: 147.9 kB / 0.6359 GB, free: 49.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003832/0.9356, allocations: 2.987 MB / 0.6388 GB, free: 46.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9356, allocations: 0 / 0.6388 GB, free: 46.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00622/0.9418, allocations: 2.23 MB / 0.641 GB, free: 44.23 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.0005529/0.9424, allocations: 428.9 kB / 0.6414 GB, free: 43.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0169/0.9593, allocations: 13.55 MB / 0.6547 GB, free: 29.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.9593, allocations: 0.6562 kB / 0.6547 GB, free: 29.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006621/0.966, allocations: 5.153 MB / 0.6597 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004339/0.9703, allocations: 1.115 MB / 0.6608 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/0.9883, allocations: 15.26 MB / 0.6757 GB, free: 8.359 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003041/0.9914, allocations: 4.216 MB / 0.6798 GB, free: 4.109 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004682/0.9961, allocations: 2.031 MB / 0.6818 GB, free: 2.074 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009252/0.997, allocations: 311.3 kB / 0.6821 GB, free: 1.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.223e-06/0.9971, allocations: 0 / 0.6821 GB, free: 1.77 MB / 446.1 MB Notification: Performance of Templates: time 0.2844/1.281, allocations: 100.8 MB / 0.7806 GB, free: 81.28 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.0.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