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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008947/0.0008946, allocations: 175.4 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.3 MB / 235.5 MB, free: 2.887 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008705/0.0008705, allocations: 91.8 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.738e-05/2.74e-05, allocations: 0 / 343.9 MB, free: 4.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.09799, allocations: 50.42 MB / 394.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3242/0.4223, allocations: 91.8 MB / 486.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.4226, allocations: 91.92 kB / 486.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4125/0.8351, allocations: 83.49 MB / 0.5564 GB, free: 89.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.8352, allocations: 1.125 kB / 0.5564 GB, free: 89.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004203/0.8356, allocations: 142.8 kB / 0.5565 GB, free: 89.66 MB / 426.7 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.01649/0.8521, allocations: 6.433 MB / 0.5628 GB, free: 86.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.8522, allocations: 9.969 kB / 0.5628 GB, free: 86.87 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002003/0.8542, allocations: 0.6772 MB / 0.5635 GB, free: 86.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002326/0.8565, allocations: 0.6713 MB / 0.5641 GB, free: 86.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/0.8666, allocations: 3.649 MB / 0.5677 GB, free: 85.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004881/0.8671, allocations: 386.7 kB / 0.5681 GB, free: 85.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/0.869, allocations: 0.5204 MB / 0.5686 GB, free: 85.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/0.8816, allocations: 7.43 MB / 0.5758 GB, free: 85.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.8818, allocations: 24.95 kB / 0.5759 GB, free: 85.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005072/0.8823, allocations: 208.7 kB / 0.5761 GB, free: 85.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.8824, allocations: 189.1 kB / 0.5762 GB, free: 85.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008761/0.8912, allocations: 6.495 MB / 0.5826 GB, free: 85.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03511/0.9263, allocations: 21.66 MB / 0.6037 GB, free: 76.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007773/0.9341, allocations: 7.648 MB / 0.6112 GB, free: 72.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004183/0.9384, allocations: 3.624 MB / 0.6147 GB, free: 71.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/0.9386, allocations: 70.48 kB / 0.6148 GB, free: 71.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004488/0.9431, allocations: 3.882 MB / 0.6186 GB, free: 70.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=457): time 5.961e-06/0.9431, allocations: 4 kB / 0.6186 GB, free: 70.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=458): time 0.01952/0.9626, allocations: 12.98 MB / 0.6313 GB, free: 62.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/0.9628, allocations: 457.6 kB / 0.6317 GB, free: 62.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004563/0.9674, allocations: 3.509 MB / 0.6351 GB, free: 59.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007523/0.9682, allocations: 169 kB / 0.6353 GB, free: 59.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/0.9697, allocations: 2.084 MB / 0.6373 GB, free: 57.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001258/0.971, allocations: 1.399 MB / 0.6387 GB, free: 56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.9712, allocations: 96 kB / 0.6388 GB, free: 55.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.9714, allocations: 491.5 kB / 0.6393 GB, free: 55.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003088/0.9745, allocations: 2.514 MB / 0.6417 GB, free: 53.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00351/0.978, allocations: 3.588 MB / 0.6452 GB, free: 49.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003313/0.9814, allocations: 2.958 MB / 0.6481 GB, free: 47.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/0.9814, allocations: 8 kB / 0.6481 GB, free: 47.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.009764/0.9912, allocations: 7.636 MB / 0.6556 GB, free: 40.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002123/0.9933, allocations: 11.77 MB / 0.6671 GB, free: 28.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.464e-05/0.9934, allocations: 24 kB / 0.6671 GB, free: 28.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003479/0.9969, allocations: 1.719 MB / 0.6688 GB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003394/1, allocations: 0.8291 MB / 0.6696 GB, free: 26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01929/1.02, allocations: 21.95 MB / 0.691 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004637/1.024, allocations: 475.6 kB / 0.6915 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000787/1.025, allocations: 180 kB / 0.6916 GB, free: 4.375 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/1.025, allocations: 4 kB / 0.6916 GB, free: 4.371 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01105/1.036, allocations: 7.312 MB / 0.6988 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/1.036, allocations: 24 kB / 0.6988 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003406/1.04, allocations: 1.717 MB / 0.7005 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003134/1.043, allocations: 0.7643 MB / 0.7012 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2359/1.279, allocations: 21.93 MB / 0.7226 GB, free: 86.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004666/1.284, allocations: 400.8 kB / 0.723 GB, free: 86.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007159/1.284, allocations: 176.5 kB / 0.7232 GB, free: 86.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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.fire_n[1],inverter.fire_n[2],inverter.fire_n[3],inverter.fire_n[4],inverter.fire_n[5],inverter.fire_n[6],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,$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,$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,$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,$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,$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,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (460): * Single equations (assignments): 447 * 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.001105/1.285, allocations: 0.5219 MB / 0.7237 GB, free: 86.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007501/1.286, allocations: 463.6 kB / 0.7241 GB, free: 86.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/1.297, allocations: 7.168 MB / 0.7311 GB, free: 86.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.569e-05/1.297, allocations: 43.22 kB / 0.7312 GB, free: 86.28 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.297, allocations: 3.188 kB / 0.7312 GB, free: 86.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.285e-05/1.297, allocations: 22.36 kB / 0.7312 GB, free: 86.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0234/1.321, allocations: 13.54 MB / 0.7444 GB, free: 85.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.096e-05/1.321, allocations: 0 / 0.7444 GB, free: 85.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002781/1.323, allocations: 0.6123 MB / 0.745 GB, free: 85.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003065/1.327, allocations: 1.702 MB / 0.7467 GB, free: 85.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007349/1.327, allocations: 124.5 kB / 0.7468 GB, free: 85.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01905/1.346, allocations: 21.82 MB / 0.7681 GB, free: 71.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.346, allocations: 0 / 0.7681 GB, free: 71.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/1.36, allocations: 11.1 MB / 0.779 GB, free: 67.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00283/1.363, allocations: 1.169 MB / 0.7801 GB, free: 66.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001136/1.364, allocations: 164.9 kB / 0.7803 GB, free: 66.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003475/1.368, allocations: 457.1 kB / 0.7807 GB, free: 66.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001698/1.369, allocations: 0.8317 MB / 0.7815 GB, free: 66.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003549/1.37, allocations: 147.3 kB / 0.7816 GB, free: 66.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00424/1.374, allocations: 2.698 MB / 0.7843 GB, free: 65.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.9e-07/1.374, allocations: 0 / 0.7843 GB, free: 65.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009109/1.383, allocations: 2.244 MB / 0.7865 GB, free: 65.06 MB / 442.7 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.fire_n[1],inverter.fire_n[2],inverter.fire_n[3],inverter.fire_n[4],inverter.fire_n[5],inverter.fire_n[6],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].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.ySample,signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.count,signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.ySample,signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.count,signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.ySample,signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.count,signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.ySample,signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.count,signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.ySample,signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.count,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) * 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.01651/1.4, allocations: 12.27 MB / 0.7985 GB, free: 59.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01709/1.417, allocations: 13.1 MB / 0.8113 GB, free: 48.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.417, allocations: 4.781 kB / 0.8113 GB, free: 48.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006464/1.423, allocations: 5.106 MB / 0.8162 GB, free: 43.58 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004763/1.428, allocations: 0.9936 MB / 0.8172 GB, free: 42.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02299/1.451, allocations: 12.49 MB / 0.8294 GB, free: 32.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003309/1.454, allocations: 4.217 MB / 0.8335 GB, free: 29.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007317/1.462, allocations: 3.025 MB / 0.8365 GB, free: 27.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002812/1.465, allocations: 2.092 MB / 0.8385 GB, free: 25.61 MB / 442.7 MB Notification: Performance of SimCode: time 1.833e-06/1.465, allocations: 0 / 0.8385 GB, free: 25.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4092/1.874, allocations: 146.7 MB / 0.9817 GB, free: 44.79 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/1.874, allocations: 224.4 kB / 0.982 GB, free: 44.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.775/8.649, allocations: 1.719 kB / 0.982 GB, free: 44.55 MB / 458.7 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