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.001066/0.001066, allocations: 111.1 kB / 16.51 MB, free: 6.707 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.001096/0.001096, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.296/1.296, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009404/0.0009404, allocations: 51.25 kB / 300 MB, free: 6.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0787/0.07965, allocations: 49.45 MB / 349.4 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.007435/0.08712, allocations: 6.495 MB / 355.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00344/0.09061, allocations: 1.878 MB / 357.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005785/0.09121, allocations: 35.81 kB / 357.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.09174, allocations: 238.4 kB / 358.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.09287, allocations: 469.5 kB / 358.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007342/0.09361, allocations: 413.2 kB / 358.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005252/0.09888, allocations: 6.896 MB / 365.8 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1492/0.2481, allocations: 4.609 MB / 370.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002884/0.251, allocations: 2.359 MB / 372.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003905/0.2549, allocations: 3.401 MB / 376.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008756/0.2558, allocations: 428.5 kB / 376.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.2568, allocations: 425.5 kB / 377 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001264/0.2581, allocations: 1.567 MB / 378.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003186/0.2613, allocations: 3.054 MB / 381.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006589/0.2679, allocations: 9.71 MB / 391.4 MB, free: 3.891 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2679, allocations: 3.984 kB / 391.4 MB, free: 3.887 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.061e-06/0.2679, allocations: 0 / 391.4 MB, free: 3.887 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002363/0.2681, allocations: 0.6562 kB / 391.4 MB, free: 3.887 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.01578/0.2839, allocations: 7.601 MB / 399 MB, free: 14.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.284, allocations: 10.09 kB / 399 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.2852, allocations: 0.6633 MB / 399.6 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00714/0.2924, allocations: 4.012 MB / 403.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003532/0.2928, allocations: 424.9 kB / 404.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000841/0.2936, allocations: 0.5094 MB / 404.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01359/0.3072, allocations: 8.003 MB / 412.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.3074, allocations: 18.56 kB / 412.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005641/0.3079, allocations: 212 kB / 412.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.3081, allocations: 185.7 kB / 413 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01279/0.3209, allocations: 7.278 MB / 420.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03479/0.3557, allocations: 21.2 MB / 441.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/0.3671, allocations: 8.051 MB / 449.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005963/0.373, allocations: 3.808 MB / 453.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.3733, allocations: 66.16 kB / 453.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006199/0.3795, allocations: 4.038 MB / 457.4 MB, free: 7.656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=457): time 5.991e-06/0.3795, allocations: 0 / 457.4 MB, free: 7.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=458): time 0.03894/0.4184, allocations: 18.96 MB / 476.4 MB, free: 4.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002411/0.4187, allocations: 468.6 kB / 476.8 MB, free: 3.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005566/0.4243, allocations: 3.979 MB / 480.8 MB, free: 20 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005872/0.4249, allocations: 165.6 kB / 481 MB, free: 15.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001877/0.4268, allocations: 2.092 MB / 483.1 MB, free: 13.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001232/0.428, allocations: 1.401 MB / 484.5 MB, free: 12.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.4294, allocations: 0.8669 MB / 485.3 MB, free: 11.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.4295, allocations: 309.1 kB / 485.6 MB, free: 11.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004668/0.4341, allocations: 2.714 MB / 488.3 MB, free: 8.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005285/0.4394, allocations: 3.79 MB / 492.1 MB, free: 4.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009326/0.4488, allocations: 6.368 MB / 498.5 MB, free: 13.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.891e-05/0.4488, allocations: 8 kB / 498.5 MB, free: 13.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01332/0.4621, allocations: 8.064 MB / 0.4947 GB, free: 5.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.4623, allocations: 186.1 kB / 0.4949 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-05/0.4623, allocations: 24 kB / 0.4949 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003729/0.4661, allocations: 1.73 MB / 0.4966 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003291/0.4694, allocations: 0.774 MB / 0.4973 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.025/0.4944, allocations: 22.03 MB / 0.5189 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/0.4986, allocations: 403.6 kB / 0.5192 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005253/0.4992, allocations: 176 kB / 0.5194 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007888/0.5071, allocations: 4.326 MB / 0.5236 GB, free: 7.094 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00515/0.5123, allocations: 3.626 MB / 0.5272 GB, free: 3.059 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1762/0.6885, allocations: 6.088 MB / 0.5331 GB, free: 143.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.961e-05/0.6886, allocations: 7.562 kB / 0.5331 GB, free: 143.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.02089/0.7095, allocations: 7.763 MB / 0.5407 GB, free: 142.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.7096, allocations: 182 kB / 0.5409 GB, free: 142.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.851e-05/0.7097, allocations: 27 kB / 0.5409 GB, free: 142.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005591/0.7153, allocations: 1.737 MB / 0.5426 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005052/0.7204, allocations: 0.7115 MB / 0.5433 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02804/0.7484, allocations: 22.02 MB / 0.5648 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00621/0.7547, allocations: 393.9 kB / 0.5652 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/0.7558, allocations: 179.4 kB / 0.5654 GB, free: 126.9 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.002123/0.7579, allocations: 0.5982 MB / 0.5659 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001252/0.7592, allocations: 463.2 kB / 0.5664 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.771, allocations: 7.736 MB / 0.5739 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/0.771, allocations: 44 kB / 0.574 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.771, allocations: 4 kB / 0.574 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.262e-05/0.7711, allocations: 19.92 kB / 0.574 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02021/0.7913, allocations: 13.76 MB / 0.5874 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.7914, allocations: 0 / 0.5874 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002234/0.7936, allocations: 0.5618 MB / 0.588 GB, free: 106 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003139/0.7968, allocations: 1.7 MB / 0.5896 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000406/0.7972, allocations: 123.9 kB / 0.5898 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01874/0.8159, allocations: 21.86 MB / 0.6111 GB, free: 81.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.816, allocations: 0 / 0.6111 GB, free: 81.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01721/0.8332, allocations: 11.38 MB / 0.6222 GB, free: 70.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002913/0.8361, allocations: 1.14 MB / 0.6233 GB, free: 69.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/0.8377, allocations: 167.1 kB / 0.6235 GB, free: 68.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00332/0.8411, allocations: 383.5 kB / 0.6239 GB, free: 68.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00164/0.8427, allocations: 0.7522 MB / 0.6246 GB, free: 67.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005188/0.8432, allocations: 155.9 kB / 0.6248 GB, free: 67.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005129/0.8484, allocations: 2.761 MB / 0.6274 GB, free: 64.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.8484, allocations: 0 / 0.6274 GB, free: 64.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01019/0.8586, allocations: 2.207 MB / 0.6296 GB, free: 62.75 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.0009158/0.8595, allocations: 425.6 kB / 0.63 GB, free: 62.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01788/0.8774, allocations: 13.4 MB / 0.6431 GB, free: 48.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.8775, allocations: 4.781 kB / 0.6431 GB, free: 48.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007055/0.8845, allocations: 5.175 MB / 0.6482 GB, free: 43.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005343/0.8899, allocations: 1.066 MB / 0.6492 GB, free: 42.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/0.9097, allocations: 14.91 MB / 0.6638 GB, free: 27.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003816/0.9135, allocations: 4.101 MB / 0.6678 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00527/0.9188, allocations: 1.986 MB / 0.6697 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.9199, allocations: 295.4 kB / 0.67 GB, free: 20.99 MB / 446.1 MB Notification: Performance of SimCode: time 1.403e-06/0.9199, allocations: 0 / 0.67 GB, free: 20.99 MB / 446.1 MB Notification: Performance of Templates: time 0.2785/1.198, allocations: 99.29 MB / 0.7669 GB, free: 106.4 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