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.001084/0.001084, allocations: 114.4 kB / 17.68 MB, free: 5.332 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.001141/0.001141, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.313/1.313, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009735/0.0009735, allocations: 42.16 kB / 302.1 MB, free: 5.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08332/0.08431, allocations: 49.44 MB / 351.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.007815/0.09215, allocations: 6.523 MB / 358 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003237/0.09541, allocations: 1.913 MB / 359.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005206/0.09595, allocations: 43.81 kB / 360 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.09651, allocations: 289.5 kB / 360.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.09767, allocations: 0.5008 MB / 360.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007985/0.09848, allocations: 457.3 kB / 361.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005764/0.1043, allocations: 6.986 MB / 368.2 MB, free: 2.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1524/0.2567, allocations: 5.122 MB / 373.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00609/0.2628, allocations: 3.016 MB / 376.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007923/0.2708, allocations: 3.75 MB / 380.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003629/0.2744, allocations: 0.806 MB / 380.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004206/0.2787, allocations: 0.802 MB / 381.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003021/0.2817, allocations: 2.027 MB / 383.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008664/0.2904, allocations: 3.529 MB / 387.3 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00968/0.3001, allocations: 10.28 MB / 397.5 MB, free: 1.547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3001, allocations: 3.781 kB / 397.5 MB, free: 1.547 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3001, allocations: 0 / 397.5 MB, free: 1.547 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003335/0.3005, allocations: 0 / 397.5 MB, free: 1.547 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.01823/0.3187, allocations: 7.603 MB / 405.1 MB, free: 12.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3188, allocations: 10.22 kB / 405.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.32, allocations: 0.6673 MB / 405.8 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009681/0.3297, allocations: 4.098 MB / 409.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003064/0.33, allocations: 394.2 kB / 410.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/0.3313, allocations: 0.5083 MB / 410.8 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/0.3481, allocations: 8.012 MB / 418.8 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002029/0.3484, allocations: 14.53 kB / 418.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001266/0.3496, allocations: 208 kB / 419 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/0.3498, allocations: 193.7 kB / 419.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/0.3654, allocations: 7.28 MB / 426.5 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04578/0.4112, allocations: 20.98 MB / 447.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0131/0.4243, allocations: 8.065 MB / 455.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007083/0.4314, allocations: 3.797 MB / 459.4 MB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/0.4318, allocations: 65.14 kB / 459.4 MB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007395/0.4392, allocations: 4.057 MB / 463.5 MB, free: 2.367 MB / 366.1 MB Notification: Performance of pre-optimization done (n=457): time 9.077e-06/0.4392, allocations: 0 / 463.5 MB, free: 2.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=458): time 0.04474/0.484, allocations: 18.96 MB / 482.4 MB, free: 15.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002892/0.4843, allocations: 462.5 kB / 482.9 MB, free: 14.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007107/0.4914, allocations: 3.994 MB / 486.9 MB, free: 10.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006971/0.4921, allocations: 165.6 kB / 487 MB, free: 10.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002135/0.4943, allocations: 2.085 MB / 489.1 MB, free: 8.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001711/0.496, allocations: 1.405 MB / 490.5 MB, free: 7.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002032/0.498, allocations: 0.8591 MB / 491.4 MB, free: 6.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.4982, allocations: 305.7 kB / 491.7 MB, free: 5.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005195/0.5034, allocations: 2.725 MB / 494.4 MB, free: 3.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006011/0.5094, allocations: 3.79 MB / 498.2 MB, free: 14.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/0.5205, allocations: 6.357 MB / 0.4927 GB, free: 8.289 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.611e-05/0.5206, allocations: 4 kB / 0.4927 GB, free: 8.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01667/0.5372, allocations: 8.063 MB / 0.5006 GB, free: 296 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.5374, allocations: 186.2 kB / 0.5008 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.696e-05/0.5375, allocations: 25.22 kB / 0.5008 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003824/0.5413, allocations: 1.738 MB / 0.5025 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003328/0.5447, allocations: 0.7762 MB / 0.5033 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02652/0.5712, allocations: 24 MB / 0.5267 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004064/0.5753, allocations: 403.6 kB / 0.5271 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007969/0.5761, allocations: 176 kB / 0.5273 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.1706/0.7468, allocations: 4.319 MB / 0.5315 GB, free: 144 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006018/0.7528, allocations: 3.633 MB / 0.535 GB, free: 142.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009124/0.762, allocations: 6.084 MB / 0.541 GB, free: 141.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.456e-05/0.762, allocations: 12.14 kB / 0.541 GB, free: 141.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01317/0.7752, allocations: 7.772 MB / 0.5486 GB, free: 138.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.101e-05/0.7753, allocations: 184.5 kB / 0.5487 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.703e-05/0.7753, allocations: 25.03 kB / 0.5488 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003109/0.7785, allocations: 1.729 MB / 0.5505 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/0.7812, allocations: 0.7206 MB / 0.5512 GB, free: 137.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/0.8022, allocations: 24 MB / 0.5746 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00461/0.8068, allocations: 392.1 kB / 0.575 GB, free: 121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007437/0.8076, allocations: 176 kB / 0.5751 GB, free: 120.8 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.001092/0.8087, allocations: 0.6013 MB / 0.5757 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006973/0.8094, allocations: 458.2 kB / 0.5762 GB, free: 120 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.8211, allocations: 7.732 MB / 0.5837 GB, free: 112.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/0.8211, allocations: 40 kB / 0.5838 GB, free: 112.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.8211, allocations: 4 kB / 0.5838 GB, free: 112.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.4e-05/0.8212, allocations: 23.91 kB / 0.5838 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02081/0.842, allocations: 13.72 MB / 0.5972 GB, free: 98.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.842, allocations: 3.844 kB / 0.5972 GB, free: 98.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00239/0.8444, allocations: 0.5579 MB / 0.5977 GB, free: 97.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003017/0.8475, allocations: 1.7 MB / 0.5994 GB, free: 96.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004556/0.8479, allocations: 123.9 kB / 0.5995 GB, free: 96.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02115/0.8691, allocations: 23.84 MB / 0.6228 GB, free: 71.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.8691, allocations: 0 / 0.6228 GB, free: 71.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01894/0.8881, allocations: 11.39 MB / 0.6339 GB, free: 60.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003902/0.892, allocations: 1.136 MB / 0.635 GB, free: 58.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002009/0.894, allocations: 167.9 kB / 0.6352 GB, free: 58.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003716/0.8978, allocations: 387.5 kB / 0.6355 GB, free: 58.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002007/0.8998, allocations: 0.7483 MB / 0.6363 GB, free: 57.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007097/0.9005, allocations: 147.9 kB / 0.6364 GB, free: 57.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006087/0.9066, allocations: 2.764 MB / 0.6391 GB, free: 54.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9067, allocations: 0 / 0.6391 GB, free: 54.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01055/0.9172, allocations: 2.211 MB / 0.6413 GB, free: 52.58 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.001154/0.9184, allocations: 425.2 kB / 0.6417 GB, free: 52.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02025/0.9387, allocations: 13.51 MB / 0.6549 GB, free: 38.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.9387, allocations: 4.656 kB / 0.6549 GB, free: 38.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007618/0.9464, allocations: 5.211 MB / 0.66 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005961/0.9523, allocations: 1.141 MB / 0.6611 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02204/0.9744, allocations: 12.68 MB / 0.6735 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004488/0.9789, allocations: 4.109 MB / 0.6775 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004991/0.9839, allocations: 1.967 MB / 0.6794 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/0.9852, allocations: 315.3 kB / 0.6797 GB, free: 12.84 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.9852, allocations: 0 / 0.6797 GB, free: 12.84 MB / 446.1 MB Notification: Performance of Templates: time 0.289/1.274, allocations: 101.8 MB / 0.7791 GB, free: 94.77 MB / 462.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 -s gbode -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