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.001088/0.001088, allocations: 111.2 kB / 17.28 MB, free: 6.199 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.001099/0.001099, allocations: 193.3 kB / 18.21 MB, free: 5.273 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.317/1.317, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 38.19 kB / 300.8 MB, free: 6.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09221/0.09323, allocations: 49.46 MB / 350.3 MB, free: 4.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.00747/0.1007, allocations: 6.487 MB / 356.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00386/0.1046, allocations: 1.866 MB / 358.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.1058, allocations: 43.81 kB / 358.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008664/0.1067, allocations: 238.4 kB / 358.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.1085, allocations: 461.5 kB / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.1096, allocations: 409.5 kB / 359.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006634/0.1162, allocations: 6.959 MB / 366.7 MB, free: 4.191 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1585/0.2748, allocations: 5.116 MB / 371.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004139/0.279, allocations: 3.035 MB / 374.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005906/0.2849, allocations: 3.797 MB / 378.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002661/0.2876, allocations: 0.8076 MB / 379.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003029/0.2906, allocations: 0.8058 MB / 380.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003113/0.2938, allocations: 2.027 MB / 382.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008041/0.3018, allocations: 3.531 MB / 385.8 MB, free: 8.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0084/0.3102, allocations: 8.345 MB / 394.2 MB, free: 3.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.3103, allocations: 0 / 394.2 MB, free: 3.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3103, allocations: 0 / 394.2 MB, free: 3.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003889/0.3107, allocations: 2.156 kB / 394.2 MB, free: 3.824 MB / 302.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.02037/0.3311, allocations: 7.604 MB / 401.8 MB, free: 14.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3311, allocations: 7.125 kB / 401.8 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/0.3336, allocations: 0.6673 MB / 402.4 MB, free: 14.42 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008999/0.3426, allocations: 4.016 MB / 406.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005964/0.3432, allocations: 419.7 kB / 406.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002263/0.3455, allocations: 0.5038 MB / 407.4 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01917/0.3647, allocations: 8.01 MB / 415.4 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001989/0.365, allocations: 22.45 kB / 415.4 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001488/0.3665, allocations: 211.6 kB / 415.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/0.3667, allocations: 189.7 kB / 415.8 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01643/0.3831, allocations: 7.272 MB / 423.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04264/0.4258, allocations: 21.2 MB / 444.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01373/0.4396, allocations: 8.045 MB / 452.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00699/0.4466, allocations: 3.795 MB / 456.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/0.4469, allocations: 69.12 kB / 456.2 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007275/0.4542, allocations: 4.05 MB / 460.2 MB, free: 5.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=457): time 8.155e-06/0.4542, allocations: 4 kB / 460.2 MB, free: 5.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=458): time 0.04113/0.4953, allocations: 18.96 MB / 479.2 MB, free: 2.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002813/0.4957, allocations: 462.4 kB / 479.6 MB, free: 1.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00688/0.5025, allocations: 3.994 MB / 483.6 MB, free: 14.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001087/0.5037, allocations: 165.6 kB / 483.8 MB, free: 13.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002014/0.5057, allocations: 2.088 MB / 485.9 MB, free: 11.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001776/0.5075, allocations: 1.408 MB / 487.3 MB, free: 10.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001459/0.5089, allocations: 0.863 MB / 488.2 MB, free: 9.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.423e-05/0.509, allocations: 305.1 kB / 488.5 MB, free: 9.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004727/0.5138, allocations: 2.718 MB / 491.2 MB, free: 6.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005774/0.5196, allocations: 3.791 MB / 495 MB, free: 2.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/0.5298, allocations: 6.358 MB / 0.4896 GB, free: 11.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.003e-05/0.5299, allocations: 8 kB / 0.4896 GB, free: 11.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01519/0.5451, allocations: 8.057 MB / 0.4974 GB, free: 3.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.5452, allocations: 182.2 kB / 0.4976 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.123e-05/0.5453, allocations: 28 kB / 0.4977 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003749/0.549, allocations: 1.745 MB / 0.4994 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00351/0.5526, allocations: 0.7738 MB / 0.5001 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02752/0.5801, allocations: 24.02 MB / 0.5236 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005179/0.5853, allocations: 403.6 kB / 0.524 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/0.5864, allocations: 184 kB / 0.5241 GB, free: 7.398 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009983/0.5964, allocations: 4.318 MB / 0.5283 GB, free: 3.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.1972/0.7937, allocations: 3.625 MB / 0.5319 GB, free: 143.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009645/0.8034, allocations: 6.084 MB / 0.5378 GB, free: 142.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.363e-05/0.8035, allocations: 15.47 kB / 0.5378 GB, free: 142.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01359/0.8171, allocations: 7.765 MB / 0.5454 GB, free: 140.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.318e-05/0.8172, allocations: 181.4 kB / 0.5456 GB, free: 140.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.047e-05/0.8173, allocations: 26.91 kB / 0.5456 GB, free: 140.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00358/0.8209, allocations: 1.744 MB / 0.5473 GB, free: 139.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003083/0.824, allocations: 0.7121 MB / 0.548 GB, free: 139.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02028/0.8443, allocations: 24.04 MB / 0.5715 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00422/0.8485, allocations: 389 kB / 0.5719 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007799/0.8493, allocations: 178.1 kB / 0.572 GB, free: 123.3 MB / 446.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.001278/0.8506, allocations: 0.599 MB / 0.5726 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009604/0.8516, allocations: 454.6 kB / 0.5731 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/0.8641, allocations: 7.745 MB / 0.5806 GB, free: 115.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/0.8642, allocations: 44.66 kB / 0.5807 GB, free: 115.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.8642, allocations: 4 kB / 0.5807 GB, free: 115.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-05/0.8643, allocations: 19.92 kB / 0.5807 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02043/0.8847, allocations: 13.77 MB / 0.5941 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.8847, allocations: 0 / 0.5941 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002526/0.8873, allocations: 0.5579 MB / 0.5947 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003124/0.8904, allocations: 1.714 MB / 0.5963 GB, free: 99.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006329/0.8911, allocations: 130.3 kB / 0.5965 GB, free: 99.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01975/0.9108, allocations: 23.86 MB / 0.6198 GB, free: 74.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.9109, allocations: 8.062 kB / 0.6198 GB, free: 74.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01665/0.9275, allocations: 11.37 MB / 0.6309 GB, free: 63.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002708/0.9303, allocations: 1.136 MB / 0.632 GB, free: 61.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001204/0.9315, allocations: 167.9 kB / 0.6322 GB, free: 61.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002918/0.9344, allocations: 387.5 kB / 0.6325 GB, free: 61.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001412/0.9358, allocations: 0.7561 MB / 0.6333 GB, free: 60.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000294/0.9361, allocations: 143.9 kB / 0.6334 GB, free: 60.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003654/0.9398, allocations: 2.768 MB / 0.6361 GB, free: 57.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.9398, allocations: 4 kB / 0.6361 GB, free: 57.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008771/0.9486, allocations: 2.203 MB / 0.6383 GB, free: 55.59 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.0008329/0.9495, allocations: 424.4 kB / 0.6387 GB, free: 55.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.03858/0.988, allocations: 22.12 MB / 0.6603 GB, free: 32.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.312e-05/0.9881, allocations: 2.656 kB / 0.6603 GB, free: 32.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008974/0.9971, allocations: 5.438 MB / 0.6656 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007654/1.005, allocations: 1.134 MB / 0.6667 GB, free: 26.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02513/1.03, allocations: 14.91 MB / 0.6812 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004907/1.035, allocations: 4.047 MB / 0.6852 GB, free: 7.109 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001922/1.037, allocations: 343.3 kB / 0.6855 GB, free: 6.773 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/1.037, allocations: 0 / 0.6855 GB, free: 6.773 MB / 446.1 MB Notification: Performance of Templates: time 0.5325/1.569, allocations: 278.3 MB / 0.9573 GB, free: 101 MB / 478.1 MB 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/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_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches