Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL,fileNamePrefix="Modelica_4_0_0_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_0_0_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 4.0.0+maint.om/package.mo): time 0.0008661/0.0008665, allocations: 94.22 kB / 16.32 MB, free: 5.578 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.001012/0.001012, allocations: 177.8 kB / 17.2 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 241.2 MB, free: 312 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003005, allocations: 4 kB / 300.9 MB, free: 6.309 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1075, allocations: 50.43 MB / 351.4 MB, free: 3.867 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.006286/0.1138, allocations: 5.678 MB / 357 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003937/0.1178, allocations: 1.824 MB / 358.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009752/0.1188, allocations: 39.75 kB / 358.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006012/0.1194, allocations: 214.4 kB / 359.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.121, allocations: 461.5 kB / 359.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009572/0.122, allocations: 290.7 kB / 359.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006286/0.1283, allocations: 6.357 MB / 366.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005704/0.134, allocations: 3.591 MB / 369.8 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2346/0.3686, allocations: 1.952 MB / 371.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008949/0.3776, allocations: 2.864 MB / 374.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002794/0.3805, allocations: 279.2 kB / 374.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004282/0.3848, allocations: 278.5 kB / 375.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004018/0.3888, allocations: 1.317 MB / 376.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004705/0.3936, allocations: 1.128 MB / 377.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01564/0.4092, allocations: 8.006 MB / 385.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.4093, allocations: 2.812 kB / 385.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.478e-06/0.4093, allocations: 3 kB / 385.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0006807/0.41, allocations: 1.562 kB / 385.6 MB, free: 8.824 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: 1268 * Number of variables: 1268 Notification: Performance of Generate backend data structure: time 0.02273/0.4327, allocations: 6.581 MB / 392.2 MB, free: 4.969 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.4328, allocations: 12.12 kB / 392.2 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00396/0.4368, allocations: 0.6908 MB / 392.9 MB, free: 4.773 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004697/0.4415, allocations: 0.6642 MB / 393.6 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/0.4518, allocations: 3.976 MB / 397.5 MB, free: 3.113 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005189/0.4523, allocations: 435.6 kB / 398 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00254/0.4549, allocations: 0.5081 MB / 398.5 MB, free: 3.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0231/0.478, allocations: 8.064 MB / 406.5 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001827/0.4782, allocations: 18.91 kB / 406.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001099/0.4793, allocations: 212 kB / 406.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001863/0.4795, allocations: 181.7 kB / 406.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01812/0.4977, allocations: 7.445 MB / 414.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05276/0.5505, allocations: 21.36 MB / 435.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01538/0.5659, allocations: 8.2 MB / 443.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00893/0.5749, allocations: 3.9 MB / 447.8 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004817/0.5754, allocations: 68.73 kB / 447.9 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009576/0.585, allocations: 4.132 MB / 452 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=457): time 9.187e-06/0.585, allocations: 0 / 452 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=458): time 0.05191/0.6369, allocations: 19.38 MB / 471.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003319/0.6373, allocations: 471 kB / 471.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009396/0.6467, allocations: 3.959 MB / 475.8 MB, free: 7.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001488/0.6482, allocations: 165.6 kB / 476 MB, free: 7.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003058/0.6513, allocations: 2.094 MB / 478.1 MB, free: 5.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002499/0.6538, allocations: 1.401 MB / 479.5 MB, free: 3.742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00107/0.6549, allocations: 92 kB / 479.6 MB, free: 3.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0005091/0.6555, allocations: 487.9 kB / 480.1 MB, free: 3.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00626/0.6617, allocations: 2.772 MB / 482.8 MB, free: 396 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00768/0.6694, allocations: 3.862 MB / 486.7 MB, free: 12.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006852/0.6763, allocations: 3.224 MB / 489.9 MB, free: 8.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.566e-05/0.6764, allocations: 15.94 kB / 489.9 MB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01848/0.6949, allocations: 8.21 MB / 498.1 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007325/0.6956, allocations: 1.034 MB / 499.2 MB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.218e-05/0.6957, allocations: 28 kB / 499.2 MB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003986/0.6997, allocations: 1.746 MB / 0.4892 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003665/0.7034, allocations: 0.8228 MB / 0.49 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02605/0.7295, allocations: 21.99 MB / 0.5115 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005446/0.735, allocations: 471.6 kB / 0.5119 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/0.7362, allocations: 180 kB / 0.5121 GB, free: 5.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.7362, allocations: 10.92 kB / 0.5121 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0178/0.754, allocations: 7.594 MB / 0.5195 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/0.7542, allocations: 28 kB / 0.5196 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003869/0.7581, allocations: 1.726 MB / 0.5213 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003511/0.7616, allocations: 0.7604 MB / 0.522 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2492/1.011, allocations: 22 MB / 0.5435 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00519/1.016, allocations: 397.1 kB / 0.5439 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/1.017, allocations: 180.1 kB / 0.544 GB, free: 138.7 MB / 446.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 ($PRE.signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.firstTrigger,$PRE.signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.firstTrigger,$PRE.signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.firstTrigger,$PRE.signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.firstTrigger,$PRE.signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.firstTrigger,$PRE.signalPWM[6].zeroOrderHold.firstTrigger,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,$PRE.fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[6].mean1.y_last,$PRE.fundamentalWaveVoltage[6].mean2.y_last,fundamentalWaveVoltage[6].mean2.y_last,$PRE.fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[5].mean1.y_last,$PRE.fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[5].mean2.y_last,$PRE.fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[4].mean1.y_last,$PRE.fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[4].mean2.y_last,$PRE.fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[3].mean1.y_last,$PRE.fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[3].mean2.y_last,$PRE.fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[2].mean1.y_last,$PRE.fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[2].mean2.y_last,$PRE.fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveVoltage[1].mean1.y_last,$PRE.fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[1].mean2.y_last,$PRE.fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[6].mean1.y_last,$PRE.fundamentalWaveCurrent[6].mean2.y_last,fundamentalWaveCurrent[6].mean2.y_last,$PRE.fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[5].mean1.y_last,$PRE.fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[5].mean2.y_last,$PRE.fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[4].mean1.y_last,$PRE.fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[4].mean2.y_last,$PRE.fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[3].mean1.y_last,$PRE.fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[3].mean2.y_last,$PRE.fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[2].mean1.y_last,$PRE.fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[2].mean2.y_last,$PRE.fundamentalWaveCurrent[1].mean1.y_last,fundamentalWaveCurrent[1].mean1.y_last,$PRE.fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[1].mean2.y_last,$whenCondition26,signalPWM[6].zeroOrderHold.sampleTrigger,signalPWM[6].zeroOrderHold.ySample,$whenCondition28,signalPWM[5].zeroOrderHold.sampleTrigger,signalPWM[5].zeroOrderHold.ySample,$whenCondition30,signalPWM[4].zeroOrderHold.sampleTrigger,signalPWM[4].zeroOrderHold.ySample,$whenCondition32,signalPWM[3].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.ySample,$whenCondition34,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.ySample,$whenCondition36,signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[1].zeroOrderHold.ySample,$whenCondition35,$whenCondition33,$whenCondition31,$whenCondition29,$whenCondition27,$whenCondition25,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,$PRE.signalPWM[1].zeroOrderHold.ySample,$PRE.signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].sawtooth.count,signalPWM[1].sawtooth.count,signalPWM[2].notFire,$PRE.signalPWM[2].zeroOrderHold.ySample,$PRE.signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].sawtooth.count,signalPWM[2].sawtooth.count,signalPWM[3].notFire,$PRE.signalPWM[3].zeroOrderHold.ySample,$PRE.signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].sawtooth.count,signalPWM[3].sawtooth.count,signalPWM[4].notFire,$PRE.signalPWM[4].zeroOrderHold.ySample,$PRE.signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.T_start,$PRE.signalPWM[4].sawtooth.count,signalPWM[4].sawtooth.count,signalPWM[5].notFire,$PRE.signalPWM[5].zeroOrderHold.ySample,$PRE.signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.T_start,$PRE.signalPWM[5].sawtooth.count,signalPWM[5].sawtooth.count,signalPWM[6].notFire,$PRE.signalPWM[6].zeroOrderHold.ySample,$PRE.signalPWM[6].sawtooth.T_start,signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].sawtooth.count,signalPWM[6].sawtooth.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 18} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of prepare postOptimizeDAE: time 0.006354/1.024, allocations: 2.218 MB / 0.5462 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/1.025, allocations: 464.1 kB / 0.5466 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/1.04, allocations: 7.9 MB / 0.5543 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/1.04, allocations: 45.66 kB / 0.5544 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/1.04, allocations: 3.812 kB / 0.5544 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.623e-05/1.04, allocations: 20.48 kB / 0.5544 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02559/1.065, allocations: 13.95 MB / 0.568 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-05/1.065, allocations: 4 kB / 0.568 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002942/1.068, allocations: 0.6098 MB / 0.5686 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004034/1.072, allocations: 1.699 MB / 0.5703 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001494/1.074, allocations: 123.9 kB / 0.5704 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02008/1.094, allocations: 21.85 MB / 0.5917 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.094, allocations: 0 / 0.5917 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02062/1.115, allocations: 11.63 MB / 0.6031 GB, free: 91.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003762/1.119, allocations: 1.132 MB / 0.6042 GB, free: 90.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001772/1.12, allocations: 167.9 kB / 0.6044 GB, free: 90.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00375/1.124, allocations: 451.5 kB / 0.6048 GB, free: 89.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001724/1.126, allocations: 0.7648 MB / 0.6055 GB, free: 88.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000439/1.126, allocations: 143.9 kB / 0.6057 GB, free: 88.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004997/1.131, allocations: 2.737 MB / 0.6084 GB, free: 86.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.092e-06/1.131, allocations: 0 / 0.6084 GB, free: 86.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01418/1.146, allocations: 2.211 MB / 0.6105 GB, free: 83.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 18} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.02072/1.166, allocations: 12.52 MB / 0.6227 GB, free: 71.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02223/1.189, allocations: 13.65 MB / 0.6361 GB, free: 57.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/1.189, allocations: 8.266 kB / 0.6361 GB, free: 57.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008794/1.197, allocations: 5.288 MB / 0.6412 GB, free: 51.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006162/1.204, allocations: 1.075 MB / 0.6423 GB, free: 50.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09985/1.304, allocations: 45.53 MB / 0.6868 GB, free: 3.098 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005114/1.309, allocations: 4.101 MB / 0.6908 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006475/1.315, allocations: 1.986 MB / 0.6927 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004456/1.32, allocations: 2.124 MB / 0.6948 GB, free: 10.84 MB / 462.1 MB Notification: Performance of SimCode: time 2.575e-06/1.32, allocations: 4 kB / 0.6948 GB, free: 10.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4742/1.794, allocations: 140.6 MB / 0.8321 GB, free: 42.87 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/1.794, allocations: 266.2 kB / 0.8323 GB, free: 42.51 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.82/7.614, allocations: 3.938 kB / 0.8323 GB, free: 42.51 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL_res.mat does not exist to compare? outputFormat=mat