Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 194.2 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 47.94 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2527, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL): time 0.008456/0.2612, allocations: 6.435 MB / 331.1 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00445/0.2657, allocations: 1.912 MB / 333 MB, free: 11.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008999/0.2666, allocations: 33.31 kB / 333.1 MB, free: 11.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006149/0.2673, allocations: 241 kB / 333.3 MB, free: 11.08 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.2686, allocations: 474.4 kB / 333.8 MB, free: 10.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009049/0.2695, allocations: 408.8 kB / 334.2 MB, free: 10.36 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006487/0.276, allocations: 6.862 MB / 341 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005376/0.2814, allocations: 4.502 MB / 345.5 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004994/0.2864, allocations: 2.343 MB / 347.9 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006293/0.2928, allocations: 3.373 MB / 351.3 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001999/0.2948, allocations: 424 kB / 351.7 MB, free: 9.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.2969, allocations: 420 kB / 352.1 MB, free: 8.609 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.2984, allocations: 1.545 MB / 353.6 MB, free: 7.059 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004921/0.3033, allocations: 3.031 MB / 356.7 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009177/0.3125, allocations: 9.62 MB / 366.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3126, allocations: 0 / 366.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3126, allocations: 0 / 366.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003649/0.3129, allocations: 0 / 366.3 MB, free: 10.36 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.01995/0.3329, allocations: 7.537 MB / 373.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.333, allocations: 16.03 kB / 373.8 MB, free: 2.625 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.3343, allocations: 0.6573 MB / 374.5 MB, free: 1.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007595/0.3419, allocations: 3.954 MB / 378.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003992/0.3423, allocations: 415.1 kB / 378.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009141/0.3432, allocations: 0.5037 MB / 379.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/0.3588, allocations: 7.88 MB / 387.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/0.359, allocations: 19.84 kB / 387.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005685/0.3596, allocations: 208 kB / 387.5 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001519/0.3597, allocations: 181.5 kB / 387.6 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.3739, allocations: 7.192 MB / 394.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04013/0.4141, allocations: 21.02 MB / 415.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/0.426, allocations: 8.042 MB / 423.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006489/0.4325, allocations: 3.801 MB / 427.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002511/0.4328, allocations: 71.23 kB / 427.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006493/0.4393, allocations: 4.034 MB / 431.8 MB, free: 7.953 MB / 366.1 MB Notification: Performance of pre-optimization done (n=457): time 6.112e-06/0.4393, allocations: 3.938 kB / 431.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=458): time 0.03677/0.4761, allocations: 18.94 MB / 450.7 MB, free: 4.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002429/0.4764, allocations: 459.4 kB / 451.2 MB, free: 4.262 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005951/0.4823, allocations: 4.003 MB / 455.2 MB, free: 284 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001287/0.4837, allocations: 165.6 kB / 455.3 MB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1806/0.6643, allocations: 2.069 MB / 457.4 MB, free: 110 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003138/0.6674, allocations: 1.403 MB / 458.8 MB, free: 109.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003118/0.6706, allocations: 0.8649 MB / 459.7 MB, free: 108.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.995e-05/0.6707, allocations: 308.9 kB / 460 MB, free: 108.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007438/0.6781, allocations: 2.716 MB / 462.7 MB, free: 107.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00873/0.6869, allocations: 3.789 MB / 466.5 MB, free: 105.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/0.7004, allocations: 6.363 MB / 472.8 MB, free: 102.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001014/0.7006, allocations: 9.156 kB / 472.9 MB, free: 102.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.02079/0.7214, allocations: 8.047 MB / 480.9 MB, free: 94.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.7215, allocations: 190.2 kB / 481.1 MB, free: 94.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-05/0.7216, allocations: 24 kB / 481.1 MB, free: 94.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004762/0.7264, allocations: 1.736 MB / 482.9 MB, free: 92.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004617/0.731, allocations: 0.772 MB / 483.6 MB, free: 91.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03/0.761, allocations: 22.02 MB / 0.4938 GB, free: 68.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005959/0.767, allocations: 411.6 kB / 0.4942 GB, free: 68.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006967/0.7678, allocations: 176 kB / 0.4944 GB, free: 68.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009898/0.7777, allocations: 4.306 MB / 0.4986 GB, free: 63.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00638/0.7841, allocations: 3.626 MB / 0.5021 GB, free: 59.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007127/0.7912, allocations: 6.086 MB / 0.508 GB, free: 53.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-05/0.7913, allocations: 8 kB / 0.508 GB, free: 53.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01062/0.8019, allocations: 7.764 MB / 0.5156 GB, free: 45.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.046e-05/0.802, allocations: 182.2 kB / 0.5158 GB, free: 45.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.588e-05/0.802, allocations: 27.94 kB / 0.5158 GB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003172/0.8052, allocations: 1.732 MB / 0.5175 GB, free: 43.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002737/0.808, allocations: 0.7175 MB / 0.5182 GB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01937/0.8273, allocations: 22.03 MB / 0.5397 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004797/0.8322, allocations: 391.6 kB / 0.5401 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006113/0.8328, allocations: 180 kB / 0.5403 GB, free: 19.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 118 * Number of states: 0 () * Number of discrete variables: 180 (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,$PRE.fundamentalWaveVoltage[6].mean2.y,fundamentalWaveVoltage[6].mean1.y,$PRE.fundamentalWaveVoltage[6].mean1.y,fundamentalWaveVoltage[5].mean2.y,$PRE.fundamentalWaveVoltage[5].mean2.y,fundamentalWaveVoltage[5].mean1.y,$PRE.fundamentalWaveVoltage[5].mean1.y,fundamentalWaveVoltage[4].mean2.y,$PRE.fundamentalWaveVoltage[4].mean2.y,fundamentalWaveVoltage[4].mean1.y,$PRE.fundamentalWaveVoltage[4].mean1.y,fundamentalWaveVoltage[3].mean2.y,$PRE.fundamentalWaveVoltage[3].mean2.y,fundamentalWaveVoltage[3].mean1.y,$PRE.fundamentalWaveVoltage[3].mean1.y,fundamentalWaveVoltage[2].mean2.y,$PRE.fundamentalWaveVoltage[2].mean2.y,fundamentalWaveVoltage[2].mean1.y,$PRE.fundamentalWaveVoltage[2].mean1.y,fundamentalWaveVoltage[1].mean2.y,$PRE.fundamentalWaveVoltage[1].mean2.y,fundamentalWaveVoltage[1].mean1.y,$PRE.fundamentalWaveVoltage[1].mean1.y,fundamentalWaveCurrent[6].mean2.y,$PRE.fundamentalWaveCurrent[6].mean2.y,fundamentalWaveCurrent[6].mean1.y,$PRE.fundamentalWaveCurrent[6].mean1.y,fundamentalWaveCurrent[5].mean2.y,$PRE.fundamentalWaveCurrent[5].mean2.y,fundamentalWaveCurrent[5].mean1.y,$PRE.fundamentalWaveCurrent[5].mean1.y,fundamentalWaveCurrent[4].mean2.y,$PRE.fundamentalWaveCurrent[4].mean2.y,fundamentalWaveCurrent[4].mean1.y,$PRE.fundamentalWaveCurrent[4].mean1.y,fundamentalWaveCurrent[3].mean2.y,$PRE.fundamentalWaveCurrent[3].mean2.y,fundamentalWaveCurrent[3].mean1.y,$PRE.fundamentalWaveCurrent[3].mean1.y,fundamentalWaveCurrent[2].mean2.y,$PRE.fundamentalWaveCurrent[2].mean2.y,fundamentalWaveCurrent[2].mean1.y,$PRE.fundamentalWaveCurrent[2].mean1.y,fundamentalWaveCurrent[1].mean2.y,$PRE.fundamentalWaveCurrent[1].mean2.y,fundamentalWaveCurrent[1].mean1.y,$PRE.fundamentalWaveCurrent[1].mean1.y,signalPWM[6].zeroOrderHold.sampleTrigger,$whenCondition26,signalPWM[6].zeroOrderHold.ySample,signalPWM[5].zeroOrderHold.sampleTrigger,$whenCondition28,signalPWM[5].zeroOrderHold.ySample,signalPWM[4].zeroOrderHold.sampleTrigger,$whenCondition30,signalPWM[4].zeroOrderHold.ySample,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition32,signalPWM[3].zeroOrderHold.ySample,signalPWM[2].zeroOrderHold.sampleTrigger,$whenCondition34,signalPWM[2].zeroOrderHold.ySample,signalPWM[1].zeroOrderHold.sampleTrigger,$whenCondition36,signalPWM[1].zeroOrderHold.ySample,signalPWM[6].sawtooth.count,$PRE.signalPWM[6].sawtooth.count,signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].sawtooth.T_start,$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,$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,$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,$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,$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,$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.001312/0.8341, allocations: 0.5995 MB / 0.5409 GB, free: 18.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008576/0.835, allocations: 458.5 kB / 0.5413 GB, free: 18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/0.8467, allocations: 7.725 MB / 0.5489 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/0.8468, allocations: 44 kB / 0.5489 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.8468, allocations: 8 kB / 0.5489 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.493e-05/0.8469, allocations: 24.75 kB / 0.5489 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02116/0.868, allocations: 13.71 MB / 0.5623 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.8681, allocations: 8.156 kB / 0.5623 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002662/0.8708, allocations: 0.5616 MB / 0.5629 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003689/0.8745, allocations: 1.7 MB / 0.5645 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005808/0.875, allocations: 127.9 kB / 0.5646 GB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02573/0.9008, allocations: 21.88 MB / 0.586 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9008, allocations: 0 / 0.586 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02149/0.9223, allocations: 11.38 MB / 0.5971 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00313/0.9255, allocations: 1.136 MB / 0.5982 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/0.9266, allocations: 167.9 kB / 0.5984 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002999/0.9296, allocations: 383.5 kB / 0.5988 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001721/0.9314, allocations: 0.7444 MB / 0.5995 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003525/0.9317, allocations: 151.9 kB / 0.5996 GB, free: 5.141 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004669/0.9364, allocations: 2.777 MB / 0.6024 GB, free: 2.383 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.9364, allocations: 0 / 0.6024 GB, free: 2.383 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.012/0.9484, allocations: 2.199 MB / 0.6045 GB, free: 188 kB / 430.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,fundamentalWaveCurrent[1].mean2.y,fundamentalWaveCurrent[2].mean1.y,fundamentalWaveCurrent[2].mean2.y,fundamentalWaveCurrent[3].mean1.y,fundamentalWaveCurrent[3].mean2.y,fundamentalWaveCurrent[4].mean1.y,fundamentalWaveCurrent[4].mean2.y,fundamentalWaveCurrent[5].mean1.y,fundamentalWaveCurrent[5].mean2.y,fundamentalWaveCurrent[6].mean1.y,fundamentalWaveCurrent[6].mean2.y,fundamentalWaveVoltage[1].mean1.y,fundamentalWaveVoltage[1].mean2.y,fundamentalWaveVoltage[2].mean1.y,fundamentalWaveVoltage[2].mean2.y,fundamentalWaveVoltage[3].mean1.y,fundamentalWaveVoltage[3].mean2.y,fundamentalWaveVoltage[4].mean1.y,fundamentalWaveVoltage[4].mean2.y,fundamentalWaveVoltage[5].mean1.y,fundamentalWaveVoltage[5].mean2.y,fundamentalWaveVoltage[6].mean1.y,fundamentalWaveVoltage[6].mean2.y) * Number of discrete states: 36 (signalPWM[1].sawtooth.count,signalPWM[2].sawtooth.count,signalPWM[3].sawtooth.count,signalPWM[4].sawtooth.count,signalPWM[5].sawtooth.count,signalPWM[6].sawtooth.count,fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,signalPWM[6].zeroOrderHold.ySample,signalPWM[5].zeroOrderHold.ySample,signalPWM[4].zeroOrderHold.ySample,signalPWM[3].zeroOrderHold.ySample,signalPWM[2].zeroOrderHold.ySample,signalPWM[1].zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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.1752/1.124, allocations: 414.8 kB / 0.6049 GB, free: 138.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01993/1.144, allocations: 13.41 MB / 0.618 GB, free: 135.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/1.144, allocations: 0.6562 kB / 0.618 GB, free: 135.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006906/1.151, allocations: 5.179 MB / 0.623 GB, free: 133.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004826/1.155, allocations: 1.065 MB / 0.6241 GB, free: 133.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/1.177, allocations: 14.81 MB / 0.6386 GB, free: 122.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003433/1.18, allocations: 4.079 MB / 0.6425 GB, free: 119.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004697/1.185, allocations: 1.967 MB / 0.6445 GB, free: 117.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009118/1.186, allocations: 299.3 kB / 0.6447 GB, free: 116.8 MB / 430.1 MB Notification: Performance of SimCode: time 1.272e-06/1.186, allocations: 4 kB / 0.6447 GB, free: 116.8 MB / 430.1 MB Notification: Performance of Templates: time 0.1198/1.306, allocations: 99.29 MB / 0.7417 GB, free: 17.38 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe 2>&1)