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.002452/0.002452, allocations: 184.6 kB / 16.41 MB, free: 5.727 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.002/2.002, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001208/0.001207, allocations: 92.47 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 15.98 kB / 327.1 MB, free: 76 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.343, allocations: 47.56 MB / 374.6 MB, free: 45.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.4941, allocations: 90.97 MB / 465.6 MB, free: 5.648 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003533/0.4945, allocations: 95.95 kB / 465.7 MB, free: 5.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6012/1.096, allocations: 81.71 MB / 0.5346 GB, free: 80.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.096, allocations: 0 / 0.5346 GB, free: 80.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006541/1.096, allocations: 139.9 kB / 0.5347 GB, free: 80.4 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: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.02535/1.122, allocations: 6.968 MB / 0.5415 GB, free: 73.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/1.122, allocations: 8.031 kB / 0.5415 GB, free: 73.21 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003024/1.125, allocations: 0.6815 MB / 0.5422 GB, free: 72.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/1.128, allocations: 0.6603 MB / 0.5428 GB, free: 71.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/1.14, allocations: 3.671 MB / 0.5464 GB, free: 68.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004809/1.14, allocations: 381.6 kB / 0.5468 GB, free: 67.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002265/1.142, allocations: 0.5038 MB / 0.5473 GB, free: 67.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02605/1.168, allocations: 7.793 MB / 0.5549 GB, free: 59.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000358/1.169, allocations: 15.83 kB / 0.5549 GB, free: 59.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002015/1.171, allocations: 212 kB / 0.5551 GB, free: 59.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/1.171, allocations: 181.5 kB / 0.5553 GB, free: 58.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02493/1.196, allocations: 7.278 MB / 0.5624 GB, free: 51.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06477/1.261, allocations: 21.5 MB / 0.5834 GB, free: 29.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02143/1.282, allocations: 8.4 MB / 0.5916 GB, free: 21.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006188/1.283, allocations: 67.25 kB / 0.5917 GB, free: 21.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01304/1.296, allocations: 4.278 MB / 0.5958 GB, free: 16.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=457): time 1.081e-05/1.296, allocations: 0 / 0.5958 GB, free: 16.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=458): time 0.07734/1.373, allocations: 19.77 MB / 0.6151 GB, free: 12.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004241/1.374, allocations: 463.4 kB / 0.6156 GB, free: 12.33 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/1.385, allocations: 3.559 MB / 0.6191 GB, free: 8.793 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001364/1.386, allocations: 169.6 kB / 0.6192 GB, free: 8.621 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003094/1.389, allocations: 1.813 MB / 0.621 GB, free: 6.793 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002965/1.392, allocations: 1.391 MB / 0.6224 GB, free: 5.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007869/1.393, allocations: 95.94 kB / 0.6224 GB, free: 5.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005808/1.394, allocations: 496.7 kB / 0.6229 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01091/1.404, allocations: 2.928 MB / 0.6258 GB, free: 1.855 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01266/1.417, allocations: 4.004 MB / 0.6297 GB, free: 13.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/1.429, allocations: 3.352 MB / 0.633 GB, free: 10.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.765e-05/1.429, allocations: 8 kB / 0.633 GB, free: 10.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.02945/1.459, allocations: 8.174 MB / 0.641 GB, free: 1.758 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.3123/1.771, allocations: 10.37 MB / 0.6511 GB, free: 93.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/1.771, allocations: 30.88 kB / 0.6511 GB, free: 93.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006571/1.778, allocations: 1.683 MB / 0.6528 GB, free: 93.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006897/1.785, allocations: 0.8309 MB / 0.6536 GB, free: 93.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04153/1.826, allocations: 22.18 MB / 0.6752 GB, free: 83.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007184/1.834, allocations: 478.5 kB / 0.6757 GB, free: 83.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001346/1.835, allocations: 176.2 kB / 0.6758 GB, free: 83.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.835, allocations: 3.531 kB / 0.6758 GB, free: 83.89 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02429/1.859, allocations: 7.834 MB / 0.6835 GB, free: 81.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001502/1.859, allocations: 27.98 kB / 0.6835 GB, free: 81.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005645/1.865, allocations: 1.678 MB / 0.6852 GB, free: 80.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006441/1.872, allocations: 0.7776 MB / 0.6859 GB, free: 80.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03687/1.909, allocations: 22.47 MB / 0.7079 GB, free: 65.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005526/1.914, allocations: 408.7 kB / 0.7083 GB, free: 65.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/1.915, allocations: 178.9 kB / 0.7084 GB, free: 65.67 MB / 410.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (466): * Single equations (assignments): 453 * 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%) 12} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of prepare postOptimizeDAE: time 0.006534/1.922, allocations: 2.2 MB / 0.7106 GB, free: 64.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001789/1.924, allocations: 464.3 kB / 0.711 GB, free: 64.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02626/1.95, allocations: 7.941 MB / 0.7188 GB, free: 58.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.933e-05/1.95, allocations: 47.33 kB / 0.7188 GB, free: 58.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/1.95, allocations: 7.938 kB / 0.7188 GB, free: 58.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001154/1.95, allocations: 18.7 kB / 0.7188 GB, free: 58.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04341/1.994, allocations: 14.25 MB / 0.7328 GB, free: 47.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.17e-05/1.994, allocations: 0 / 0.7328 GB, free: 47.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005814/2, allocations: 0.6274 MB / 0.7334 GB, free: 47.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006004/2.006, allocations: 1.663 MB / 0.735 GB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001167/2.007, allocations: 125.6 kB / 0.7351 GB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03522/2.042, allocations: 22.04 MB / 0.7566 GB, free: 23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/2.042, allocations: 3.938 kB / 0.7566 GB, free: 23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03454/2.077, allocations: 12.3 MB / 0.7687 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005171/2.082, allocations: 1.175 MB / 0.7698 GB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003314/2.085, allocations: 171.5 kB / 0.77 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009041/2.095, allocations: 451.5 kB / 0.7704 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004463/2.099, allocations: 0.8224 MB / 0.7712 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001091/2.1, allocations: 143.9 kB / 0.7713 GB, free: 7.844 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00902/2.109, allocations: 2.749 MB / 0.774 GB, free: 5.113 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.793e-06/2.109, allocations: 0 / 0.774 GB, free: 5.113 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01864/2.128, allocations: 2.206 MB / 0.7762 GB, free: 2.91 MB / 410.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (350): * Single equations (assignments): 295 * 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%) 12} * 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.06067/2.189, allocations: 13.47 MB / 0.7893 GB, free: 5.367 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04372/2.232, allocations: 14.09 MB / 0.8031 GB, free: 6.957 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.352e-05/2.233, allocations: 6.656 kB / 0.8031 GB, free: 6.945 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01807/2.251, allocations: 5.649 MB / 0.8086 GB, free: 1.219 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01023/2.261, allocations: 0.9996 MB / 0.8096 GB, free: 280 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3884/2.649, allocations: 36.2 MB / 0.8449 GB, free: 97.65 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007116/2.657, allocations: 4.121 MB / 0.849 GB, free: 96.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005745/2.662, allocations: 2.157 MB / 0.8511 GB, free: 96.75 MB / 442.7 MB Notification: Performance of SimCode: time 1.222e-06/2.662, allocations: 0 / 0.8511 GB, free: 96.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.872/8.534, allocations: 290.9 MB / 1.135 GB, free: 117.6 MB / 458.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