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.001827/0.001834, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002638/0.002638, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2826, allocations: 50.54 MB / 408.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.008227/0.2908, allocations: 6.821 MB / 415.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004233/0.2951, allocations: 2.127 MB / 417.7 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009458/0.2961, allocations: 43.81 kB / 417.8 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007373/0.2969, allocations: 313.5 kB / 418.1 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.2982, allocations: 0.5124 MB / 418.6 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009906/0.2992, allocations: 0.4992 MB / 419.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006507/0.3058, allocations: 7.303 MB / 426.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005858/0.3116, allocations: 5.242 MB / 431.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005371/0.3171, allocations: 3.084 MB / 434.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007528/0.3246, allocations: 3.818 MB / 438.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002659/0.3273, allocations: 0.8164 MB / 439.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.3301, allocations: 0.8242 MB / 440.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002494/0.3326, allocations: 2.053 MB / 442.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005402/0.338, allocations: 3.612 MB / 445.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.3482, allocations: 10.56 MB / 456.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.3483, allocations: 0 / 456.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3483, allocations: 0 / 456.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003277/0.3486, allocations: 0 / 456.4 MB, free: 1.574 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.02073/0.3694, allocations: 8.046 MB / 464.4 MB, free: 9.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3694, allocations: 8.031 kB / 464.4 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002311/0.3718, allocations: 0.6902 MB / 465.1 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005303/0.3771, allocations: 1.008 MB / 466.1 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.3889, allocations: 4.336 MB / 470.5 MB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005287/0.3895, allocations: 394.2 kB / 470.9 MB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002281/0.3918, allocations: 0.5155 MB / 471.4 MB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/0.4076, allocations: 8.039 MB / 479.4 MB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/0.4078, allocations: 15.89 kB / 479.4 MB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005816/0.4083, allocations: 212 kB / 479.6 MB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/0.4085, allocations: 189.7 kB / 479.8 MB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.4229, allocations: 7.298 MB / 487.1 MB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04721/0.4701, allocations: 21.31 MB / 0.4965 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01311/0.4833, allocations: 8.094 MB / 0.5044 GB, free: 4.598 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006975/0.4903, allocations: 3.852 MB / 0.5082 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/0.4907, allocations: 67.25 kB / 0.5083 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007982/0.4987, allocations: 4.086 MB / 0.5122 GB, free: 12.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=457): time 8.706e-06/0.4987, allocations: 0 / 0.5122 GB, free: 12.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.04723/0.5459, allocations: 19.22 MB / 0.531 GB, free: 9.105 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003077/0.5463, allocations: 463.4 kB / 0.5314 GB, free: 8.566 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007756/0.5541, allocations: 4.315 MB / 0.5357 GB, free: 4.234 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001081/0.5552, allocations: 169.6 kB / 0.5358 GB, free: 4.062 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002462/0.5576, allocations: 2.238 MB / 0.538 GB, free: 1.812 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001992/0.5597, allocations: 1.465 MB / 0.5394 GB, free: 344 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2416/0.8013, allocations: 0.8659 MB / 0.5403 GB, free: 121.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.8014, allocations: 306.3 kB / 0.5406 GB, free: 121.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005419/0.8068, allocations: 2.788 MB / 0.5433 GB, free: 121.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005016/0.8118, allocations: 3.82 MB / 0.547 GB, free: 119.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008508/0.8204, allocations: 6.398 MB / 0.5533 GB, free: 116.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.752e-05/0.8204, allocations: 13.25 kB / 0.5533 GB, free: 116.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01211/0.8326, allocations: 8.211 MB / 0.5613 GB, free: 110 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.8327, allocations: 188.2 kB / 0.5615 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.633e-05/0.8327, allocations: 27.61 kB / 0.5615 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003076/0.8358, allocations: 1.738 MB / 0.5632 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003325/0.8392, allocations: 0.7643 MB / 0.564 GB, free: 107.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/0.8595, allocations: 24.01 MB / 0.5874 GB, free: 82.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004127/0.8637, allocations: 415.5 kB / 0.5878 GB, free: 82.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005403/0.8642, allocations: 172 kB / 0.588 GB, free: 82.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006466/0.8707, allocations: 4.447 MB / 0.5923 GB, free: 77.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004105/0.8748, allocations: 3.663 MB / 0.5959 GB, free: 73.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007389/0.8822, allocations: 6.131 MB / 0.6019 GB, free: 66.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.215e-05/0.8823, allocations: 4 kB / 0.6019 GB, free: 66.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01106/0.8933, allocations: 7.923 MB / 0.6096 GB, free: 59.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.94e-05/0.8934, allocations: 182.2 kB / 0.6098 GB, free: 59.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.29e-05/0.8935, allocations: 24 kB / 0.6098 GB, free: 59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003082/0.8966, allocations: 1.725 MB / 0.6115 GB, free: 57.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003039/0.8996, allocations: 0.7144 MB / 0.6122 GB, free: 56.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01986/0.9195, allocations: 24.02 MB / 0.6357 GB, free: 31.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004309/0.9239, allocations: 387.6 kB / 0.636 GB, free: 31.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005489/0.9244, allocations: 184 kB / 0.6362 GB, free: 31.33 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.001157/0.9256, allocations: 0.6043 MB / 0.6368 GB, free: 30.72 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008107/0.9264, allocations: 0.4923 MB / 0.6373 GB, free: 30.26 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/0.9379, allocations: 7.808 MB / 0.6449 GB, free: 22.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/0.9379, allocations: 47.98 kB / 0.6449 GB, free: 22.35 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.938, allocations: 4 kB / 0.6449 GB, free: 22.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.141e-05/0.938, allocations: 23.92 kB / 0.645 GB, free: 22.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02138/0.9594, allocations: 13.84 MB / 0.6585 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.9595, allocations: 4 kB / 0.6585 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002328/0.9618, allocations: 0.5461 MB / 0.659 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003105/0.9649, allocations: 1.708 MB / 0.6607 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005577/0.9655, allocations: 131.8 kB / 0.6608 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02542/0.9909, allocations: 23.86 MB / 0.6841 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.991, allocations: 3.938 kB / 0.6841 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02149/1.012, allocations: 11.51 MB / 0.6954 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003775/1.016, allocations: 1.193 MB / 0.6965 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001819/1.018, allocations: 171.9 kB / 0.6967 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003942/1.022, allocations: 389.3 kB / 0.6971 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001908/1.024, allocations: 0.7288 MB / 0.6978 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006729/1.025, allocations: 143.9 kB / 0.6979 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006/1.031, allocations: 2.991 MB / 0.7008 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.31e-07/1.031, allocations: 4 kB / 0.7008 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01304/1.044, allocations: 2.234 MB / 0.703 GB, free: 9.809 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.02407/1.068, allocations: 12.39 MB / 0.7151 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02516/1.093, allocations: 13.67 MB / 0.7285 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/1.093, allocations: 8.656 kB / 0.7285 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009446/1.103, allocations: 5.196 MB / 0.7335 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006939/1.11, allocations: 1.192 MB / 0.7347 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.326/1.436, allocations: 53.79 MB / 0.7872 GB, free: 157.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006217/1.442, allocations: 4.222 MB / 0.7914 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006019/1.448, allocations: 2.014 MB / 0.7933 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004222/1.452, allocations: 2.237 MB / 0.7955 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of SimCode: time 2.004e-06/1.452, allocations: 0 / 0.7955 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4579/1.91, allocations: 154.8 MB / 0.9467 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.49/25.4, allocations: 10.19 kB / 0.9467 GB, free: 155.8 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)