Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL,fileNamePrefix="Modelica_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009934/0.0009935, allocations: 92.97 kB / 16.95 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 183 kB / 17.84 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.4 MB / 224 MB, free: 13.14 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004631, allocations: 12 kB / 280.9 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1093, allocations: 47.57 MB / 328.5 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL): time 0.007534/0.1169, allocations: 5.652 MB / 334.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004739/0.1217, allocations: 1.852 MB / 336 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.1232, allocations: 35.81 kB / 336 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.1242, allocations: 214.4 kB / 336.2 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002158/0.1264, allocations: 465.4 kB / 336.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.1278, allocations: 295.5 kB / 336.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007351/0.1351, allocations: 6.318 MB / 343.3 MB, free: 5.098 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00618/0.1413, allocations: 3.487 MB / 346.8 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004152/0.1455, allocations: 1.945 MB / 348.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005435/0.151, allocations: 2.86 MB / 351.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001912/0.1529, allocations: 284 kB / 351.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003534/0.1565, allocations: 280 kB / 352.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002892/0.1594, allocations: 1.319 MB / 353.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002952/0.1623, allocations: 1.116 MB / 354.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.173, allocations: 7.933 MB / 362.5 MB, free: 1.785 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.173, allocations: 3.984 kB / 362.5 MB, free: 1.781 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.173, allocations: 0 / 362.5 MB, free: 1.781 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0004248/0.1734, allocations: 0 / 362.5 MB, free: 1.781 MB / 302.1 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.01825/0.1917, allocations: 6.524 MB / 369 MB, free: 11.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.1918, allocations: 12.02 kB / 369 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003411/0.1952, allocations: 0.6776 MB / 369.7 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002467/0.1977, allocations: 0.6641 MB / 370.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009588/0.2073, allocations: 3.921 MB / 374.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000615/0.208, allocations: 422.6 kB / 374.7 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002104/0.2101, allocations: 0.5077 MB / 375.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2633/0.4734, allocations: 7.933 MB / 383.1 MB, free: 36.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000154/0.4735, allocations: 17.31 kB / 383.2 MB, free: 36.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005819/0.4741, allocations: 205.9 kB / 383.4 MB, free: 36.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001826/0.4743, allocations: 185.8 kB / 383.5 MB, free: 36.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01969/0.494, allocations: 7.362 MB / 390.9 MB, free: 36.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04711/0.5412, allocations: 21.17 MB / 412.1 MB, free: 21.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/0.552, allocations: 8.18 MB / 420.2 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006232/0.5583, allocations: 3.879 MB / 424.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004005/0.5587, allocations: 66.34 kB / 424.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007888/0.5666, allocations: 4.128 MB / 428.3 MB, free: 5.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=457): time 1.43e-05/0.5667, allocations: 0 / 428.3 MB, free: 5.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=458): time 0.05065/0.6174, allocations: 19.36 MB / 447.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000326/0.6177, allocations: 464.5 kB / 448.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008032/0.6258, allocations: 3.981 MB / 452.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001303/0.6271, allocations: 169.6 kB / 452.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002792/0.6299, allocations: 2.062 MB / 454.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002663/0.6326, allocations: 1.404 MB / 455.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001081/0.6337, allocations: 92 kB / 455.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0005494/0.6343, allocations: 498.5 kB / 456.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006395/0.6407, allocations: 2.768 MB / 459.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008126/0.6488, allocations: 3.86 MB / 463 MB, free: 2.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007464/0.6563, allocations: 3.23 MB / 466.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.893e-05/0.6564, allocations: 11.47 kB / 466.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.02167/0.6781, allocations: 8.198 MB / 474.4 MB, free: 6.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001194/0.6794, allocations: 1.039 MB / 475.4 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/0.6795, allocations: 29.92 kB / 475.5 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004584/0.6841, allocations: 1.735 MB / 477.2 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004089/0.6882, allocations: 0.8229 MB / 478 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03151/0.7198, allocations: 21.99 MB / 0.4883 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005193/0.725, allocations: 471.6 kB / 0.4887 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/0.7267, allocations: 176 kB / 0.4889 GB, free: 11.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.7268, allocations: 8 kB / 0.4889 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01968/0.7465, allocations: 7.593 MB / 0.4963 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001431/0.7467, allocations: 24 kB / 0.4964 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00434/0.751, allocations: 1.736 MB / 0.498 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003793/0.7549, allocations: 0.7565 MB / 0.4988 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02896/0.7839, allocations: 22.02 MB / 0.5203 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005111/0.789, allocations: 399.7 kB / 0.5207 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001508/0.7906, allocations: 176 kB / 0.5208 GB, free: 9.375 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 118 * 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.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[6].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[6].off,signalPWM[1].notFire,$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,signalPWM[2].notFire,$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,signalPWM[3].notFire,$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,signalPWM[4].notFire,$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,signalPWM[5].notFire,$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,signalPWM[6].notFire,$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 (461): * Single equations (assignments): 448 * 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.007658/0.7982, allocations: 2.208 MB / 0.523 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003114/0.8014, allocations: 458.5 kB / 0.5234 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3188/1.12, allocations: 7.891 MB / 0.5311 GB, free: 137.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.188e-05/1.12, allocations: 45.08 kB / 0.5312 GB, free: 137.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/1.12, allocations: 2.75 kB / 0.5312 GB, free: 137.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001061/1.12, allocations: 26.12 kB / 0.5312 GB, free: 137.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02979/1.15, allocations: 13.9 MB / 0.5448 GB, free: 135.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/1.15, allocations: 6.5 kB / 0.5448 GB, free: 135.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002554/1.153, allocations: 0.611 MB / 0.5454 GB, free: 135.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003301/1.156, allocations: 1.695 MB / 0.547 GB, free: 135.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006551/1.157, allocations: 123.9 kB / 0.5472 GB, free: 135 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02114/1.178, allocations: 21.85 MB / 0.5685 GB, free: 119.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.178, allocations: 3.875 kB / 0.5685 GB, free: 119.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01979/1.198, allocations: 11.63 MB / 0.5799 GB, free: 109.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003191/1.201, allocations: 1.138 MB / 0.581 GB, free: 108.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/1.202, allocations: 167.9 kB / 0.5811 GB, free: 108.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002919/1.205, allocations: 448.9 kB / 0.5816 GB, free: 107.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001396/1.207, allocations: 0.7626 MB / 0.5823 GB, free: 106.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002804/1.207, allocations: 147.9 kB / 0.5824 GB, free: 106.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003759/1.211, allocations: 2.745 MB / 0.5851 GB, free: 104 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/1.211, allocations: 3.719 kB / 0.5851 GB, free: 104 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00839/1.219, allocations: 2.202 MB / 0.5873 GB, free: 101.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 29 (fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,inductor.inductor[2].i,inductor.inductor[3].i,inductor.inductor[4].i,inductor.inductor[5].i,inductor.inductor[6].i) * Number of discrete variables: 132 (signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.sampleTrigger,signalPWM[4].zeroOrderHold.sampleTrigger,signalPWM[5].zeroOrderHold.sampleTrigger,signalPWM[6].zeroOrderHold.sampleTrigger,$whenCondition36,$whenCondition35,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_p[4].y,inverter.andCondition_p[5].y,inverter.andCondition_p[6].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.andCondition_n[4].y,inverter.andCondition_n[5].y,inverter.andCondition_n[6].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[6].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[6].off,signalPWM[1].notFire,signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.ySample,signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.count,signalPWM[2].notFire,signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.ySample,signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.count,signalPWM[3].notFire,signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.ySample,signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.count,signalPWM[4].notFire,signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.ySample,signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.count,signalPWM[5].notFire,signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.ySample,signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.count,signalPWM[6].notFire,signalPWM[6].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.ySample,signalPWM[6].sawtooth.T_start,signalPWM[6].sawtooth.count,fundamentalWaveCurrent[1].mean1.y,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 (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.01778/1.237, allocations: 12.52 MB / 0.5995 GB, free: 89.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0204/1.257, allocations: 13.66 MB / 0.6128 GB, free: 75.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.258, allocations: 0.6562 kB / 0.6128 GB, free: 75.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00782/1.265, allocations: 5.281 MB / 0.618 GB, free: 70.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006366/1.272, allocations: 1.082 MB / 0.6191 GB, free: 69.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09969/1.372, allocations: 45.57 MB / 0.6636 GB, free: 21.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005572/1.377, allocations: 4.084 MB / 0.6675 GB, free: 17.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.006505/1.384, allocations: 1.967 MB / 0.6695 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004079/1.388, allocations: 2.104 MB / 0.6715 GB, free: 13.13 MB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/1.388, allocations: 0 / 0.6715 GB, free: 13.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3965/1.784, allocations: 140.6 MB / 0.8088 GB, free: 53.39 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/1.785, allocations: 271.2 kB / 0.8091 GB, free: 53.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.936/8.721, allocations: 3.953 kB / 0.8091 GB, free: 53.02 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCAC_MultiPhaseTwoLevel_MultiPhaseTwoLevel_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCAC_MultiPhaseTwoLevel_MultiPhaseTwoLevel_RL.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL_res.mat does not exist to compare? outputFormat=mat