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.001742/0.001742, allocations: 109.8 kB / 17.17 MB, free: 6.344 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.002183/0.002183, allocations: 194.9 kB / 18.08 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.057/2.057, allocations: 222.9 MB / 241.7 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 46.77 kB / 300.6 MB, free: 6.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1493, allocations: 49.45 MB / 350.1 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.01547/0.1649, allocations: 6.491 MB / 356.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007901/0.1728, allocations: 1.878 MB / 358.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/0.1752, allocations: 39.81 kB / 358.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.1769, allocations: 238.3 kB / 358.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003408/0.1804, allocations: 477.5 kB / 359.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.1828, allocations: 399.6 kB / 359.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01427/0.1971, allocations: 6.896 MB / 366.5 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2743/0.4714, allocations: 4.606 MB / 371.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009647/0.4812, allocations: 2.363 MB / 373.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0113/0.4925, allocations: 3.404 MB / 376.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004491/0.4971, allocations: 427.3 kB / 377.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005774/0.5029, allocations: 425.8 kB / 377.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005964/0.509, allocations: 1.565 MB / 379.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01179/0.5208, allocations: 3.058 MB / 382.3 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.5345, allocations: 8.217 MB / 390.5 MB, free: 5.086 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.5346, allocations: 0.9375 kB / 390.5 MB, free: 5.086 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5346, allocations: 1.031 kB / 390.5 MB, free: 5.086 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0007225/0.5353, allocations: 0 / 390.5 MB, free: 5.086 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.03196/0.5673, allocations: 7.605 MB / 398.1 MB, free: 16 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.5674, allocations: 10.12 kB / 398.1 MB, free: 16 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004646/0.5721, allocations: 0.6686 MB / 398.8 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01524/0.5873, allocations: 4.01 MB / 402.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007342/0.5881, allocations: 419 kB / 403.2 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003118/0.5913, allocations: 0.5123 MB / 403.7 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03048/0.6218, allocations: 8.007 MB / 411.7 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003387/0.6222, allocations: 10.53 kB / 411.8 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002471/0.6247, allocations: 217.1 kB / 412 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002531/0.6249, allocations: 189.7 kB / 412.2 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02789/0.6528, allocations: 7.272 MB / 419.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06676/0.7197, allocations: 21.2 MB / 440.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01973/0.7395, allocations: 8.048 MB / 448.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009371/0.7489, allocations: 3.801 MB / 452.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005528/0.7495, allocations: 69.22 kB / 452.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01202/0.7616, allocations: 4.052 MB / 456.6 MB, free: 9.168 MB / 366.1 MB Notification: Performance of pre-optimization done (n=457): time 1.57e-05/0.7617, allocations: 0 / 456.6 MB, free: 9.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=458): time 0.06514/0.8268, allocations: 18.95 MB / 475.5 MB, free: 6.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004546/0.8273, allocations: 469.1 kB / 476 MB, free: 5.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01138/0.8387, allocations: 3.986 MB / 480 MB, free: 1.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001849/0.8406, allocations: 165.6 kB / 480.2 MB, free: 1.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00401/0.8447, allocations: 2.088 MB / 482.2 MB, free: 15.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003402/0.8481, allocations: 1.401 MB / 483.6 MB, free: 13.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007055/0.8552, allocations: 0.8668 MB / 484.5 MB, free: 13.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.8555, allocations: 305.1 kB / 484.8 MB, free: 12.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0112/0.8667, allocations: 2.725 MB / 487.5 MB, free: 9.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01382/0.8806, allocations: 3.793 MB / 491.3 MB, free: 5.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02425/0.9049, allocations: 6.357 MB / 497.7 MB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001322/0.9051, allocations: 8 kB / 497.7 MB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.03272/0.9379, allocations: 8.057 MB / 0.4939 GB, free: 7.098 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002923/0.9382, allocations: 182.2 kB / 0.4941 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/0.9384, allocations: 32.03 kB / 0.4941 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004819/0.9432, allocations: 1.737 MB / 0.4958 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004273/0.9475, allocations: 0.7678 MB / 0.4965 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03294/0.9805, allocations: 22.03 MB / 0.5181 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005981/0.9865, allocations: 403.6 kB / 0.5184 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001637/0.9882, allocations: 176 kB / 0.5186 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01302/1.001, allocations: 4.318 MB / 0.5228 GB, free: 8.625 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01109/1.012, allocations: 3.629 MB / 0.5264 GB, free: 4.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3838/1.396, allocations: 6.087 MB / 0.5323 GB, free: 143.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001022/1.396, allocations: 10.55 kB / 0.5323 GB, free: 143.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.03056/1.427, allocations: 7.763 MB / 0.5399 GB, free: 142.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002138/1.427, allocations: 185.7 kB / 0.5401 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/1.427, allocations: 25.75 kB / 0.5401 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006419/1.434, allocations: 1.722 MB / 0.5418 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005769/1.44, allocations: 0.7185 MB / 0.5425 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03357/1.473, allocations: 22.02 MB / 0.564 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00739/1.481, allocations: 394.1 kB / 0.5644 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001844/1.483, allocations: 175.7 kB / 0.5645 GB, free: 127.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.002883/1.486, allocations: 0.6031 MB / 0.5651 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002283/1.488, allocations: 459 kB / 0.5656 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02551/1.513, allocations: 7.739 MB / 0.5731 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.025e-05/1.513, allocations: 44 kB / 0.5732 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-05/1.514, allocations: 4 kB / 0.5732 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001146/1.514, allocations: 19.92 kB / 0.5732 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04388/1.558, allocations: 13.76 MB / 0.5866 GB, free: 108 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.043e-05/1.558, allocations: 4 kB / 0.5866 GB, free: 108 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004453/1.562, allocations: 0.5578 MB / 0.5872 GB, free: 107.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005148/1.567, allocations: 1.701 MB / 0.5888 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001524/1.569, allocations: 123.9 kB / 0.589 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03221/1.601, allocations: 21.86 MB / 0.6103 GB, free: 83.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.601, allocations: 7.938 kB / 0.6103 GB, free: 83.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03421/1.635, allocations: 11.37 MB / 0.6214 GB, free: 71.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005276/1.641, allocations: 1.14 MB / 0.6225 GB, free: 70.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003138/1.644, allocations: 167.9 kB / 0.6227 GB, free: 70.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005936/1.65, allocations: 383.5 kB / 0.623 GB, free: 70.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003407/1.653, allocations: 0.7561 MB / 0.6238 GB, free: 69.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001026/1.654, allocations: 143.9 kB / 0.6239 GB, free: 69.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.008408/1.663, allocations: 2.764 MB / 0.6266 GB, free: 66.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.12e-07/1.663, allocations: 3.938 kB / 0.6266 GB, free: 66.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.02031/1.683, allocations: 2.207 MB / 0.6288 GB, free: 64.15 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.002516/1.686, allocations: 428.5 kB / 0.6292 GB, free: 63.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.03622/1.722, allocations: 13.4 MB / 0.6423 GB, free: 50.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-05/1.722, allocations: 10.78 kB / 0.6423 GB, free: 50 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01713/1.739, allocations: 5.402 MB / 0.6476 GB, free: 44.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01429/1.754, allocations: 1.06 MB / 0.6486 GB, free: 43.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04864/1.802, allocations: 14.91 MB / 0.6632 GB, free: 28.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01027/1.813, allocations: 4.047 MB / 0.6671 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003874/1.817, allocations: 323.3 kB / 0.6674 GB, free: 24.19 MB / 446.1 MB Notification: Performance of SimCode: time 2.053e-06/1.817, allocations: 0 / 0.6674 GB, free: 24.19 MB / 446.1 MB Notification: Performance of Templates: time 1.071/2.887, allocations: 278.3 MB / 0.9392 GB, free: 121.6 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