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.0009626/0.0009628, allocations: 89.61 kB / 16.65 MB, free: 6.59 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.001032/0.001033, allocations: 182.8 kB / 17.56 MB, free: 6.203 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.346/1.346, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002318/0.0002318, allocations: 7.938 kB / 301.4 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1102, allocations: 50.4 MB / 351.8 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.009382/0.1196, allocations: 6.028 MB / 357.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004655/0.1243, allocations: 1.862 MB / 359.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006866/0.125, allocations: 43.75 kB / 359.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006295/0.1257, allocations: 238.4 kB / 360 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.1267, allocations: 461.5 kB / 360.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.1274, allocations: 398.7 kB / 360.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005336/0.1328, allocations: 6.904 MB / 367.8 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1717/0.3044, allocations: 4.552 MB / 372.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004055/0.3085, allocations: 1.999 MB / 374.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005795/0.3144, allocations: 2.946 MB / 377.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001589/0.316, allocations: 279.6 kB / 377.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.3174, allocations: 280.4 kB / 377.8 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001417/0.3188, allocations: 1.334 MB / 379.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004187/0.323, allocations: 2.792 MB / 381.9 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009634/0.3326, allocations: 9.393 MB / 391.3 MB, free: 4.746 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3327, allocations: 0 / 391.3 MB, free: 4.746 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3327, allocations: 0 / 391.3 MB, free: 4.746 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003412/0.333, allocations: 0 / 391.3 MB, free: 4.746 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.01765/0.3507, allocations: 6.531 MB / 397.8 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3507, allocations: 9.312 kB / 397.9 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003773/0.3545, allocations: 0.6634 MB / 398.5 MB, free: 428 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008586/0.3631, allocations: 4.11 MB / 402.6 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004264/0.3636, allocations: 433.2 kB / 403.1 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001188/0.3648, allocations: 0.508 MB / 403.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/0.382, allocations: 8.1 MB / 411.7 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.3821, allocations: 14.53 kB / 411.7 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005978/0.3827, allocations: 212 kB / 411.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/0.3829, allocations: 188.3 kB / 412.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/0.3985, allocations: 7.478 MB / 419.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04059/0.4391, allocations: 21.38 MB / 440.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01224/0.4514, allocations: 8.227 MB / 449.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006977/0.4584, allocations: 3.888 MB / 453 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/0.4586, allocations: 66.16 kB / 453.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007651/0.4663, allocations: 4.158 MB / 457.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=457): time 6.532e-06/0.4663, allocations: 4 kB / 457.3 MB, free: 8.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=458): time 0.04804/0.5144, allocations: 19.5 MB / 476.8 MB, free: 4.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002967/0.5147, allocations: 464.5 kB / 477.2 MB, free: 4.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008685/0.5234, allocations: 3.982 MB / 481.2 MB, free: 388 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001117/0.5245, allocations: 165.6 kB / 481.4 MB, free: 216 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002393/0.5269, allocations: 2.096 MB / 483.5 MB, free: 14.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002119/0.5291, allocations: 1.4 MB / 484.9 MB, free: 12.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001878/0.531, allocations: 459.5 kB / 485.3 MB, free: 12.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5311, allocations: 305.1 kB / 485.6 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006947/0.5381, allocations: 2.792 MB / 488.4 MB, free: 9.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007235/0.5453, allocations: 3.895 MB / 492.3 MB, free: 4.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/0.5576, allocations: 6.558 MB / 498.9 MB, free: 14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.031e-05/0.5577, allocations: 8.938 kB / 498.9 MB, free: 13.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01836/0.5761, allocations: 8.261 MB / 0.4952 GB, free: 5.797 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000948/0.577, allocations: 1.04 MB / 0.4963 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.879e-05/0.5771, allocations: 24 kB / 0.4963 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004139/0.5813, allocations: 1.735 MB / 0.498 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003711/0.585, allocations: 0.8208 MB / 0.4988 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02759/0.6126, allocations: 22.06 MB / 0.5203 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005028/0.6177, allocations: 467.6 kB / 0.5208 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/0.6188, allocations: 176 kB / 0.5209 GB, free: 10.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.6189, allocations: 4 kB / 0.5209 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01559/0.6345, allocations: 7.643 MB / 0.5284 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.293e-05/0.6346, allocations: 28 kB / 0.5284 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004005/0.6386, allocations: 1.723 MB / 0.5301 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003457/0.6421, allocations: 0.7565 MB / 0.5308 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2101/0.8522, allocations: 22.04 MB / 0.5524 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004326/0.8566, allocations: 405.8 kB / 0.5528 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005614/0.8572, allocations: 175.8 kB / 0.5529 GB, free: 132.5 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.004045/0.8612, allocations: 2.221 MB / 0.5551 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008502/0.8621, allocations: 458.3 kB / 0.5555 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/0.8749, allocations: 7.928 MB / 0.5633 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/0.875, allocations: 45.12 kB / 0.5633 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.875, allocations: 3.438 kB / 0.5633 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-05/0.8751, allocations: 25.09 kB / 0.5633 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02067/0.8957, allocations: 13.98 MB / 0.577 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.8958, allocations: 0 / 0.577 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002405/0.8982, allocations: 0.6115 MB / 0.5776 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003059/0.9013, allocations: 1.712 MB / 0.5793 GB, free: 115.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000349/0.9016, allocations: 123.9 kB / 0.5794 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/0.9209, allocations: 21.87 MB / 0.6007 GB, free: 93.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.9209, allocations: 4.031 kB / 0.6007 GB, free: 93.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/0.9372, allocations: 11.67 MB / 0.6121 GB, free: 81.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002425/0.9397, allocations: 1.14 MB / 0.6133 GB, free: 80.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007911/0.9405, allocations: 163.9 kB / 0.6134 GB, free: 80.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002923/0.9434, allocations: 451.5 kB / 0.6138 GB, free: 80.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001424/0.9449, allocations: 0.7521 MB / 0.6146 GB, free: 79.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002849/0.9451, allocations: 151.9 kB / 0.6147 GB, free: 79.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003674/0.9488, allocations: 2.764 MB / 0.6174 GB, free: 76.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.9488, allocations: 0 / 0.6174 GB, free: 76.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006989/0.9558, allocations: 2.212 MB / 0.6196 GB, free: 74.19 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.0006355/0.9565, allocations: 426.4 kB / 0.62 GB, free: 73.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01853/0.975, allocations: 13.7 MB / 0.6334 GB, free: 59.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/0.9751, allocations: 8.594 kB / 0.6334 GB, free: 59.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007631/0.9827, allocations: 5.291 MB / 0.6385 GB, free: 54.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006012/0.9888, allocations: 1.07 MB / 0.6396 GB, free: 53.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/1.009, allocations: 15.08 MB / 0.6543 GB, free: 38.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003453/1.012, allocations: 4.105 MB / 0.6583 GB, free: 34.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004833/1.017, allocations: 1.983 MB / 0.6603 GB, free: 32.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009102/1.018, allocations: 299.3 kB / 0.6605 GB, free: 31.79 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/1.018, allocations: 0 / 0.6605 GB, free: 31.79 MB / 446.1 MB Notification: Performance of Templates: time 0.3071/1.325, allocations: 97.4 MB / 0.7557 GB, free: 116.6 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