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.001149/0.001149, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.7 kB / 307.1 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0815/0.08284, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.007751/0.09063, allocations: 6.811 MB / 364.4 MB, free: 7.168 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00384/0.09449, allocations: 2.138 MB / 366.5 MB, free: 5.023 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008382/0.09536, allocations: 47.81 kB / 366.6 MB, free: 4.977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006931/0.09609, allocations: 301.5 kB / 366.9 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.09744, allocations: 0.4969 MB / 367.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.09849, allocations: 0.503 MB / 367.9 MB, free: 3.676 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1835/0.282, allocations: 7.245 MB / 375.1 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01053/0.2926, allocations: 5.239 MB / 380.4 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00599/0.2986, allocations: 3.074 MB / 383.4 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008616/0.3073, allocations: 3.811 MB / 387.3 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004096/0.3114, allocations: 0.8199 MB / 388.1 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006553/0.318, allocations: 0.8256 MB / 388.9 MB, free: 5.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005455/0.3235, allocations: 2.052 MB / 391 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008621/0.3322, allocations: 3.61 MB / 394.6 MB, free: 2.047 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01494/0.3472, allocations: 10.34 MB / 404.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3472, allocations: 0 / 404.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3472, allocations: 0 / 404.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003555/0.3476, allocations: 0 / 404.9 MB, free: 10.39 MB / 318.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.03348/0.3811, allocations: 7.874 MB / 412.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.3812, allocations: 10.84 kB / 412.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002269/0.3835, allocations: 0.6824 MB / 413.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008025/0.3915, allocations: 0.9807 MB / 414.5 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01468/0.4062, allocations: 4.196 MB / 418.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008856/0.4071, allocations: 431.5 kB / 419.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00191/0.409, allocations: 0.5187 MB / 419.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01823/0.4273, allocations: 8.033 MB / 427.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000154/0.4275, allocations: 19.47 kB / 427.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008901/0.4284, allocations: 208 kB / 427.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.4286, allocations: 189.7 kB / 428 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.4427, allocations: 7.294 MB / 435.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04271/0.4855, allocations: 21.47 MB / 456.8 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01312/0.4986, allocations: 8.091 MB / 464.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00702/0.5057, allocations: 3.82 MB / 468.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/0.506, allocations: 69.28 kB / 468.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00807/0.5141, allocations: 4.075 MB / 472.9 MB, free: 6.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=457): time 8.095e-06/0.5141, allocations: 0 / 472.9 MB, free: 6.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=458): time 0.03985/0.554, allocations: 19.11 MB / 492 MB, free: 3.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002377/0.5543, allocations: 464.8 kB / 492.4 MB, free: 2.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005709/0.56, allocations: 4.307 MB / 496.7 MB, free: 14.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005162/0.5605, allocations: 169.6 kB / 496.9 MB, free: 14.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001881/0.5624, allocations: 2.192 MB / 499.1 MB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001214/0.5636, allocations: 1.408 MB / 0.4888 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00131/0.5649, allocations: 0.8668 MB / 0.4896 GB, free: 9.555 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.565, allocations: 309.1 kB / 0.4899 GB, free: 9.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004954/0.57, allocations: 2.784 MB / 0.4926 GB, free: 6.445 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005787/0.5758, allocations: 3.823 MB / 0.4964 GB, free: 2.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/0.5877, allocations: 6.399 MB / 0.5026 GB, free: 11.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-05/0.5879, allocations: 8 kB / 0.5026 GB, free: 11.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01634/0.6042, allocations: 8.182 MB / 0.5106 GB, free: 3.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.6044, allocations: 188.6 kB / 0.5108 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.503e-05/0.6044, allocations: 28.03 kB / 0.5108 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003627/0.608, allocations: 1.73 MB / 0.5125 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003383/0.6114, allocations: 0.7682 MB / 0.5132 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1828/0.7943, allocations: 24 MB / 0.5367 GB, free: 133.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00417/0.7985, allocations: 406.3 kB / 0.5371 GB, free: 133.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004895/0.799, allocations: 177.6 kB / 0.5372 GB, free: 133.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00767/0.8066, allocations: 4.446 MB / 0.5416 GB, free: 132.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00603/0.8127, allocations: 3.66 MB / 0.5452 GB, free: 130.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008871/0.8216, allocations: 6.132 MB / 0.5511 GB, free: 127.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.254e-05/0.8217, allocations: 7.375 kB / 0.5512 GB, free: 127.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01112/0.8328, allocations: 7.894 MB / 0.5589 GB, free: 124.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.93e-05/0.8329, allocations: 184.6 kB / 0.559 GB, free: 124.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.648e-05/0.8329, allocations: 27.92 kB / 0.5591 GB, free: 124.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003039/0.836, allocations: 1.74 MB / 0.5608 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/0.8387, allocations: 0.7106 MB / 0.5615 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01953/0.8582, allocations: 24.03 MB / 0.5849 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004809/0.8631, allocations: 395.6 kB / 0.5853 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005712/0.8637, allocations: 172 kB / 0.5855 GB, free: 101 MB / 446.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.001447/0.8651, allocations: 0.601 MB / 0.5861 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008415/0.866, allocations: 485.3 kB / 0.5865 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/0.8777, allocations: 7.808 MB / 0.5941 GB, free: 92.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.8777, allocations: 47.94 kB / 0.5942 GB, free: 92.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.8777, allocations: 8 kB / 0.5942 GB, free: 92.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.143e-05/0.8778, allocations: 19.92 kB / 0.5942 GB, free: 92.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01821/0.896, allocations: 13.88 MB / 0.6078 GB, free: 78.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.896, allocations: 8.812 kB / 0.6078 GB, free: 78.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/0.8984, allocations: 0.5459 MB / 0.6083 GB, free: 77.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00296/0.9014, allocations: 1.716 MB / 0.61 GB, free: 76.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003755/0.9018, allocations: 123.9 kB / 0.6101 GB, free: 75.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02002/0.9218, allocations: 23.86 MB / 0.6334 GB, free: 51.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9218, allocations: 4.031 kB / 0.6334 GB, free: 51.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/0.9378, allocations: 11.46 MB / 0.6446 GB, free: 39.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002346/0.9402, allocations: 1.171 MB / 0.6457 GB, free: 38.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000865/0.9411, allocations: 175.8 kB / 0.6459 GB, free: 38.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002754/0.9438, allocations: 387.5 kB / 0.6463 GB, free: 38.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001288/0.9451, allocations: 0.7249 MB / 0.647 GB, free: 37.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002769/0.9454, allocations: 148.1 kB / 0.6471 GB, free: 37.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003719/0.9492, allocations: 2.987 MB / 0.65 GB, free: 34.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9492, allocations: 4 kB / 0.6501 GB, free: 34.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007465/0.9566, allocations: 2.23 MB / 0.6522 GB, free: 32.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 29 (fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,inductor.inductor[2].i,inductor.inductor[3].i,inductor.inductor[4].i,inductor.inductor[5].i,inductor.inductor[6].i) * Number of discrete variables: 132 (signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.sampleTrigger,signalPWM[4].zeroOrderHold.sampleTrigger,signalPWM[5].zeroOrderHold.sampleTrigger,signalPWM[6].zeroOrderHold.sampleTrigger,$whenCondition36,$whenCondition35,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_p[4].y,inverter.andCondition_p[5].y,inverter.andCondition_p[6].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.andCondition_n[4].y,inverter.andCondition_n[5].y,inverter.andCondition_n[6].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[6].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[6].off,signalPWM[1].notFire,signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.ySample,signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.count,signalPWM[2].notFire,signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.ySample,signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.count,signalPWM[3].notFire,signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.ySample,signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.count,signalPWM[4].notFire,signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.ySample,signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.count,signalPWM[5].notFire,signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.ySample,signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.count,signalPWM[6].notFire,signalPWM[6].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.ySample,signalPWM[6].sawtooth.T_start,signalPWM[6].sawtooth.count,fundamentalWaveCurrent[1].mean1.y_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.01545/0.9721, allocations: 12.37 MB / 0.6643 GB, free: 19.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.03769/1.01, allocations: 22.27 MB / 0.686 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/1.01, allocations: 4.656 kB / 0.6861 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008798/1.019, allocations: 5.18 MB / 0.6911 GB, free: 7.762 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00481/1.024, allocations: 1.182 MB / 0.6923 GB, free: 6.609 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2436/1.267, allocations: 67.68 MB / 0.7584 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003489/1.271, allocations: 4.218 MB / 0.7625 GB, free: 101.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004598/1.275, allocations: 2.014 MB / 0.7644 GB, free: 99.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002381/1.278, allocations: 2.237 MB / 0.7666 GB, free: 97.22 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/1.278, allocations: 0 / 0.7666 GB, free: 97.22 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4121/1.69, allocations: 155.6 MB / 0.9186 GB, free: 135.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.15/16.84, allocations: 8.125 kB / 0.9186 GB, free: 135.5 MB / 478.1 MB (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)