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.002467/0.002467, allocations: 188.3 kB / 16.4 MB, free: 5.625 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.316/2.316, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001142/0.001142, allocations: 94.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 15.98 kB / 327.1 MB, free: 14.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09686/0.09727, allocations: 47.58 MB / 374.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL): time 0.009244/0.1066, allocations: 5.314 MB / 380 MB, free: 9.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00524/0.1118, allocations: 1.915 MB / 381.9 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.1129, allocations: 31.81 kB / 381.9 MB, free: 8.027 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008704/0.1138, allocations: 230.6 kB / 382.1 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.116, allocations: 462.6 kB / 382.6 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.1174, allocations: 291.5 kB / 382.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007351/0.1248, allocations: 3.969 MB / 386.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2635/0.3884, allocations: 3.487 MB / 390.3 MB, free: 9.551 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00417/0.3926, allocations: 1.897 MB / 392.2 MB, free: 9.551 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007244/0.3999, allocations: 2.675 MB / 394.9 MB, free: 9.043 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002467/0.4024, allocations: 282.8 kB / 395.2 MB, free: 9.043 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/0.4056, allocations: 284.5 kB / 395.5 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00368/0.4093, allocations: 1.267 MB / 396.7 MB, free: 8.844 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003417/0.4128, allocations: 1.114 MB / 397.8 MB, free: 8.617 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.4253, allocations: 7.91 MB / 405.8 MB, free: 5.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4253, allocations: 0 / 405.8 MB, free: 5.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.768e-06/0.4254, allocations: 1.188 kB / 405.8 MB, free: 5.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003999/0.4258, allocations: 0 / 405.8 MB, free: 5.594 MB / 282.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.02727/0.453, allocations: 6.516 MB / 412.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.4531, allocations: 10.25 kB / 412.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00356/0.4567, allocations: 0.677 MB / 413 MB, free: 1.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003873/0.4606, allocations: 0.6619 MB / 413.6 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/0.476, allocations: 3.913 MB / 417.5 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000929/0.477, allocations: 426.1 kB / 417.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002879/0.4799, allocations: 0.5057 MB / 418.5 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03144/0.5113, allocations: 7.909 MB / 426.4 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003402/0.5117, allocations: 18.3 kB / 426.4 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002411/0.5142, allocations: 212 kB / 426.6 MB, free: 7.023 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002701/0.5145, allocations: 177.5 kB / 426.8 MB, free: 6.848 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02837/0.5428, allocations: 7.359 MB / 434.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07205/0.6149, allocations: 21.18 MB / 455.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02366/0.6386, allocations: 8.191 MB / 463.5 MB, free: 1.875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000546/0.6392, allocations: 65.69 kB / 463.6 MB, free: 1.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0142/0.6535, allocations: 4.112 MB / 467.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=457): time 1.05e-05/0.6535, allocations: 0 / 467.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=458): time 0.08262/0.7361, allocations: 19.3 MB / 487 MB, free: 10.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003971/0.7366, allocations: 463.9 kB / 487.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01142/0.748, allocations: 3.98 MB / 491.4 MB, free: 5.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001501/0.7496, allocations: 161.6 kB / 491.6 MB, free: 5.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003188/0.7528, allocations: 1.819 MB / 493.4 MB, free: 3.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003084/0.7559, allocations: 1.405 MB / 494.8 MB, free: 2.281 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009165/0.7569, allocations: 92 kB / 494.9 MB, free: 2.191 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005989/0.7575, allocations: 0.4889 MB / 495.4 MB, free: 1.691 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01015/0.7676, allocations: 2.766 MB / 498.1 MB, free: 14.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01185/0.7795, allocations: 3.849 MB / 0.4902 GB, free: 10.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/0.7907, allocations: 3.235 MB / 0.4934 GB, free: 7.371 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.822e-05/0.7908, allocations: 8 kB / 0.4934 GB, free: 7.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.02857/0.8194, allocations: 7.897 MB / 0.5011 GB, free: 15.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.005132/0.8245, allocations: 10.46 MB / 0.5113 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/0.8247, allocations: 28 kB / 0.5113 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007354/0.8321, allocations: 1.683 MB / 0.513 GB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00724/0.8393, allocations: 0.8384 MB / 0.5138 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3651/1.204, allocations: 22.16 MB / 0.5354 GB, free: 125.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007329/1.212, allocations: 472.8 kB / 0.5359 GB, free: 125.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/1.213, allocations: 179.8 kB / 0.5361 GB, free: 125.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.213, allocations: 4.625 kB / 0.5361 GB, free: 125.2 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02358/1.237, allocations: 7.566 MB / 0.5434 GB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/1.237, allocations: 25.69 kB / 0.5435 GB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005671/1.243, allocations: 1.683 MB / 0.5451 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006226/1.249, allocations: 0.7666 MB / 0.5459 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03614/1.285, allocations: 22.48 MB / 0.5678 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005175/1.29, allocations: 402.9 kB / 0.5682 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/1.291, allocations: 180 kB / 0.5684 GB, free: 105.6 MB / 410.7 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 (467): * Single equations (assignments): 454 * 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.006939/1.298, allocations: 2.206 MB / 0.5705 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00176/1.3, allocations: 466.1 kB / 0.571 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02608/1.326, allocations: 7.855 MB / 0.5786 GB, free: 95.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.917e-05/1.326, allocations: 44 kB / 0.5787 GB, free: 95.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/1.326, allocations: 4 kB / 0.5787 GB, free: 95.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001142/1.326, allocations: 23.91 kB / 0.5787 GB, free: 95.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04143/1.368, allocations: 13.83 MB / 0.5922 GB, free: 81.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.979e-05/1.368, allocations: 0 / 0.5922 GB, free: 81.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00584/1.374, allocations: 0.6203 MB / 0.5928 GB, free: 80.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006386/1.38, allocations: 1.658 MB / 0.5944 GB, free: 79.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001897/1.382, allocations: 123.9 kB / 0.5946 GB, free: 78.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04236/1.425, allocations: 22.07 MB / 0.6161 GB, free: 56.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.425, allocations: 0 / 0.6161 GB, free: 56.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03326/1.458, allocations: 11.74 MB / 0.6276 GB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004786/1.463, allocations: 1.14 MB / 0.6287 GB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002196/1.465, allocations: 163.9 kB / 0.6288 GB, free: 43.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006691/1.472, allocations: 455.5 kB / 0.6293 GB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003291/1.475, allocations: 0.7524 MB / 0.63 GB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007963/1.476, allocations: 151.9 kB / 0.6302 GB, free: 41.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006503/1.482, allocations: 2.749 MB / 0.6328 GB, free: 39.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.482, allocations: 0 / 0.6328 GB, free: 39.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01529/1.498, allocations: 2.168 MB / 0.635 GB, free: 37 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.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 (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.03423/1.532, allocations: 12.89 MB / 0.6475 GB, free: 24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.03492/1.567, allocations: 13.61 MB / 0.6608 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.45e-05/1.567, allocations: 2.656 kB / 0.6608 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0147/1.582, allocations: 5.471 MB / 0.6662 GB, free: 4.516 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007833/1.59, allocations: 0.9989 MB / 0.6672 GB, free: 3.516 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.332/1.922, allocations: 36.25 MB / 0.7026 GB, free: 114.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008316/1.93, allocations: 4.114 MB / 0.7066 GB, free: 114 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005757/1.936, allocations: 2.138 MB / 0.7087 GB, free: 114 MB / 426.7 MB Notification: Performance of SimCode: time 1.803e-06/1.936, allocations: 0 / 0.7087 GB, free: 114 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.688/7.624, allocations: 290.5 MB / 0.9924 GB, free: 15.82 MB / 442.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