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.001314/0.001314, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001404/0.001404, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.348/1.348, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 51.89 kB / 301.3 MB, free: 5.836 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1021, allocations: 49.44 MB / 350.8 MB, free: 4.379 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.007936/0.1101, allocations: 6.519 MB / 357.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003773/0.1139, allocations: 1.913 MB / 359.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007912/0.1147, allocations: 39.81 kB / 359.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.1154, allocations: 289.5 kB / 359.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.1167, allocations: 0.4969 MB / 360 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008764/0.1176, allocations: 462.1 kB / 360.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00573/0.1233, allocations: 6.947 MB / 367.4 MB, free: 3.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1589/0.2823, allocations: 5.121 MB / 372.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003992/0.2863, allocations: 3.013 MB / 375.5 MB, free: 10 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00623/0.2926, allocations: 3.741 MB / 379.3 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003051/0.2957, allocations: 0.8058 MB / 380.1 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/0.2993, allocations: 0.8033 MB / 380.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003983/0.3033, allocations: 2.022 MB / 382.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008109/0.3114, allocations: 3.528 MB / 386.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01093/0.3224, allocations: 10.14 MB / 396.6 MB, free: 1.754 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3224, allocations: 3.125 kB / 396.6 MB, free: 1.754 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3224, allocations: 0 / 396.6 MB, free: 1.754 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003829/0.3228, allocations: 0 / 396.6 MB, free: 1.754 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.02024/0.343, allocations: 7.595 MB / 404.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3431, allocations: 15.84 kB / 404.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/0.3454, allocations: 0.6633 MB / 404.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008777/0.3542, allocations: 4.006 MB / 408.9 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004954/0.3548, allocations: 423.7 kB / 409.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001775/0.3565, allocations: 0.5116 MB / 409.8 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/0.3747, allocations: 8.007 MB / 417.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002434/0.375, allocations: 18.62 kB / 417.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00171/0.3767, allocations: 212 kB / 418 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001953/0.3769, allocations: 181.7 kB / 418.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01669/0.3936, allocations: 7.28 MB / 425.5 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0437/0.4373, allocations: 21.2 MB / 446.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/0.4505, allocations: 8.048 MB / 454.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007228/0.4578, allocations: 3.801 MB / 458.5 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003201/0.4582, allocations: 69.45 kB / 458.6 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008075/0.4662, allocations: 4.05 MB / 462.6 MB, free: 3.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=457): time 7.594e-06/0.4663, allocations: 2.625 kB / 462.6 MB, free: 3.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=458): time 0.04624/0.5125, allocations: 18.95 MB / 481.6 MB, free: 8 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000259/0.5128, allocations: 462.5 kB / 482 MB, free: 15.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006258/0.5191, allocations: 3.986 MB / 486 MB, free: 11.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009222/0.52, allocations: 165.6 kB / 486.2 MB, free: 11.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002052/0.5221, allocations: 2.092 MB / 488.3 MB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001777/0.5239, allocations: 1.405 MB / 489.7 MB, free: 7.863 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002374/0.5263, allocations: 0.8591 MB / 490.5 MB, free: 6.992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.5264, allocations: 317 kB / 490.9 MB, free: 6.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005187/0.5316, allocations: 2.714 MB / 493.6 MB, free: 3.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006235/0.5378, allocations: 3.79 MB / 497.4 MB, free: 15.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/0.5488, allocations: 6.364 MB / 0.4919 GB, free: 9.062 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.552e-05/0.5489, allocations: 11.94 kB / 0.4919 GB, free: 9.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01595/0.5649, allocations: 8.058 MB / 0.4998 GB, free: 1.059 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.565, allocations: 179 kB / 0.5 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.065e-05/0.5651, allocations: 28 kB / 0.5 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003789/0.5689, allocations: 1.739 MB / 0.5017 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003458/0.5724, allocations: 0.7762 MB / 0.5024 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02624/0.5986, allocations: 24.02 MB / 0.5259 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004749/0.6034, allocations: 403.6 kB / 0.5263 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009797/0.6044, allocations: 179.9 kB / 0.5265 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008663/0.6131, allocations: 4.321 MB / 0.5307 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.1882/0.8013, allocations: 3.628 MB / 0.5342 GB, free: 143.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0113/0.8127, allocations: 6.09 MB / 0.5402 GB, free: 142.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.448e-05/0.8128, allocations: 10.84 kB / 0.5402 GB, free: 142.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01716/0.83, allocations: 7.763 MB / 0.5478 GB, free: 139.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.8301, allocations: 188.3 kB / 0.5479 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.911e-05/0.8302, allocations: 26.75 kB / 0.548 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003556/0.8338, allocations: 1.735 MB / 0.5497 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003481/0.8373, allocations: 0.7164 MB / 0.5504 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02245/0.8598, allocations: 24.03 MB / 0.5738 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004655/0.8645, allocations: 397.6 kB / 0.5742 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009344/0.8654, allocations: 179.2 kB / 0.5744 GB, free: 121.1 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.001912/0.8674, allocations: 0.6041 MB / 0.575 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/0.8687, allocations: 459.4 kB / 0.5754 GB, free: 120.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/0.8823, allocations: 7.736 MB / 0.583 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/0.8824, allocations: 40 kB / 0.583 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/0.8824, allocations: 4 kB / 0.583 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.212e-05/0.8825, allocations: 27.84 kB / 0.583 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0244/0.9069, allocations: 13.77 MB / 0.5965 GB, free: 99.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/0.9069, allocations: 4 kB / 0.5965 GB, free: 99.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002686/0.9096, allocations: 0.554 MB / 0.597 GB, free: 98.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003151/0.9128, allocations: 1.711 MB / 0.5987 GB, free: 96.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007038/0.9135, allocations: 127.9 kB / 0.5988 GB, free: 96.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02014/0.9337, allocations: 23.86 MB / 0.6221 GB, free: 72.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.9337, allocations: 0 / 0.6221 GB, free: 72.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01798/0.9517, allocations: 11.38 MB / 0.6332 GB, free: 60.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002854/0.9546, allocations: 1.14 MB / 0.6343 GB, free: 59.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001634/0.9562, allocations: 163.9 kB / 0.6345 GB, free: 59.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003673/0.9599, allocations: 383.7 kB / 0.6349 GB, free: 59.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001705/0.9617, allocations: 0.7561 MB / 0.6356 GB, free: 58.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005681/0.9622, allocations: 155.9 kB / 0.6357 GB, free: 58.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004194/0.9664, allocations: 2.761 MB / 0.6384 GB, free: 55.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.9665, allocations: 0 / 0.6384 GB, free: 55.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009074/0.9755, allocations: 2.207 MB / 0.6406 GB, free: 53.23 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.0009193/0.9765, allocations: 431.1 kB / 0.641 GB, free: 52.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.03722/1.014, allocations: 22.13 MB / 0.6626 GB, free: 30.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/1.014, allocations: 6.656 kB / 0.6626 GB, free: 30.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007618/1.021, allocations: 5.429 MB / 0.6679 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005526/1.027, allocations: 1.121 MB / 0.669 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0217/1.049, allocations: 12.82 MB / 0.6815 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004344/1.053, allocations: 4.047 MB / 0.6855 GB, free: 6.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/1.055, allocations: 347.3 kB / 0.6858 GB, free: 6.5 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/1.055, allocations: 0 / 0.6858 GB, free: 6.5 MB / 446.1 MB Notification: Performance of Templates: time 0.5308/1.586, allocations: 278.3 MB / 0.9576 GB, free: 100.4 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