Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_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_4_1_0-beta_om_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.001345/0.001345, allocations: 118.7 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 203.9 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.411/1.411, allocations: 227.7 MB / 247.2 MB, free: 10.23 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.001971, allocations: 63.91 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2997, allocations: 50.54 MB / 409.1 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.008625/0.3083, allocations: 6.814 MB / 415.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004827/0.3132, allocations: 2.119 MB / 418 MB, free: 8.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.3145, allocations: 47.75 kB / 418.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007667/0.3154, allocations: 301.5 kB / 418.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.3171, allocations: 0.5047 MB / 418.9 MB, free: 7.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.3184, allocations: 0.5021 MB / 419.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008002/0.3264, allocations: 7.295 MB / 426.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006382/0.3328, allocations: 5.238 MB / 431.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004596/0.3374, allocations: 3.077 MB / 435 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0061/0.3436, allocations: 3.818 MB / 438.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002367/0.346, allocations: 0.8164 MB / 439.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.3484, allocations: 0.8281 MB / 440.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002836/0.3513, allocations: 2.057 MB / 442.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007351/0.3587, allocations: 3.608 MB / 446.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.3723, allocations: 10.56 MB / 456.7 MB, free: 1.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.3723, allocations: 0 / 456.7 MB, free: 1.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3723, allocations: 0 / 456.7 MB, free: 1.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004197/0.3728, allocations: 0 / 456.7 MB, free: 1.621 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.02369/0.3965, allocations: 8.046 MB / 464.7 MB, free: 9.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.3965, allocations: 8.031 kB / 464.7 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002173/0.3987, allocations: 0.6901 MB / 465.4 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004621/0.4034, allocations: 1.012 MB / 466.4 MB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/0.4135, allocations: 4.336 MB / 470.8 MB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004594/0.414, allocations: 390.2 kB / 471.1 MB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002113/0.4161, allocations: 0.5155 MB / 471.7 MB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01864/0.4348, allocations: 8.039 MB / 479.7 MB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001568/0.435, allocations: 19.89 kB / 479.7 MB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007686/0.4358, allocations: 212 kB / 479.9 MB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001852/0.436, allocations: 185.7 kB / 480.1 MB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01671/0.4527, allocations: 7.301 MB / 487.4 MB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0456/0.4983, allocations: 21.31 MB / 0.4968 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0145/0.5129, allocations: 8.094 MB / 0.5047 GB, free: 4.641 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007722/0.5207, allocations: 3.852 MB / 0.5085 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.521, allocations: 79.17 kB / 0.5085 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008022/0.529, allocations: 4.074 MB / 0.5125 GB, free: 12.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=457): time 8.847e-06/0.5291, allocations: 0 / 0.5125 GB, free: 12.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.04459/0.5737, allocations: 19.22 MB / 0.5313 GB, free: 9.148 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003281/0.574, allocations: 463.4 kB / 0.5317 GB, free: 8.609 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007285/0.5813, allocations: 4.311 MB / 0.5359 GB, free: 4.281 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001194/0.5826, allocations: 169.6 kB / 0.5361 GB, free: 4.109 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002795/0.5854, allocations: 2.234 MB / 0.5383 GB, free: 1.863 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002452/0.5878, allocations: 1.472 MB / 0.5397 GB, free: 388 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2251/0.8129, allocations: 0.8641 MB / 0.5406 GB, free: 122.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.476e-05/0.813, allocations: 306.1 kB / 0.5408 GB, free: 122.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006673/0.8197, allocations: 2.788 MB / 0.5436 GB, free: 122.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005885/0.8256, allocations: 3.822 MB / 0.5473 GB, free: 120.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009096/0.8348, allocations: 6.401 MB / 0.5536 GB, free: 117.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-05/0.8349, allocations: 7.625 kB / 0.5536 GB, free: 117.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01295/0.8478, allocations: 8.211 MB / 0.5616 GB, free: 111.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.8479, allocations: 189.8 kB / 0.5618 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.091e-05/0.848, allocations: 24 kB / 0.5618 GB, free: 111.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003044/0.8511, allocations: 1.736 MB / 0.5635 GB, free: 109.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/0.8541, allocations: 0.7643 MB / 0.5642 GB, free: 108.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01982/0.8739, allocations: 24.02 MB / 0.5877 GB, free: 83.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004709/0.8787, allocations: 415.5 kB / 0.5881 GB, free: 83.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008011/0.8795, allocations: 176 kB / 0.5882 GB, free: 83.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007674/0.8872, allocations: 4.443 MB / 0.5926 GB, free: 78.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00468/0.8919, allocations: 3.667 MB / 0.5962 GB, free: 74.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008317/0.9003, allocations: 6.127 MB / 0.6021 GB, free: 68.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.653e-05/0.9003, allocations: 8 kB / 0.6022 GB, free: 68.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01249/0.9128, allocations: 7.915 MB / 0.6099 GB, free: 60.61 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.913, allocations: 186.2 kB / 0.6101 GB, free: 60.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.5e-05/0.913, allocations: 28 kB / 0.6101 GB, free: 60.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003096/0.9161, allocations: 1.73 MB / 0.6118 GB, free: 58.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00295/0.9191, allocations: 0.7096 MB / 0.6125 GB, free: 57.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02009/0.9392, allocations: 24.01 MB / 0.6359 GB, free: 33.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005291/0.9446, allocations: 391.6 kB / 0.6363 GB, free: 32.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/0.9459, allocations: 176 kB / 0.6365 GB, free: 32.7 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.001952/0.9479, allocations: 0.6011 MB / 0.637 GB, free: 32.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/0.9492, allocations: 0.4962 MB / 0.6375 GB, free: 31.63 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/0.962, allocations: 7.81 MB / 0.6452 GB, free: 23.76 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/0.9621, allocations: 44 kB / 0.6452 GB, free: 23.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.9621, allocations: 4 kB / 0.6452 GB, free: 23.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.132e-05/0.9622, allocations: 23.91 kB / 0.6452 GB, free: 23.69 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02144/0.9836, allocations: 13.84 MB / 0.6587 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.9837, allocations: 0 / 0.6587 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/0.9861, allocations: 0.5501 MB / 0.6593 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003068/0.9892, allocations: 1.698 MB / 0.6609 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006364/0.9899, allocations: 135.8 kB / 0.6611 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02606/1.016, allocations: 23.87 MB / 0.6844 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.016, allocations: 7.938 kB / 0.6844 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02358/1.04, allocations: 11.5 MB / 0.6956 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003899/1.044, allocations: 1.197 MB / 0.6968 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001839/1.045, allocations: 175.8 kB / 0.697 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003801/1.049, allocations: 387.5 kB / 0.6973 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001969/1.051, allocations: 0.7288 MB / 0.698 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00057/1.052, allocations: 143.9 kB / 0.6982 GB, free: 424 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005939/1.058, allocations: 2.99 MB / 0.7011 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.71e-07/1.058, allocations: 4 kB / 0.7011 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0118/1.07, allocations: 2.23 MB / 0.7033 GB, free: 11.18 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.0237/1.093, allocations: 12.4 MB / 0.7154 GB, free: 14.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02913/1.123, allocations: 13.68 MB / 0.7287 GB, free: 0.7148 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/1.123, allocations: 4.656 kB / 0.7287 GB, free: 0.7109 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.01055/1.133, allocations: 5.194 MB / 0.7338 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006279/1.139, allocations: 1.187 MB / 0.735 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3088/1.448, allocations: 53.8 MB / 0.7875 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003595/1.452, allocations: 4.22 MB / 0.7916 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004614/1.457, allocations: 2.015 MB / 0.7936 GB, free: 157.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002913/1.46, allocations: 2.237 MB / 0.7958 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of SimCode: time 8.31e-07/1.46, allocations: 1.312 kB / 0.7958 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4505/1.91, allocations: 154.8 MB / 0.947 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.43/25.34, allocations: 4.328 kB / 0.947 GB, free: 161.7 MB / 0.5294 GB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1)