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.0009711/0.000971, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.5 MB / 230.3 MB, free: 7.586 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.001003/0.001003, allocations: 102.5 kB / 281.2 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.318e-05/2.332e-05, allocations: 3.984 kB / 337.2 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1493, allocations: 50.43 MB / 387.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3946/0.5439, allocations: 91.13 MB / 478.7 MB, free: 3.555 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.5442, allocations: 87.94 kB / 478.8 MB, free: 3.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2111/0.7553, allocations: 82.7 MB / 0.5483 GB, free: 224 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7554, allocations: 0 / 0.5483 GB, free: 224 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005755/0.756, allocations: 135.9 kB / 0.5485 GB, free: 88 kB / 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.2743/1.03, allocations: 6.433 MB / 0.5547 GB, free: 87.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.03, allocations: 9.25 kB / 0.5548 GB, free: 87.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003766/1.034, allocations: 0.6658 MB / 0.5554 GB, free: 87.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009134/1.043, allocations: 3.647 MB / 0.559 GB, free: 86.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000332/1.044, allocations: 169.3 kB / 0.5591 GB, free: 86.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001889/1.046, allocations: 321.2 kB / 0.5594 GB, free: 86.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01393/1.06, allocations: 6.228 MB / 0.5655 GB, free: 86.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01571/1.075, allocations: 6.737 MB / 0.5721 GB, free: 85.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001417/1.075, allocations: 17.06 kB / 0.5721 GB, free: 85.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006137/1.076, allocations: 21.59 kB / 0.5721 GB, free: 85.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/1.076, allocations: 184.8 kB / 0.5723 GB, free: 85.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03452/1.111, allocations: 20.65 MB / 0.5925 GB, free: 81.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007993/1.119, allocations: 7.433 MB / 0.5997 GB, free: 77.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004458/1.123, allocations: 3.509 MB / 0.6032 GB, free: 76.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/1.124, allocations: 69.55 kB / 0.6032 GB, free: 76.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004942/1.129, allocations: 3.743 MB / 0.6069 GB, free: 75.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=457): time 6.853e-06/1.129, allocations: 0 / 0.6069 GB, free: 75.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=458): time 0.01914/1.148, allocations: 12.27 MB / 0.6189 GB, free: 70.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/1.148, allocations: 465.3 kB / 0.6193 GB, free: 70.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003893/1.152, allocations: 2.878 MB / 0.6221 GB, free: 69.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008606/1.153, allocations: 80.5 kB / 0.6222 GB, free: 69.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001572/1.154, allocations: 2.062 MB / 0.6242 GB, free: 67.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001305/1.156, allocations: 1.333 MB / 0.6255 GB, free: 66.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/1.156, allocations: 3.594 kB / 0.6255 GB, free: 66.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002082/1.156, allocations: 490.1 kB / 0.626 GB, free: 66.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0028/1.159, allocations: 2.442 MB / 0.6284 GB, free: 65.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003361/1.162, allocations: 3.474 MB / 0.6318 GB, free: 62.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/1.165, allocations: 2.698 MB / 0.6344 GB, free: 60.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.169e-05/1.165, allocations: 8 kB / 0.6344 GB, free: 60.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.009892/1.175, allocations: 7.01 MB / 0.6412 GB, free: 54.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002024/1.177, allocations: 11.49 MB / 0.6525 GB, free: 41.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.397e-05/1.177, allocations: 27.94 kB / 0.6525 GB, free: 41.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003202/1.181, allocations: 1.701 MB / 0.6542 GB, free: 40.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003438/1.184, allocations: 0.8199 MB / 0.655 GB, free: 39.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01896/1.203, allocations: 21.31 MB / 0.6758 GB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005517/1.209, allocations: 388 kB / 0.6761 GB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/1.21, allocations: 182.6 kB / 0.6763 GB, free: 19.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/1.21, allocations: 4 kB / 0.6763 GB, free: 19.61 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008811/1.219, allocations: 6.591 MB / 0.6827 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.412e-05/1.219, allocations: 24 kB / 0.6828 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/1.222, allocations: 1.685 MB / 0.6844 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003163/1.225, allocations: 0.7636 MB / 0.6852 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02117/1.246, allocations: 21.31 MB / 0.706 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/1.251, allocations: 311.7 kB / 0.7063 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009111/1.252, allocations: 176 kB / 0.7064 GB, free: 6.43 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.001281/1.253, allocations: 373.3 kB / 0.7068 GB, free: 6.066 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.2528/1.506, allocations: 6.322 MB / 0.713 GB, free: 89.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002173/1.508, allocations: 421 kB / 0.7134 GB, free: 89.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/1.524, allocations: 6.742 MB / 0.72 GB, free: 89.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.627e-05/1.524, allocations: 44.27 kB / 0.72 GB, free: 89.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.411e-05/1.524, allocations: 3.594 kB / 0.72 GB, free: 89.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-05/1.525, allocations: 21.75 kB / 0.72 GB, free: 89.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02815/1.553, allocations: 12.55 MB / 0.7323 GB, free: 89.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/1.553, allocations: 2.938 kB / 0.7323 GB, free: 89.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/1.556, allocations: 0.6128 MB / 0.7329 GB, free: 89.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003108/1.559, allocations: 1.664 MB / 0.7345 GB, free: 89.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008216/1.56, allocations: 73.98 kB / 0.7346 GB, free: 89.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01829/1.578, allocations: 21.2 MB / 0.7553 GB, free: 80.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.578, allocations: 0 / 0.7553 GB, free: 80.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/1.591, allocations: 10.69 MB / 0.7657 GB, free: 76.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002636/1.594, allocations: 1.116 MB / 0.7668 GB, free: 76.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/1.595, allocations: 95.05 kB / 0.7669 GB, free: 76.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003382/1.598, allocations: 403.5 kB / 0.7673 GB, free: 76.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001551/1.6, allocations: 0.8228 MB / 0.7681 GB, free: 76.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003062/1.6, allocations: 146.4 kB / 0.7682 GB, free: 75.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002771/1.603, allocations: 2.154 MB / 0.7703 GB, free: 75.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.603, allocations: 0 / 0.7703 GB, free: 75.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008364/1.611, allocations: 1.957 MB / 0.7722 GB, free: 75.2 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.01344/1.625, allocations: 11.81 MB / 0.7838 GB, free: 70.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01559/1.64, allocations: 12.55 MB / 0.796 GB, free: 64.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.641, allocations: 6 kB / 0.796 GB, free: 64.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006554/1.647, allocations: 4.934 MB / 0.8008 GB, free: 62.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00496/1.652, allocations: 0.8433 MB / 0.8017 GB, free: 61.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/1.673, allocations: 11.99 MB / 0.8134 GB, free: 51.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0034/1.676, allocations: 4.218 MB / 0.8175 GB, free: 48.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006296/1.683, allocations: 2.76 MB / 0.8202 GB, free: 46.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002561/1.685, allocations: 2.053 MB / 0.8222 GB, free: 44.97 MB / 442.7 MB Notification: Performance of SimCode: time 6.61e-07/1.685, allocations: 0 / 0.8222 GB, free: 44.97 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3917/2.077, allocations: 131.4 MB / 0.9505 GB, free: 80.36 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/2.077, allocations: 189.3 kB / 0.9507 GB, free: 80.16 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.238/8.315, allocations: 2.297 kB / 0.9507 GB, free: 80.16 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