Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 195.1 kB / 18.07 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 226.5 MB / 245.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009385/0.0009386, allocations: 97.06 kB / 297.4 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002269/0.0002269, allocations: 11.98 kB / 357.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1884, allocations: 51.28 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1019/0.2903, allocations: 93.68 MB / 0.4906 GB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.2906, allocations: 95.92 kB / 0.4907 GB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3251/0.6157, allocations: 84.14 MB / 0.5728 GB, free: 38.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.6157, allocations: 0 / 0.5728 GB, free: 38.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003276/0.6161, allocations: 139.9 kB / 0.573 GB, free: 38.16 MB / 378.7 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.01263/0.6287, allocations: 7.12 MB / 0.5799 GB, free: 30.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.6288, allocations: 12.03 kB / 0.5799 GB, free: 30.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003764/0.6325, allocations: 1.043 MB / 0.581 GB, free: 29.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00602/0.6386, allocations: 3.902 MB / 0.5848 GB, free: 25.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.6388, allocations: 386.2 kB / 0.5851 GB, free: 25.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008573/0.6396, allocations: 0.5081 MB / 0.5856 GB, free: 24.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01105/0.6507, allocations: 7.925 MB / 0.5934 GB, free: 16.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/0.6508, allocations: 16.03 kB / 0.5934 GB, free: 16.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004984/0.6513, allocations: 219.9 kB / 0.5936 GB, free: 16.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.6514, allocations: 185.7 kB / 0.5938 GB, free: 16.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01097/0.6624, allocations: 7.337 MB / 0.6009 GB, free: 9.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03565/0.6981, allocations: 21.89 MB / 0.6223 GB, free: 2.895 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0121/0.7102, allocations: 8.395 MB / 0.6305 GB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006636/0.7169, allocations: 4.035 MB / 0.6345 GB, free: 6.289 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/0.7172, allocations: 67.2 kB / 0.6345 GB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007462/0.7247, allocations: 4.299 MB / 0.6387 GB, free: 1.883 MB / 410.7 MB Notification: Performance of pre-optimization done (n=457): time 8.566e-06/0.7247, allocations: 0 / 0.6387 GB, free: 1.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=458): time 0.04084/0.7656, allocations: 19.92 MB / 0.6582 GB, free: 13.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002226/0.7658, allocations: 459.4 kB / 0.6586 GB, free: 13.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006296/0.7721, allocations: 4.168 MB / 0.6627 GB, free: 9.016 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005898/0.7727, allocations: 169.6 kB / 0.6629 GB, free: 8.844 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00194/0.7747, allocations: 2.135 MB / 0.6649 GB, free: 6.691 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001371/0.776, allocations: 1.399 MB / 0.6663 GB, free: 5.273 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004077/0.7765, allocations: 92 kB / 0.6664 GB, free: 5.184 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003486/0.7768, allocations: 0.4919 MB / 0.6669 GB, free: 4.684 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00511/0.7819, allocations: 2.96 MB / 0.6698 GB, free: 1.715 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.17/0.952, allocations: 4.043 MB / 0.6737 GB, free: 103.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008817/0.9608, allocations: 6.788 MB / 0.6803 GB, free: 102.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.058e-05/0.9609, allocations: 11 kB / 0.6803 GB, free: 102.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.01223/0.9731, allocations: 8.56 MB / 0.6887 GB, free: 101.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003777/0.9735, allocations: 1.035 MB / 0.6897 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/0.9736, allocations: 29.44 kB / 0.6897 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003146/0.9767, allocations: 1.724 MB / 0.6914 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/0.9797, allocations: 0.8277 MB / 0.6922 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01886/0.9986, allocations: 22.01 MB / 0.7137 GB, free: 88.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003693/1.002, allocations: 472.9 kB / 0.7142 GB, free: 88.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003555/1.003, allocations: 183.8 kB / 0.7144 GB, free: 88.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/1.003, allocations: 6.344 kB / 0.7144 GB, free: 88.79 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01031/1.013, allocations: 7.942 MB / 0.7221 GB, free: 85.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.931e-05/1.013, allocations: 25.81 kB / 0.7221 GB, free: 85.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002951/1.016, allocations: 1.726 MB / 0.7238 GB, free: 85.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/1.019, allocations: 0.7599 MB / 0.7246 GB, free: 85.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/1.037, allocations: 22.01 MB / 0.7461 GB, free: 70.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003572/1.041, allocations: 414 kB / 0.7465 GB, free: 70.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006309/1.041, allocations: 183.1 kB / 0.7466 GB, free: 69.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 180 ($PRE.signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.firstTrigger,$PRE.signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.firstTrigger,$PRE.signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.firstTrigger,$PRE.signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.firstTrigger,$PRE.signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.firstTrigger,$PRE.signalPWM[6].zeroOrderHold.firstTrigger,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,$PRE.fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[6].mean1.y_last,$PRE.fundamentalWaveVoltage[6].mean2.y_last,fundamentalWaveVoltage[6].mean2.y_last,$PRE.fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[5].mean1.y_last,$PRE.fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[5].mean2.y_last,$PRE.fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[4].mean1.y_last,$PRE.fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[4].mean2.y_last,$PRE.fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[3].mean1.y_last,$PRE.fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[3].mean2.y_last,$PRE.fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[2].mean1.y_last,$PRE.fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[2].mean2.y_last,$PRE.fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveVoltage[1].mean1.y_last,$PRE.fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[1].mean2.y_last,$PRE.fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[6].mean1.y_last,$PRE.fundamentalWaveCurrent[6].mean2.y_last,fundamentalWaveCurrent[6].mean2.y_last,$PRE.fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[5].mean1.y_last,$PRE.fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[5].mean2.y_last,$PRE.fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[4].mean1.y_last,$PRE.fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[4].mean2.y_last,$PRE.fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[3].mean1.y_last,$PRE.fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[3].mean2.y_last,$PRE.fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[2].mean1.y_last,$PRE.fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[2].mean2.y_last,$PRE.fundamentalWaveCurrent[1].mean1.y_last,fundamentalWaveCurrent[1].mean1.y_last,$PRE.fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[1].mean2.y_last,$whenCondition26,signalPWM[6].zeroOrderHold.sampleTrigger,signalPWM[6].zeroOrderHold.ySample,$whenCondition28,signalPWM[5].zeroOrderHold.sampleTrigger,signalPWM[5].zeroOrderHold.ySample,$whenCondition30,signalPWM[4].zeroOrderHold.sampleTrigger,signalPWM[4].zeroOrderHold.ySample,$whenCondition32,signalPWM[3].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.ySample,$whenCondition34,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.ySample,$whenCondition36,signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[1].zeroOrderHold.ySample,$whenCondition35,$whenCondition33,$whenCondition31,$whenCondition29,$whenCondition27,$whenCondition25,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.fire_n[1],inverter.fire_n[2],inverter.fire_n[3],inverter.fire_n[4],inverter.fire_n[5],inverter.fire_n[6],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,$PRE.signalPWM[1].zeroOrderHold.ySample,$PRE.signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].sawtooth.count,signalPWM[1].sawtooth.count,$PRE.signalPWM[2].zeroOrderHold.ySample,$PRE.signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].sawtooth.count,signalPWM[2].sawtooth.count,$PRE.signalPWM[3].zeroOrderHold.ySample,$PRE.signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].sawtooth.count,signalPWM[3].sawtooth.count,$PRE.signalPWM[4].zeroOrderHold.ySample,$PRE.signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.T_start,$PRE.signalPWM[4].sawtooth.count,signalPWM[4].sawtooth.count,$PRE.signalPWM[5].zeroOrderHold.ySample,$PRE.signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.T_start,$PRE.signalPWM[5].sawtooth.count,signalPWM[5].sawtooth.count,$PRE.signalPWM[6].zeroOrderHold.ySample,$PRE.signalPWM[6].sawtooth.T_start,signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].sawtooth.count,signalPWM[6].sawtooth.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (460): * Single equations (assignments): 447 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 18} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of prepare postOptimizeDAE: time 0.00369/1.045, allocations: 2.248 MB / 0.7488 GB, free: 68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/1.046, allocations: 482.8 kB / 0.7493 GB, free: 67.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/1.058, allocations: 7.976 MB / 0.7571 GB, free: 61.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/1.058, allocations: 44 kB / 0.7571 GB, free: 61.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.058, allocations: 15.5 kB / 0.7571 GB, free: 61.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-05/1.058, allocations: 21.94 kB / 0.7572 GB, free: 61.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01893/1.077, allocations: 14.41 MB / 0.7712 GB, free: 49.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/1.077, allocations: 11.3 kB / 0.7712 GB, free: 49.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00224/1.079, allocations: 0.6054 MB / 0.7718 GB, free: 49.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002818/1.082, allocations: 1.712 MB / 0.7735 GB, free: 47.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002956/1.083, allocations: 125.6 kB / 0.7736 GB, free: 47.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01783/1.1, allocations: 21.88 MB / 0.795 GB, free: 27.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.1, allocations: 3.938 kB / 0.795 GB, free: 27.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/1.117, allocations: 12.19 MB / 0.8069 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002261/1.119, allocations: 1.19 MB / 0.8081 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006594/1.12, allocations: 167.8 kB / 0.8082 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002374/1.122, allocations: 455.5 kB / 0.8087 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001402/1.123, allocations: 0.8291 MB / 0.8095 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000276/1.124, allocations: 139.9 kB / 0.8096 GB, free: 12.06 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003243/1.127, allocations: 2.883 MB / 0.8124 GB, free: 9.164 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/1.127, allocations: 0 / 0.8124 GB, free: 9.164 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005546/1.132, allocations: 2.264 MB / 0.8146 GB, free: 6.906 MB / 442.7 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.fire_n[1],inverter.fire_n[2],inverter.fire_n[3],inverter.fire_n[4],inverter.fire_n[5],inverter.fire_n[6],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].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.ySample,signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.count,signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.ySample,signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.count,signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.ySample,signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.count,signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.ySample,signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.count,signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.ySample,signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 18} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006853/1.133, allocations: 439.5 kB / 0.815 GB, free: 6.492 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01831/1.151, allocations: 14.2 MB / 0.8289 GB, free: 7.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/1.152, allocations: 6.656 kB / 0.8289 GB, free: 7.977 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008029/1.16, allocations: 5.678 MB / 0.8345 GB, free: 2.227 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005029/1.165, allocations: 1.096 MB / 0.8355 GB, free: 1.188 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1845/1.349, allocations: 14.77 MB / 0.85 GB, free: 101.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003312/1.352, allocations: 4.125 MB / 0.854 GB, free: 100.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/1.354, allocations: 319 kB / 0.8543 GB, free: 100.9 MB / 458.7 MB Notification: Performance of SimCode: time 8.32e-07/1.354, allocations: 0 / 0.8543 GB, free: 100.9 MB / 458.7 MB Notification: Performance of Templates: time 0.406/1.76, allocations: 284.2 MB / 1.132 GB, free: 51.54 MB / 490.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/PolyphaseTwoLevel/PolyphaseTwoLevel_RL/PolyphaseTwoLevel_RL.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches