Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 108.1 kB / 17.06 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 187.1 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 51.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2796, allocations: 49.44 MB / 400.8 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.008728/0.2884, allocations: 6.521 MB / 407.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004245/0.2927, allocations: 1.912 MB / 409.2 MB, free: 436 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.2939, allocations: 39.81 kB / 409.2 MB, free: 396 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000981/0.2949, allocations: 297.6 kB / 409.5 MB, free: 96 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.297, allocations: 0.5087 MB / 410 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.2984, allocations: 461.4 kB / 410.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007064/0.3054, allocations: 6.986 MB / 417.5 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006958/0.3124, allocations: 5.12 MB / 422.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003919/0.3164, allocations: 3.026 MB / 425.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005542/0.3219, allocations: 3.748 MB / 429.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002297/0.3242, allocations: 0.8047 MB / 430.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.327, allocations: 0.8047 MB / 431 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003303/0.3303, allocations: 2.022 MB / 433 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006867/0.3372, allocations: 3.539 MB / 436.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01296/0.3502, allocations: 10.31 MB / 446.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.3502, allocations: 7.984 kB / 446.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3502, allocations: 0 / 446.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000427/0.3506, allocations: 0 / 446.8 MB, free: 10.58 MB / 366.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.02305/0.3737, allocations: 7.61 MB / 454.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.3738, allocations: 11.89 kB / 454.5 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/0.3767, allocations: 0.665 MB / 455.1 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009769/0.3865, allocations: 4.087 MB / 459.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000394/0.3869, allocations: 390 kB / 459.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001778/0.3887, allocations: 0.5195 MB / 460.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02075/0.4095, allocations: 7.996 MB / 468.1 MB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003109/0.4098, allocations: 19.84 kB / 468.1 MB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002012/0.4119, allocations: 212 kB / 468.3 MB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002232/0.4121, allocations: 181.7 kB / 468.5 MB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01794/0.4301, allocations: 7.286 MB / 475.8 MB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05037/0.4805, allocations: 20.99 MB / 496.8 MB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01403/0.4945, allocations: 8.051 MB / 0.493 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00763/0.5022, allocations: 3.837 MB / 0.4967 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004428/0.5027, allocations: 63.27 kB / 0.4968 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009022/0.5117, allocations: 4.05 MB / 0.5008 GB, free: 7.738 MB / 430.1 MB Notification: Performance of pre-optimization done (n=457): time 9.547e-06/0.5118, allocations: 0 / 0.5008 GB, free: 7.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=458): time 0.04815/0.5599, allocations: 18.97 MB / 0.5193 GB, free: 4.555 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002815/0.5603, allocations: 463.3 kB / 0.5197 GB, free: 4.016 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007126/0.5674, allocations: 3.979 MB / 0.5236 GB, free: 56 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001136/0.5686, allocations: 165.6 kB / 0.5238 GB, free: 15.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002419/0.571, allocations: 2.095 MB / 0.5258 GB, free: 13.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002197/0.5732, allocations: 1.402 MB / 0.5272 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00314/0.5764, allocations: 0.8669 MB / 0.528 GB, free: 11.47 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.5765, allocations: 305.1 kB / 0.5283 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005566/0.5821, allocations: 2.718 MB / 0.531 GB, free: 8.434 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00675/0.5888, allocations: 3.802 MB / 0.5347 GB, free: 4.211 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2063/0.7951, allocations: 6.358 MB / 0.5409 GB, free: 127.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.441e-05/0.7952, allocations: 7.812 kB / 0.5409 GB, free: 127.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01171/0.8069, allocations: 8.068 MB / 0.5488 GB, free: 124.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.656e-05/0.807, allocations: 181.8 kB / 0.549 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.634e-05/0.8071, allocations: 29.94 kB / 0.549 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003134/0.8102, allocations: 1.731 MB / 0.5507 GB, free: 123.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/0.8129, allocations: 0.7714 MB / 0.5514 GB, free: 123.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01926/0.8321, allocations: 24 MB / 0.5749 GB, free: 101.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003562/0.8357, allocations: 403.6 kB / 0.5753 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003817/0.8361, allocations: 176 kB / 0.5754 GB, free: 101.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005632/0.8418, allocations: 4.318 MB / 0.5796 GB, free: 96.78 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003818/0.8456, allocations: 3.637 MB / 0.5832 GB, free: 92.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00683/0.8525, allocations: 6.092 MB / 0.5891 GB, free: 86.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.97e-05/0.8525, allocations: 11.94 kB / 0.5892 GB, free: 86.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01006/0.8626, allocations: 7.77 MB / 0.5967 GB, free: 78.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.771e-05/0.8627, allocations: 182.2 kB / 0.5969 GB, free: 78.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/0.8627, allocations: 28 kB / 0.5969 GB, free: 78.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/0.8657, allocations: 1.726 MB / 0.5986 GB, free: 76.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/0.8683, allocations: 0.7173 MB / 0.5993 GB, free: 75.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/0.8882, allocations: 24.01 MB / 0.6228 GB, free: 51.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003721/0.892, allocations: 387.6 kB / 0.6231 GB, free: 50.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003725/0.8924, allocations: 184 kB / 0.6233 GB, free: 50.63 MB / 462.1 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.00113/0.8935, allocations: 0.6091 MB / 0.6239 GB, free: 50.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000677/0.8942, allocations: 454.5 kB / 0.6244 GB, free: 49.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.9057, allocations: 7.727 MB / 0.6319 GB, free: 41.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/0.9057, allocations: 44 kB / 0.6319 GB, free: 41.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.9057, allocations: 0 / 0.6319 GB, free: 41.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.538e-05/0.9058, allocations: 31.84 kB / 0.632 GB, free: 41.72 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0189/0.9247, allocations: 13.7 MB / 0.6454 GB, free: 28.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.9247, allocations: 4 kB / 0.6454 GB, free: 28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/0.9271, allocations: 0.554 MB / 0.6459 GB, free: 27.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003048/0.9302, allocations: 1.705 MB / 0.6476 GB, free: 25.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000308/0.9305, allocations: 131.9 kB / 0.6477 GB, free: 25.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02086/0.9514, allocations: 23.84 MB / 0.671 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.9514, allocations: 0 / 0.671 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01854/0.9699, allocations: 11.39 MB / 0.6821 GB, free: 5.367 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002465/0.9724, allocations: 1.136 MB / 0.6832 GB, free: 4.207 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/0.9735, allocations: 167.9 kB / 0.6834 GB, free: 4.043 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002853/0.9763, allocations: 391.4 kB / 0.6837 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001564/0.9779, allocations: 0.7483 MB / 0.6845 GB, free: 2.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000328/0.9782, allocations: 147.9 kB / 0.6846 GB, free: 2.766 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004333/0.9826, allocations: 2.768 MB / 0.6873 GB, free: 16 kB / 478.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.9826, allocations: 0 / 0.6873 GB, free: 16 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.007494/0.9901, allocations: 2.207 MB / 0.6895 GB, free: 13.81 MB / 494.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.0006704/0.9908, allocations: 425.1 kB / 0.6899 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02152/1.012, allocations: 13.51 MB / 0.7031 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.012, allocations: 4.594 kB / 0.7031 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.008494/1.021, allocations: 5.215 MB / 0.7082 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005697/1.027, allocations: 1.123 MB / 0.7093 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/1.049, allocations: 12.7 MB / 0.7217 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005562/1.055, allocations: 4.105 MB / 0.7257 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005779/1.061, allocations: 1.967 MB / 0.7276 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/1.062, allocations: 319.3 kB / 0.7279 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/1.062, allocations: 0 / 0.7279 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of Templates: time 0.334/1.396, allocations: 103.4 MB / 0.8288 GB, free: 91.73 MB / 0.5137 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches