Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 118.1 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 59.84 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2946, allocations: 50.54 MB / 408.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.009142/0.3038, allocations: 6.821 MB / 415.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005137/0.3089, allocations: 2.127 MB / 417.7 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.3104, allocations: 47.75 kB / 417.8 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007901/0.3112, allocations: 297.5 kB / 418.1 MB, free: 8.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.3129, allocations: 0.5008 MB / 418.6 MB, free: 7.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.314, allocations: 0.4914 MB / 419.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007667/0.3217, allocations: 7.303 MB / 426.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006165/0.3279, allocations: 5.238 MB / 431.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004389/0.3323, allocations: 3.084 MB / 434.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006283/0.3386, allocations: 3.814 MB / 438.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002493/0.3411, allocations: 0.8125 MB / 439.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.3445, allocations: 0.8359 MB / 440.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003524/0.348, allocations: 2.053 MB / 442.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01086/0.3589, allocations: 3.601 MB / 445.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01408/0.373, allocations: 10.56 MB / 456.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3731, allocations: 0 / 456.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3731, allocations: 0 / 456.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003651/0.3734, allocations: 4 kB / 456.4 MB, free: 1.688 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1268 * Number of variables: 1268 Notification: Performance of Generate backend data structure: time 0.02353/0.397, allocations: 8.041 MB / 464.4 MB, free: 9.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.397, allocations: 8.031 kB / 464.4 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001738/0.3988, allocations: 0.694 MB / 465.1 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004294/0.4031, allocations: 1.008 MB / 466.1 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01027/0.4134, allocations: 4.332 MB / 470.4 MB, free: 3.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004368/0.4139, allocations: 386.2 kB / 470.8 MB, free: 2.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001873/0.4157, allocations: 0.5233 MB / 471.3 MB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/0.432, allocations: 8.035 MB / 479.4 MB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/0.4321, allocations: 19.83 kB / 479.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000601/0.4328, allocations: 212 kB / 479.6 MB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001698/0.4329, allocations: 185.7 kB / 479.8 MB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.4477, allocations: 7.301 MB / 487.1 MB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04734/0.4951, allocations: 21.32 MB / 0.4965 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01436/0.5095, allocations: 8.094 MB / 0.5044 GB, free: 4.711 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007667/0.5172, allocations: 3.856 MB / 0.5082 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003702/0.5176, allocations: 71.19 kB / 0.5082 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009309/0.527, allocations: 4.074 MB / 0.5122 GB, free: 12.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=457): time 1.118e-05/0.527, allocations: 0 / 0.5122 GB, free: 12.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.05101/0.578, allocations: 19.22 MB / 0.531 GB, free: 9.219 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003577/0.5784, allocations: 463.4 kB / 0.5314 GB, free: 8.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008429/0.5869, allocations: 4.307 MB / 0.5356 GB, free: 4.355 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009525/0.5879, allocations: 177.6 kB / 0.5358 GB, free: 4.176 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003222/0.5911, allocations: 2.23 MB / 0.538 GB, free: 1.934 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002275/0.5934, allocations: 1.468 MB / 0.5394 GB, free: 464 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.25/0.8435, allocations: 0.8669 MB / 0.5403 GB, free: 121.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.18e-05/0.8436, allocations: 305.4 kB / 0.5405 GB, free: 121.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005926/0.8495, allocations: 2.788 MB / 0.5433 GB, free: 121.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00546/0.855, allocations: 3.824 MB / 0.547 GB, free: 119.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008862/0.8639, allocations: 6.398 MB / 0.5533 GB, free: 116.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.829e-05/0.8639, allocations: 9.5 kB / 0.5533 GB, free: 116.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01331/0.8773, allocations: 8.212 MB / 0.5613 GB, free: 110.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.743e-05/0.8774, allocations: 182.2 kB / 0.5615 GB, free: 110 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-05/0.8775, allocations: 27.61 kB / 0.5615 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003114/0.8806, allocations: 1.736 MB / 0.5632 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/0.8837, allocations: 0.7604 MB / 0.5639 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02017/0.9039, allocations: 24.02 MB / 0.5874 GB, free: 82.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003855/0.9078, allocations: 411.5 kB / 0.5878 GB, free: 82.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006532/0.9085, allocations: 176 kB / 0.5879 GB, free: 82.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006936/0.9154, allocations: 4.447 MB / 0.5923 GB, free: 77.78 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004512/0.9199, allocations: 3.659 MB / 0.5959 GB, free: 73.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00777/0.9277, allocations: 6.127 MB / 0.6018 GB, free: 67.19 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.433e-05/0.9278, allocations: 8 kB / 0.6018 GB, free: 67.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01176/0.9395, allocations: 7.923 MB / 0.6096 GB, free: 59.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.366e-05/0.9397, allocations: 190.2 kB / 0.6098 GB, free: 59.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.497e-05/0.9397, allocations: 24 kB / 0.6098 GB, free: 59.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002934/0.9426, allocations: 1.73 MB / 0.6115 GB, free: 57.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002817/0.9455, allocations: 0.7135 MB / 0.6122 GB, free: 56.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02039/0.9659, allocations: 24 MB / 0.6356 GB, free: 32.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004281/0.9702, allocations: 399.6 kB / 0.636 GB, free: 31.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007756/0.971, allocations: 173.5 kB / 0.6362 GB, free: 31.53 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 180 (signalPWM[1].zeroOrderHold.firstTrigger,$PRE.signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.firstTrigger,$PRE.signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.firstTrigger,$PRE.signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.firstTrigger,$PRE.signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.firstTrigger,$PRE.signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.firstTrigger,$PRE.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,fundamentalWaveVoltage[6].mean2.y_last,$PRE.fundamentalWaveVoltage[6].mean2.y_last,fundamentalWaveVoltage[6].mean1.y_last,$PRE.fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[5].mean2.y_last,$PRE.fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[5].mean1.y_last,$PRE.fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[4].mean2.y_last,$PRE.fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[4].mean1.y_last,$PRE.fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[3].mean2.y_last,$PRE.fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[3].mean1.y_last,$PRE.fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[2].mean2.y_last,$PRE.fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[2].mean1.y_last,$PRE.fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[1].mean2.y_last,$PRE.fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[1].mean1.y_last,$PRE.fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveCurrent[6].mean2.y_last,$PRE.fundamentalWaveCurrent[6].mean2.y_last,fundamentalWaveCurrent[6].mean1.y_last,$PRE.fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[5].mean2.y_last,$PRE.fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[5].mean1.y_last,$PRE.fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[4].mean2.y_last,$PRE.fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[4].mean1.y_last,$PRE.fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[3].mean2.y_last,$PRE.fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[3].mean1.y_last,$PRE.fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[2].mean2.y_last,$PRE.fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[2].mean1.y_last,$PRE.fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[1].mean2.y_last,$PRE.fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[1].mean1.y_last,$PRE.fundamentalWaveCurrent[1].mean1.y_last,signalPWM[6].zeroOrderHold.sampleTrigger,$whenCondition26,signalPWM[5].zeroOrderHold.sampleTrigger,$whenCondition28,signalPWM[4].zeroOrderHold.sampleTrigger,$whenCondition30,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition32,signalPWM[2].zeroOrderHold.sampleTrigger,$whenCondition34,signalPWM[1].zeroOrderHold.sampleTrigger,$whenCondition36,signalPWM[6].sawtooth.count,$PRE.signalPWM[6].sawtooth.count,signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].sawtooth.T_start,signalPWM[6].zeroOrderHold.ySample,$PRE.signalPWM[6].zeroOrderHold.ySample,signalPWM[6].notFire,signalPWM[5].sawtooth.count,$PRE.signalPWM[5].sawtooth.count,signalPWM[5].sawtooth.T_start,$PRE.signalPWM[5].sawtooth.T_start,signalPWM[5].zeroOrderHold.ySample,$PRE.signalPWM[5].zeroOrderHold.ySample,signalPWM[5].notFire,signalPWM[4].sawtooth.count,$PRE.signalPWM[4].sawtooth.count,signalPWM[4].sawtooth.T_start,$PRE.signalPWM[4].sawtooth.T_start,signalPWM[4].zeroOrderHold.ySample,$PRE.signalPWM[4].zeroOrderHold.ySample,signalPWM[4].notFire,signalPWM[3].sawtooth.count,$PRE.signalPWM[3].sawtooth.count,signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].sawtooth.T_start,signalPWM[3].zeroOrderHold.ySample,$PRE.signalPWM[3].zeroOrderHold.ySample,signalPWM[3].notFire,signalPWM[2].sawtooth.count,$PRE.signalPWM[2].sawtooth.count,signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].sawtooth.T_start,signalPWM[2].zeroOrderHold.ySample,$PRE.signalPWM[2].zeroOrderHold.ySample,signalPWM[2].notFire,signalPWM[1].sawtooth.count,$PRE.signalPWM[1].sawtooth.count,signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].sawtooth.T_start,signalPWM[1].zeroOrderHold.ySample,$PRE.signalPWM[1].zeroOrderHold.ySample,signalPWM[1].notFire,inverter.diode_n.idealDiode[6].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[1].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.diode_p.idealDiode[6].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[1].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[1].off,inverter.andCondition_n[6].y,inverter.andCondition_n[5].y,inverter.andCondition_n[4].y,inverter.andCondition_n[3].y,inverter.andCondition_n[2].y,inverter.andCondition_n[1].y,inverter.andCondition_p[6].y,inverter.andCondition_p[5].y,inverter.andCondition_p[4].y,inverter.andCondition_p[3].y,inverter.andCondition_p[2].y,inverter.andCondition_p[1].y,$whenCondition25,$whenCondition27,$whenCondition29,$whenCondition31,$whenCondition33,$whenCondition35) * 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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(4,13), (4,13), (4,13), (4,13), (4,13), (4,13)} Notification: Performance of prepare postOptimizeDAE: time 0.001448/0.9725, allocations: 0.6016 MB / 0.6367 GB, free: 30.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/0.9736, allocations: 0.4962 MB / 0.6372 GB, free: 30.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.9864, allocations: 7.806 MB / 0.6449 GB, free: 22.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/0.9864, allocations: 48 kB / 0.6449 GB, free: 22.54 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.9865, allocations: 4 kB / 0.6449 GB, free: 22.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-05/0.9865, allocations: 27.84 kB / 0.6449 GB, free: 22.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02428/1.011, allocations: 13.84 MB / 0.6584 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/1.011, allocations: 0 / 0.6584 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002467/1.013, allocations: 0.5501 MB / 0.659 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003181/1.017, allocations: 1.701 MB / 0.6606 GB, free: 6.383 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007493/1.017, allocations: 131.8 kB / 0.6608 GB, free: 6.254 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0296/1.047, allocations: 23.86 MB / 0.6841 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.047, allocations: 7.969 kB / 0.6841 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02626/1.073, allocations: 11.5 MB / 0.6953 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003708/1.077, allocations: 1.197 MB / 0.6965 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001986/1.079, allocations: 175.9 kB / 0.6966 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003948/1.083, allocations: 391.5 kB / 0.697 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002252/1.085, allocations: 0.7216 MB / 0.6977 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008736/1.086, allocations: 151.9 kB / 0.6979 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006276/1.092, allocations: 2.987 MB / 0.7008 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/1.092, allocations: 0 / 0.7008 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01228/1.105, allocations: 2.23 MB / 0.703 GB, free: 10.01 MB / 0.4981 GB 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_last,fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[6].mean2.y_last,fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[6].mean2.y_last) * 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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(4,13), (4,13), (4,13), (4,13), (4,13), (4,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02746/1.132, allocations: 12.4 MB / 0.7151 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02808/1.16, allocations: 13.67 MB / 0.7284 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.742e-05/1.16, allocations: 6.531 kB / 0.7284 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01068/1.171, allocations: 5.197 MB / 0.7335 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007705/1.179, allocations: 1.189 MB / 0.7347 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3372/1.516, allocations: 53.79 MB / 0.7872 GB, free: 158 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005689/1.522, allocations: 4.222 MB / 0.7913 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005628/1.528, allocations: 2.014 MB / 0.7933 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0034/1.531, allocations: 2.233 MB / 0.7955 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of SimCode: time 2.705e-06/1.531, allocations: 0 / 0.7955 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5575/2.088, allocations: 154.8 MB / 0.9467 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.34/26.43, allocations: 3.391 kB / 0.9467 GB, free: 155.7 MB / 0.5294 GB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2e-05 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1)