Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_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",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_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",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002229/0.002229, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.588e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09019/0.09024, allocations: 47.57 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4094/0.4997, allocations: 90.88 MB / 460 MB, free: 2.379 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/0.5001, allocations: 91.56 kB / 460.1 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3952/0.8953, allocations: 81.85 MB / 0.5292 GB, free: 1.824 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.8954, allocations: 4 kB / 0.5292 GB, free: 1.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00077/0.8961, allocations: 139.9 kB / 0.5294 GB, free: 1.684 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.3038/1.2, allocations: 6.345 MB / 0.5356 GB, free: 82.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/1.2, allocations: 9.219 kB / 0.5356 GB, free: 82.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/1.204, allocations: 0.6601 MB / 0.5362 GB, free: 81.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/1.217, allocations: 3.656 MB / 0.5398 GB, free: 81.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006437/1.218, allocations: 379.5 kB / 0.5401 GB, free: 81.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002412/1.22, allocations: 0.5031 MB / 0.5406 GB, free: 81.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02531/1.246, allocations: 7.35 MB / 0.5478 GB, free: 80.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002946/1.246, allocations: 14.66 kB / 0.5478 GB, free: 80.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001564/1.248, allocations: 209.1 kB / 0.548 GB, free: 80.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002754/1.248, allocations: 185.8 kB / 0.5482 GB, free: 80.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/1.267, allocations: 6.446 MB / 0.5545 GB, free: 80.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06224/1.329, allocations: 21.49 MB / 0.5755 GB, free: 74.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01559/1.345, allocations: 7.654 MB / 0.583 GB, free: 70.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008722/1.354, allocations: 3.641 MB / 0.5865 GB, free: 69.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005885/1.354, allocations: 68.16 kB / 0.5866 GB, free: 69.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009802/1.364, allocations: 3.889 MB / 0.5904 GB, free: 68.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=457): time 1.019e-05/1.364, allocations: 0 / 0.5904 GB, free: 68.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=458): time 0.03792/1.402, allocations: 12.97 MB / 0.603 GB, free: 63.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002473/1.403, allocations: 464.3 kB / 0.6035 GB, free: 62.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008154/1.411, allocations: 3.527 MB / 0.6069 GB, free: 60.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001208/1.412, allocations: 165.9 kB / 0.6071 GB, free: 60.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00225/1.414, allocations: 1.817 MB / 0.6089 GB, free: 58.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002178/1.417, allocations: 1.397 MB / 0.6102 GB, free: 57.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005345/1.417, allocations: 92 kB / 0.6103 GB, free: 57.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003592/1.417, allocations: 496.1 kB / 0.6108 GB, free: 56.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00708/1.425, allocations: 2.521 MB / 0.6132 GB, free: 54.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007848/1.432, allocations: 3.587 MB / 0.6167 GB, free: 51.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007439/1.44, allocations: 2.955 MB / 0.6196 GB, free: 48.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.306e-05/1.44, allocations: 8 kB / 0.6196 GB, free: 48.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.01927/1.459, allocations: 7.383 MB / 0.6269 GB, free: 42.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002148/1.462, allocations: 10.37 MB / 0.637 GB, free: 31.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.012e-05/1.462, allocations: 28 kB / 0.637 GB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006094/1.468, allocations: 1.716 MB / 0.6387 GB, free: 29.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006588/1.474, allocations: 0.8288 MB / 0.6395 GB, free: 29.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03416/1.509, allocations: 21.95 MB / 0.6609 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007092/1.516, allocations: 476 kB / 0.6614 GB, free: 8.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/1.517, allocations: 186.8 kB / 0.6616 GB, free: 8.219 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.517, allocations: 4 kB / 0.6616 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.018/1.535, allocations: 7.308 MB / 0.6687 GB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/1.535, allocations: 24 kB / 0.6687 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005474/1.541, allocations: 1.715 MB / 0.6704 GB, free: 496 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006327/1.547, allocations: 0.7584 MB / 0.6711 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3319/1.879, allocations: 22.24 MB / 0.6929 GB, free: 83.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005789/1.885, allocations: 408.4 kB / 0.6932 GB, free: 83.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001426/1.886, allocations: 174.4 kB / 0.6934 GB, free: 83.6 MB / 426.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,fundamentalWaveVoltage[6].mean1.y,$PRE.fundamentalWaveVoltage[6].mean2.y,fundamentalWaveVoltage[6].mean2.y,$PRE.fundamentalWaveVoltage[5].mean1.y,fundamentalWaveVoltage[5].mean1.y,$PRE.fundamentalWaveVoltage[5].mean2.y,fundamentalWaveVoltage[5].mean2.y,$PRE.fundamentalWaveVoltage[4].mean1.y,fundamentalWaveVoltage[4].mean1.y,$PRE.fundamentalWaveVoltage[4].mean2.y,fundamentalWaveVoltage[4].mean2.y,$PRE.fundamentalWaveVoltage[3].mean1.y,fundamentalWaveVoltage[3].mean1.y,$PRE.fundamentalWaveVoltage[3].mean2.y,fundamentalWaveVoltage[3].mean2.y,$PRE.fundamentalWaveVoltage[2].mean1.y,fundamentalWaveVoltage[2].mean1.y,$PRE.fundamentalWaveVoltage[2].mean2.y,fundamentalWaveVoltage[2].mean2.y,$PRE.fundamentalWaveVoltage[1].mean1.y,fundamentalWaveVoltage[1].mean1.y,$PRE.fundamentalWaveVoltage[1].mean2.y,fundamentalWaveVoltage[1].mean2.y,$PRE.fundamentalWaveCurrent[6].mean1.y,fundamentalWaveCurrent[6].mean1.y,$PRE.fundamentalWaveCurrent[6].mean2.y,fundamentalWaveCurrent[6].mean2.y,$PRE.fundamentalWaveCurrent[5].mean1.y,fundamentalWaveCurrent[5].mean1.y,$PRE.fundamentalWaveCurrent[5].mean2.y,fundamentalWaveCurrent[5].mean2.y,$PRE.fundamentalWaveCurrent[4].mean1.y,fundamentalWaveCurrent[4].mean1.y,$PRE.fundamentalWaveCurrent[4].mean2.y,fundamentalWaveCurrent[4].mean2.y,$PRE.fundamentalWaveCurrent[3].mean1.y,fundamentalWaveCurrent[3].mean1.y,$PRE.fundamentalWaveCurrent[3].mean2.y,fundamentalWaveCurrent[3].mean2.y,$PRE.fundamentalWaveCurrent[2].mean1.y,fundamentalWaveCurrent[2].mean1.y,$PRE.fundamentalWaveCurrent[2].mean2.y,fundamentalWaveCurrent[2].mean2.y,$PRE.fundamentalWaveCurrent[1].mean1.y,fundamentalWaveCurrent[1].mean1.y,$PRE.fundamentalWaveCurrent[1].mean2.y,fundamentalWaveCurrent[1].mean2.y,$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 () * 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.003158/1.889, allocations: 0.5184 MB / 0.6939 GB, free: 83.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002526/1.892, allocations: 456.8 kB / 0.6944 GB, free: 83.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02633/1.918, allocations: 7.178 MB / 0.7014 GB, free: 83.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.82e-05/1.919, allocations: 47.94 kB / 0.7014 GB, free: 83.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.937e-05/1.919, allocations: 2.438 kB / 0.7014 GB, free: 83.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001277/1.919, allocations: 21.94 kB / 0.7014 GB, free: 83.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04348/1.962, allocations: 13.51 MB / 0.7146 GB, free: 82.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.203e-05/1.962, allocations: 3.688 kB / 0.7146 GB, free: 82.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005896/1.968, allocations: 0.6168 MB / 0.7152 GB, free: 82.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006128/1.974, allocations: 1.679 MB / 0.7169 GB, free: 82.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001376/1.976, allocations: 128 kB / 0.717 GB, free: 82.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03612/2.012, allocations: 21.81 MB / 0.7383 GB, free: 70.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/2.012, allocations: 9.844 kB / 0.7383 GB, free: 70.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02936/2.041, allocations: 11.11 MB / 0.7492 GB, free: 66.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005045/2.047, allocations: 1.17 MB / 0.7503 GB, free: 66.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002652/2.049, allocations: 161.7 kB / 0.7505 GB, free: 66.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00725/2.057, allocations: 468.5 kB / 0.7509 GB, free: 65.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003625/2.06, allocations: 0.8246 MB / 0.7517 GB, free: 65.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001262/2.062, allocations: 143.4 kB / 0.7518 GB, free: 65.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006847/2.068, allocations: 2.71 MB / 0.7545 GB, free: 64.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.002e-06/2.069, allocations: 3 kB / 0.7545 GB, free: 64.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01416/2.083, allocations: 2.202 MB / 0.7566 GB, free: 64.68 MB / 426.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,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) * 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) * 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.001921/2.085, allocations: 428.9 kB / 0.7571 GB, free: 64.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03178/2.116, allocations: 13 MB / 0.7697 GB, free: 58.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.817e-05/2.117, allocations: 6.75 kB / 0.7698 GB, free: 58.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01322/2.13, allocations: 5.242 MB / 0.7749 GB, free: 54.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008543/2.138, allocations: 0.9902 MB / 0.7758 GB, free: 53.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03463/2.173, allocations: 10.69 MB / 0.7863 GB, free: 44.51 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00752/2.181, allocations: 4.121 MB / 0.7903 GB, free: 41.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002678/2.183, allocations: 309.5 kB / 0.7906 GB, free: 41.18 MB / 426.7 MB Notification: Performance of SimCode: time 1.984e-06/2.183, allocations: 0 / 0.7906 GB, free: 41.18 MB / 426.7 MB Notification: Performance of Templates: time 1.051/3.235, allocations: 263.6 MB / 1.048 GB, free: 120.5 MB / 474.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCAC/MultiPhaseTwoLevel/MultiPhaseTwoLevel_RL/MultiPhaseTwoLevel_RL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches