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.001252/0.001253, allocations: 94.55 kB / 16.3 MB, free: 5.992 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.001329/0.001329, allocations: 181.3 kB / 17.19 MB, free: 5.906 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.426/1.426, allocations: 223.2 MB / 241.1 MB, free: 5.465 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003808, allocations: 5.344 kB / 300.8 MB, free: 5.977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1245, allocations: 50.43 MB / 351.2 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.00685/0.1314, allocations: 5.377 MB / 356.6 MB, free: 6.227 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0048/0.1362, allocations: 1.871 MB / 358.5 MB, free: 4.352 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.1374, allocations: 31.81 kB / 358.5 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005663/0.138, allocations: 230.6 kB / 358.7 MB, free: 4.094 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.1397, allocations: 462.6 kB / 359.2 MB, free: 3.641 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1407, allocations: 290.8 kB / 359.5 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005221/0.1459, allocations: 3.984 MB / 363.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004527/0.1505, allocations: 3.599 MB / 367.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003426/0.154, allocations: 1.903 MB / 369 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004849/0.1588, allocations: 2.681 MB / 371.6 MB, free: 7.109 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009475/0.1598, allocations: 284 kB / 371.9 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.1609, allocations: 276 kB / 372.2 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.1622, allocations: 1.265 MB / 373.5 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.1638, allocations: 1.127 MB / 374.6 MB, free: 4.156 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009253/0.1731, allocations: 7.992 MB / 382.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1731, allocations: 0 / 382.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.1731, allocations: 0 / 382.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004011/0.1736, allocations: 0 / 382.6 MB, free: 12.14 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1268 * Number of variables: 1268 Notification: Performance of Generate backend data structure: time 0.01816/0.1917, allocations: 6.582 MB / 389.2 MB, free: 5.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.1918, allocations: 12.03 kB / 389.2 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002861/0.1947, allocations: 0.6822 MB / 389.9 MB, free: 4.684 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.1968, allocations: 0.6642 MB / 390.5 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/0.2079, allocations: 3.975 MB / 394.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006138/0.2085, allocations: 430.8 kB / 394.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00219/0.2107, allocations: 0.5116 MB / 395.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/0.2302, allocations: 8.023 MB / 403.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001604/0.2304, allocations: 15.84 kB / 403.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007219/0.2311, allocations: 212 kB / 403.7 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001831/0.2313, allocations: 185.7 kB / 403.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/0.2465, allocations: 7.442 MB / 411.3 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2691/0.5157, allocations: 21.36 MB / 432.7 MB, free: 50.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01629/0.5321, allocations: 8.198 MB / 440.9 MB, free: 48.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003629/0.5325, allocations: 68.28 kB / 440.9 MB, free: 48.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007654/0.5402, allocations: 4.112 MB / 445 MB, free: 48.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=457): time 1.602e-05/0.5403, allocations: 0 / 445 MB, free: 48.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=458): time 0.04016/0.5805, allocations: 19.35 MB / 464.4 MB, free: 37.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003656/0.5809, allocations: 458.7 kB / 464.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007419/0.5884, allocations: 3.957 MB / 468.8 MB, free: 33.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001213/0.5896, allocations: 169.6 kB / 469 MB, free: 32.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001875/0.5915, allocations: 2.092 MB / 471 MB, free: 30.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00202/0.5935, allocations: 1.4 MB / 472.4 MB, free: 29.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.5938, allocations: 92 kB / 472.5 MB, free: 29.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000259/0.5941, allocations: 495.8 kB / 473 MB, free: 28.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004297/0.5984, allocations: 2.772 MB / 475.8 MB, free: 26.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005111/0.6035, allocations: 3.849 MB / 479.6 MB, free: 21.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005385/0.6089, allocations: 3.239 MB / 482.9 MB, free: 18.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.819e-05/0.609, allocations: 4 kB / 482.9 MB, free: 18.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01566/0.6247, allocations: 8.174 MB / 491.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00325/0.6279, allocations: 11.85 MB / 0.4911 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.263e-05/0.628, allocations: 27.94 kB / 0.4911 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004021/0.6321, allocations: 1.682 MB / 0.4928 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004012/0.6361, allocations: 0.8384 MB / 0.4936 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02869/0.6648, allocations: 22.18 MB / 0.5153 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00509/0.67, allocations: 467.6 kB / 0.5157 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001253/0.6713, allocations: 176 kB / 0.5159 GB, free: 3.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.6713, allocations: 4 kB / 0.5159 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01542/0.6867, allocations: 7.57 MB / 0.5233 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/0.6869, allocations: 28 kB / 0.5233 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00358/0.6905, allocations: 1.687 MB / 0.5249 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003582/0.6941, allocations: 0.7667 MB / 0.5257 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02762/0.7217, allocations: 22.18 MB / 0.5474 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005966/0.7278, allocations: 403.7 kB / 0.5477 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/0.7289, allocations: 179.9 kB / 0.5479 GB, free: 1.438 MB / 414.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 (467): * Single equations (assignments): 454 * 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%) 12} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of prepare postOptimizeDAE: time 0.006025/0.735, allocations: 2.215 MB / 0.5501 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/0.7365, allocations: 462.5 kB / 0.5505 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/0.7518, allocations: 7.858 MB / 0.5582 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.053e-05/0.7519, allocations: 48 kB / 0.5582 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.7519, allocations: 0 / 0.5582 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.014e-05/0.752, allocations: 23.91 kB / 0.5583 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0289/0.7809, allocations: 13.89 MB / 0.5718 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-05/0.781, allocations: 7.953 kB / 0.5718 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00326/0.7843, allocations: 0.6219 MB / 0.5724 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003701/0.788, allocations: 1.652 MB / 0.574 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009092/0.7889, allocations: 131.9 kB / 0.5742 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2543/1.043, allocations: 22.04 MB / 0.5957 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.043, allocations: 6.094 kB / 0.5957 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02217/1.065, allocations: 11.74 MB / 0.6072 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003719/1.069, allocations: 1.145 MB / 0.6083 GB, free: 128.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001418/1.071, allocations: 165.8 kB / 0.6084 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003563/1.074, allocations: 452.7 kB / 0.6089 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001669/1.076, allocations: 0.7559 MB / 0.6096 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003832/1.076, allocations: 151.5 kB / 0.6098 GB, free: 128.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004464/1.081, allocations: 2.736 MB / 0.6124 GB, free: 127.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.11e-07/1.081, allocations: 0 / 0.6124 GB, free: 127.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01075/1.092, allocations: 2.206 MB / 0.6146 GB, free: 127 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 (350): * Single equations (assignments): 295 * 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%) 12} * 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.02029/1.112, allocations: 12.91 MB / 0.6272 GB, free: 114.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02224/1.134, allocations: 13.58 MB / 0.6405 GB, free: 101.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/1.134, allocations: 0.6562 kB / 0.6405 GB, free: 101.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008761/1.143, allocations: 5.257 MB / 0.6456 GB, free: 95.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005393/1.148, allocations: 1.003 MB / 0.6466 GB, free: 94.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03379/1.182, allocations: 36.46 MB / 0.6822 GB, free: 57.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003667/1.186, allocations: 4.202 MB / 0.6863 GB, free: 53.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005496/1.191, allocations: 2.01 MB / 0.6882 GB, free: 51.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003242/1.195, allocations: 2.124 MB / 0.6903 GB, free: 48.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.533e-06/1.195, allocations: 0 / 0.6903 GB, free: 48.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4109/1.606, allocations: 138.1 MB / 0.8251 GB, free: 90.38 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/1.606, allocations: 266.6 kB / 0.8254 GB, free: 90.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.684/8.29, allocations: 0 / 0.8254 GB, free: 90.02 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