Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007633/0.0007634, allocations: 98.61 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008995/0.0008995, allocations: 206 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.105/1.105, allocations: 227.7 MB / 246.8 MB, free: 9.707 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001797/0.0001797, allocations: 8 kB / 307.7 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06996/0.07016, allocations: 51.53 MB / 359.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.00549/0.07567, allocations: 6.309 MB / 365.6 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.07888, allocations: 2.076 MB / 367.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006611/0.07956, allocations: 39.75 kB / 367.7 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.08002, allocations: 242.3 kB / 367.9 MB, free: 4.375 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009911/0.08102, allocations: 473.5 kB / 368.4 MB, free: 3.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007265/0.08176, allocations: 454.9 kB / 368.8 MB, free: 3.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1205/0.2023, allocations: 7.184 MB / 376 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003926/0.2062, allocations: 4.674 MB / 380.7 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.2086, allocations: 2.049 MB / 382.7 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002739/0.2113, allocations: 3.008 MB / 385.8 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004323/0.2118, allocations: 284.1 kB / 386 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006363/0.2124, allocations: 299.7 kB / 386.3 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009461/0.2134, allocations: 1.349 MB / 387.7 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002224/0.2156, allocations: 2.865 MB / 390.5 MB, free: 4.543 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005146/0.2208, allocations: 9.597 MB / 400.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.2208, allocations: 0 / 400.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2208, allocations: 3 kB / 400.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.029e-05/0.2209, allocations: 0 / 400.1 MB, free: 14.7 MB / 318.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.01059/0.2315, allocations: 6.751 MB / 406.9 MB, free: 8.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2315, allocations: 17.27 kB / 406.9 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003199/0.2347, allocations: 1.063 MB / 408 MB, free: 7.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005933/0.2407, allocations: 4.284 MB / 412.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004238/0.2411, allocations: 455.7 kB / 412.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006884/0.2418, allocations: 0.5077 MB / 413.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.2525, allocations: 8.152 MB / 421.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.068e-05/0.2526, allocations: 15.47 kB / 421.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004516/0.2531, allocations: 212 kB / 421.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/0.2532, allocations: 185.7 kB / 421.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.2638, allocations: 7.508 MB / 429.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02575/0.2896, allocations: 21.69 MB / 451 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009811/0.2994, allocations: 8.267 MB / 459.2 MB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005203/0.3046, allocations: 3.927 MB / 463.1 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.3048, allocations: 64.36 kB / 463.2 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005477/0.3102, allocations: 4.182 MB / 467.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=457): time 5.2e-06/0.3103, allocations: 0 / 467.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=458): time 0.03245/0.3427, allocations: 19.7 MB / 487.1 MB, free: 8.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001807/0.3429, allocations: 470.4 kB / 487.6 MB, free: 7.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004596/0.3475, allocations: 4.307 MB / 491.9 MB, free: 3.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003012/0.3478, allocations: 169.6 kB / 492 MB, free: 3.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.3494, allocations: 2.204 MB / 494.2 MB, free: 1.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009191/0.3503, allocations: 1.399 MB / 495.6 MB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005098/0.3508, allocations: 455.5 kB / 496.1 MB, free: 15.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.843e-05/0.3509, allocations: 305.1 kB / 496.4 MB, free: 14.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004223/0.3551, allocations: 2.87 MB / 499.2 MB, free: 12.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004807/0.36, allocations: 3.923 MB / 0.4914 GB, free: 7.754 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008566/0.3685, allocations: 6.604 MB / 0.4978 GB, free: 0.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.3686, allocations: 8 kB / 0.4978 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01147/0.38, allocations: 8.403 MB / 0.506 GB, free: 8.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004746/0.3805, allocations: 1.007 MB / 0.507 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/0.3805, allocations: 24 kB / 0.507 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003031/0.3836, allocations: 1.735 MB / 0.5087 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/0.3862, allocations: 0.8151 MB / 0.5095 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1549/0.5411, allocations: 22.02 MB / 0.531 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/0.5449, allocations: 478.3 kB / 0.5315 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002868/0.5452, allocations: 179.7 kB / 0.5317 GB, free: 136.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.623e-06/0.5452, allocations: 2.531 kB / 0.5317 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01047/0.5556, allocations: 7.76 MB / 0.5392 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.621e-05/0.5557, allocations: 24.31 kB / 0.5393 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002996/0.5587, allocations: 1.733 MB / 0.541 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/0.5611, allocations: 0.7485 MB / 0.5417 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/0.5781, allocations: 22.03 MB / 0.5632 GB, free: 120 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/0.5808, allocations: 408.9 kB / 0.5636 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/0.581, allocations: 179.3 kB / 0.5638 GB, free: 119.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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[5].zeroOrderHold.sampleTrigger,$whenCondition28,signalPWM[4].zeroOrderHold.sampleTrigger,$whenCondition30,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition32,signalPWM[2].zeroOrderHold.sampleTrigger,$whenCondition34,signalPWM[1].zeroOrderHold.sampleTrigger,$whenCondition36,signalPWM[6].sawtooth.count,$PRE.signalPWM[6].sawtooth.count,signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].sawtooth.T_start,signalPWM[6].zeroOrderHold.ySample,$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,signalPWM[5].zeroOrderHold.ySample,$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,signalPWM[4].zeroOrderHold.ySample,$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,signalPWM[3].zeroOrderHold.ySample,$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,signalPWM[2].zeroOrderHold.ySample,$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,signalPWM[1].zeroOrderHold.ySample,$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.002725/0.5838, allocations: 2.286 MB / 0.566 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/0.5843, allocations: 480.5 kB / 0.5665 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/0.5944, allocations: 8.006 MB / 0.5743 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.5944, allocations: 44 kB / 0.5743 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5944, allocations: 8 kB / 0.5743 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.623e-05/0.5944, allocations: 24.56 kB / 0.5743 GB, free: 113.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.6095, allocations: 14.13 MB / 0.5881 GB, free: 99.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.6096, allocations: 0 / 0.5881 GB, free: 99.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/0.6115, allocations: 0.6008 MB / 0.5887 GB, free: 98.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002466/0.614, allocations: 1.704 MB / 0.5904 GB, free: 96.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002319/0.6143, allocations: 131.8 kB / 0.5905 GB, free: 96.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/0.6301, allocations: 21.89 MB / 0.6119 GB, free: 74.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6301, allocations: 0 / 0.6119 GB, free: 74.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/0.6432, allocations: 11.79 MB / 0.6234 GB, free: 62.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/0.6448, allocations: 1.167 MB / 0.6245 GB, free: 61.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005643/0.6454, allocations: 175.9 kB / 0.6247 GB, free: 61.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/0.6476, allocations: 455.5 kB / 0.6252 GB, free: 60.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/0.6487, allocations: 0.7249 MB / 0.6259 GB, free: 60.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002232/0.6489, allocations: 147.9 kB / 0.626 GB, free: 60 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002879/0.6518, allocations: 2.991 MB / 0.6289 GB, free: 57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6518, allocations: 0 / 0.6289 GB, free: 57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00475/0.6566, allocations: 2.23 MB / 0.6311 GB, free: 54.77 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.0004658/0.657, allocations: 436.4 kB / 0.6315 GB, free: 54.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01445/0.6715, allocations: 13.86 MB / 0.6451 GB, free: 40.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6715, allocations: 0.6562 kB / 0.6451 GB, free: 40.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005527/0.677, allocations: 5.274 MB / 0.6502 GB, free: 34.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003846/0.6809, allocations: 1.11 MB / 0.6513 GB, free: 33.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/0.6949, allocations: 15.43 MB / 0.6664 GB, free: 18.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002569/0.6975, allocations: 4.228 MB / 0.6705 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003495/0.701, allocations: 2.019 MB / 0.6725 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007545/0.7018, allocations: 307.3 kB / 0.6727 GB, free: 11.67 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.7018, allocations: 0 / 0.6727 GB, free: 11.67 MB / 446.1 MB Notification: Performance of Templates: time 0.2437/0.9455, allocations: 98.92 MB / 0.7693 GB, free: 90.9 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches