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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_DCAC_MultiPhaseTwoLevel_MultiPhaseTwoLevel_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_DCAC_MultiPhaseTwoLevel_MultiPhaseTwoLevel_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001536, allocations: 181.9 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.018/2.018, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001072/0.001072, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.782e-05, allocations: 7.984 kB / 321.6 MB, free: 17.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09513/0.09521, allocations: 47.57 MB / 369.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.429/0.5242, allocations: 90.88 MB / 460.1 MB, free: 2.402 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/0.5246, allocations: 85.75 kB / 460.2 MB, free: 2.355 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3772/0.9018, allocations: 81.85 MB / 0.5293 GB, free: 1.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.9019, allocations: 0 / 0.5293 GB, free: 1.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007995/0.9027, allocations: 139.9 kB / 0.5294 GB, free: 1.613 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.3189/1.222, allocations: 6.346 MB / 0.5356 GB, free: 82.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/1.222, allocations: 11.33 kB / 0.5356 GB, free: 82.03 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003365/1.225, allocations: 0.6657 MB / 0.5363 GB, free: 81.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00415/1.229, allocations: 0.6608 MB / 0.5369 GB, free: 81.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01498/1.244, allocations: 3.657 MB / 0.5405 GB, free: 81.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006293/1.245, allocations: 384.5 kB / 0.5409 GB, free: 81.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002543/1.248, allocations: 0.5016 MB / 0.5414 GB, free: 81.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02806/1.276, allocations: 7.348 MB / 0.5485 GB, free: 80.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003471/1.276, allocations: 21.59 kB / 0.5486 GB, free: 80.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00214/1.278, allocations: 205.5 kB / 0.5488 GB, free: 80.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003155/1.279, allocations: 186.3 kB / 0.5489 GB, free: 80.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02727/1.306, allocations: 6.439 MB / 0.5552 GB, free: 80.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06294/1.369, allocations: 21.5 MB / 0.5762 GB, free: 73.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01553/1.384, allocations: 7.656 MB / 0.5837 GB, free: 70.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008643/1.393, allocations: 3.64 MB / 0.5873 GB, free: 69.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004346/1.394, allocations: 71.83 kB / 0.5873 GB, free: 69.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008904/1.402, allocations: 3.876 MB / 0.5911 GB, free: 67.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=457): time 8.856e-06/1.403, allocations: 0 / 0.5911 GB, free: 67.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=458): time 0.03818/1.441, allocations: 12.97 MB / 0.6038 GB, free: 62.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002462/1.441, allocations: 464 kB / 0.6042 GB, free: 62.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007664/1.449, allocations: 3.521 MB / 0.6077 GB, free: 59.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00123/1.45, allocations: 163.5 kB / 0.6078 GB, free: 59.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002153/1.452, allocations: 1.818 MB / 0.6096 GB, free: 58.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002266/1.454, allocations: 1.406 MB / 0.611 GB, free: 56.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004519/1.455, allocations: 84 kB / 0.611 GB, free: 56.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003074/1.455, allocations: 0.4894 MB / 0.6115 GB, free: 56.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006122/1.461, allocations: 2.519 MB / 0.614 GB, free: 54.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007622/1.469, allocations: 3.589 MB / 0.6175 GB, free: 50.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00734/1.476, allocations: 2.964 MB / 0.6204 GB, free: 48.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.406e-05/1.476, allocations: 8 kB / 0.6204 GB, free: 48.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.01827/1.495, allocations: 7.376 MB / 0.6276 GB, free: 41.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002128/1.497, allocations: 10.38 MB / 0.6377 GB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.259e-05/1.497, allocations: 24 kB / 0.6378 GB, free: 30.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006116/1.503, allocations: 1.712 MB / 0.6394 GB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006479/1.51, allocations: 0.8316 MB / 0.6402 GB, free: 28.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03421/1.544, allocations: 21.94 MB / 0.6617 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00711/1.551, allocations: 481.9 kB / 0.6621 GB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/1.552, allocations: 177.5 kB / 0.6623 GB, free: 7.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.552, allocations: 4 kB / 0.6623 GB, free: 7.621 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01789/1.57, allocations: 7.305 MB / 0.6694 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/1.57, allocations: 32 kB / 0.6695 GB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006319/1.577, allocations: 1.752 MB / 0.6712 GB, free: 0 / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007108/1.584, allocations: 0.7975 MB / 0.672 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3385/1.922, allocations: 22.25 MB / 0.6937 GB, free: 83.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005559/1.928, allocations: 403.3 kB / 0.6941 GB, free: 83.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/1.929, allocations: 178.1 kB / 0.6942 GB, free: 83.18 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.002172/1.932, allocations: 0.5187 MB / 0.6947 GB, free: 83.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002059/1.934, allocations: 458.1 kB / 0.6952 GB, free: 83.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02688/1.961, allocations: 7.179 MB / 0.7022 GB, free: 82.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.087e-05/1.961, allocations: 46.16 kB / 0.7022 GB, free: 82.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/1.961, allocations: 3.031 kB / 0.7022 GB, free: 82.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001249/1.961, allocations: 24.98 kB / 0.7023 GB, free: 82.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04091/2.002, allocations: 13.5 MB / 0.7154 GB, free: 82.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.782e-05/2.002, allocations: 3.609 kB / 0.7155 GB, free: 82.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00586/2.008, allocations: 0.6179 MB / 0.7161 GB, free: 82.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005974/2.014, allocations: 1.687 MB / 0.7177 GB, free: 82.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00132/2.015, allocations: 119.9 kB / 0.7178 GB, free: 82.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03478/2.05, allocations: 21.82 MB / 0.7391 GB, free: 70.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/2.05, allocations: 9.797 kB / 0.7391 GB, free: 70.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02723/2.077, allocations: 11.1 MB / 0.75 GB, free: 66.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004606/2.082, allocations: 1.186 MB / 0.7511 GB, free: 65.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002221/2.084, allocations: 166.4 kB / 0.7513 GB, free: 65.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006856/2.091, allocations: 457.9 kB / 0.7517 GB, free: 65.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003475/2.095, allocations: 0.8246 MB / 0.7525 GB, free: 65.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001065/2.096, allocations: 141.1 kB / 0.7527 GB, free: 65.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006669/2.102, allocations: 2.715 MB / 0.7553 GB, free: 64.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.52e-07/2.102, allocations: 0 / 0.7553 GB, free: 64.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01442/2.117, allocations: 2.205 MB / 0.7575 GB, free: 64.14 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.03139/2.148, allocations: 12.28 MB / 0.7695 GB, free: 59.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03245/2.181, allocations: 13 MB / 0.7822 GB, free: 47.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.739e-05/2.181, allocations: 6.781 kB / 0.7822 GB, free: 47.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01315/2.194, allocations: 5.228 MB / 0.7873 GB, free: 43.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00852/2.203, allocations: 0.9919 MB / 0.7882 GB, free: 42.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04237/2.245, allocations: 12.34 MB / 0.8003 GB, free: 32.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007665/2.253, allocations: 4.123 MB / 0.8043 GB, free: 29.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005988/2.259, allocations: 2.156 MB / 0.8064 GB, free: 27.14 MB / 426.7 MB Notification: Performance of SimCode: time 2.234e-06/2.259, allocations: 0 / 0.8064 GB, free: 27.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.275/8.534, allocations: 293.1 MB / 1.093 GB, free: 94.98 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_DCAC_MultiPhaseTwoLevel_MultiPhaseTwoLevel_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_DCAC_MultiPhaseTwoLevel_MultiPhaseTwoLevel_RL.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL_res.mat does not exist to compare? outputFormat=mat