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.001358/0.001358, allocations: 115.2 kB / 16.63 MB, free: 6.812 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.001589/0.001589, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.304/1.304, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009775/0.0009775, allocations: 41.64 kB / 300.2 MB, free: 6.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08749/0.08849, allocations: 49.45 MB / 349.6 MB, free: 4.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.008042/0.09657, allocations: 6.486 MB / 356.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003323/0.09992, allocations: 1.87 MB / 358 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005839/0.1005, allocations: 39.75 kB / 358 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005168/0.1011, allocations: 242.4 kB / 358.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.1022, allocations: 461.5 kB / 358.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007154/0.1029, allocations: 399.6 kB / 359.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005613/0.1085, allocations: 6.951 MB / 366 MB, free: 4.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1489/0.2575, allocations: 5.124 MB / 371.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/0.2606, allocations: 3.031 MB / 374.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004339/0.265, allocations: 3.798 MB / 378 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001387/0.2664, allocations: 0.8053 MB / 378.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.2677, allocations: 0.803 MB / 379.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00151/0.2693, allocations: 2.027 MB / 381.6 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003306/0.2726, allocations: 3.537 MB / 385.2 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007393/0.28, allocations: 10.13 MB / 395.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.28, allocations: 0 / 395.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.28, allocations: 0 / 395.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002865/0.2803, allocations: 0 / 395.3 MB, free: 2.387 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.01658/0.2969, allocations: 7.6 MB / 402.9 MB, free: 13.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2969, allocations: 14.48 kB / 402.9 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.2982, allocations: 0.6625 MB / 403.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006971/0.3052, allocations: 4.013 MB / 407.6 MB, free: 9.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003934/0.3056, allocations: 419.7 kB / 408 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000864/0.3064, allocations: 0.5155 MB / 408.5 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.3211, allocations: 7.998 MB / 416.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/0.3213, allocations: 22.7 kB / 416.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005399/0.3218, allocations: 212 kB / 416.7 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/0.322, allocations: 185.7 kB / 416.9 MB, free: 248 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.335, allocations: 7.28 MB / 424.2 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03328/0.3683, allocations: 21.19 MB / 445.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/0.3802, allocations: 8.056 MB / 453.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006338/0.3865, allocations: 3.803 MB / 457.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/0.3868, allocations: 71.62 kB / 457.3 MB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006402/0.3932, allocations: 4.042 MB / 461.4 MB, free: 3.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=457): time 6.813e-06/0.3932, allocations: 0 / 461.4 MB, free: 3.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=458): time 0.03781/0.431, allocations: 18.95 MB / 480.3 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000237/0.4313, allocations: 460.8 kB / 480.8 MB, free: 172 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006049/0.4373, allocations: 3.99 MB / 484.7 MB, free: 12.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005231/0.4379, allocations: 165.6 kB / 484.9 MB, free: 12.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002025/0.4399, allocations: 2.094 MB / 487 MB, free: 9.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001405/0.4413, allocations: 1.403 MB / 488.4 MB, free: 8.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001594/0.4429, allocations: 0.863 MB / 489.3 MB, free: 7.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.443, allocations: 309.1 kB / 489.6 MB, free: 7.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004827/0.4479, allocations: 2.718 MB / 492.3 MB, free: 4.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005502/0.4534, allocations: 3.787 MB / 496.1 MB, free: 448 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009887/0.4633, allocations: 6.368 MB / 0.4907 GB, free: 9.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.659e-05/0.4633, allocations: 7.938 kB / 0.4907 GB, free: 9.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01384/0.4772, allocations: 8.067 MB / 0.4985 GB, free: 1.742 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.4773, allocations: 182.2 kB / 0.4987 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.797e-05/0.4774, allocations: 24 kB / 0.4987 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003742/0.4811, allocations: 1.738 MB / 0.5004 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002955/0.4841, allocations: 0.7701 MB / 0.5012 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0269/0.511, allocations: 24.03 MB / 0.5247 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004627/0.5157, allocations: 403.6 kB / 0.525 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/0.5168, allocations: 188.2 kB / 0.5252 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00858/0.5254, allocations: 4.314 MB / 0.5294 GB, free: 1.234 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.1681/0.6935, allocations: 3.628 MB / 0.533 GB, free: 138.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009154/0.7027, allocations: 6.094 MB / 0.5389 GB, free: 137.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.373e-05/0.7028, allocations: 10.12 kB / 0.5389 GB, free: 137.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01392/0.7167, allocations: 7.759 MB / 0.5465 GB, free: 135.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.146e-05/0.7168, allocations: 188 kB / 0.5467 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.378e-05/0.7169, allocations: 23.75 kB / 0.5467 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003143/0.72, allocations: 1.74 MB / 0.5484 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/0.7227, allocations: 0.7189 MB / 0.5491 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01993/0.7427, allocations: 24.02 MB / 0.5726 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004113/0.7468, allocations: 392.4 kB / 0.573 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004282/0.7472, allocations: 180.2 kB / 0.5731 GB, free: 117.4 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.001085/0.7483, allocations: 0.6015 MB / 0.5737 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006838/0.749, allocations: 458.1 kB / 0.5742 GB, free: 116.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.7603, allocations: 7.733 MB / 0.5817 GB, free: 109.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.7603, allocations: 44 kB / 0.5817 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.7603, allocations: 7.938 kB / 0.5818 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.999e-05/0.7604, allocations: 19.92 kB / 0.5818 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/0.7781, allocations: 13.76 MB / 0.5952 GB, free: 95.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.7781, allocations: 5.672 kB / 0.5952 GB, free: 95.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002387/0.7805, allocations: 0.5616 MB / 0.5958 GB, free: 94.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003088/0.7836, allocations: 1.71 MB / 0.5974 GB, free: 93.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003393/0.784, allocations: 123.9 kB / 0.5976 GB, free: 92.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01909/0.8031, allocations: 23.87 MB / 0.6209 GB, free: 68.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8031, allocations: 0 / 0.6209 GB, free: 68.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01505/0.8182, allocations: 11.37 MB / 0.632 GB, free: 56.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002023/0.8202, allocations: 1.144 MB / 0.6331 GB, free: 55.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007282/0.821, allocations: 169.5 kB / 0.6332 GB, free: 55.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/0.8236, allocations: 383.5 kB / 0.6336 GB, free: 55.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001358/0.825, allocations: 0.7561 MB / 0.6343 GB, free: 54.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002806/0.8253, allocations: 147.9 kB / 0.6345 GB, free: 54.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003071/0.8283, allocations: 2.764 MB / 0.6372 GB, free: 51.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8284, allocations: 0 / 0.6372 GB, free: 51.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00612/0.8345, allocations: 2.207 MB / 0.6393 GB, free: 49.41 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.0005997/0.8351, allocations: 433.3 kB / 0.6398 GB, free: 48.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.03575/0.8708, allocations: 22.12 MB / 0.6614 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.8709, allocations: 1.656 kB / 0.6614 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006783/0.8777, allocations: 5.221 MB / 0.6665 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004327/0.882, allocations: 1.137 MB / 0.6676 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/0.9002, allocations: 14.9 MB / 0.6821 GB, free: 5.273 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002866/0.9031, allocations: 4.109 MB / 0.6861 GB, free: 1.125 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004741/0.9078, allocations: 1.973 MB / 0.6881 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009423/0.9088, allocations: 319.3 kB / 0.6884 GB, free: 14.84 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.9088, allocations: 0 / 0.6884 GB, free: 14.84 MB / 462.1 MB Notification: Performance of Templates: time 0.2709/1.18, allocations: 103.5 MB / 0.7894 GB, free: 81.66 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 -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