Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.0007994/0.0007994, allocations: 95.53 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008755/0.0008756, allocations: 197.5 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.3 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002039/0.0002039, allocations: 12 kB / 306.8 MB, free: 1.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1099, allocations: 51.49 MB / 358.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.006617/0.1165, allocations: 5.94 MB / 364.3 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004465/0.1211, allocations: 1.98 MB / 366.2 MB, free: 6.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.1222, allocations: 43.75 kB / 366.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006686/0.1229, allocations: 218.3 kB / 366.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.1243, allocations: 457.5 kB / 366.9 MB, free: 5.312 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009051/0.1252, allocations: 311.5 kB / 367.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1928/0.3181, allocations: 6.526 MB / 373.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00588/0.324, allocations: 3.621 MB / 377.4 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004304/0.3283, allocations: 1.999 MB / 379.4 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006308/0.3347, allocations: 2.902 MB / 382.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001899/0.3366, allocations: 283.6 kB / 382.6 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/0.3398, allocations: 294.4 kB / 382.9 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002494/0.3423, allocations: 1.336 MB / 384.2 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003006/0.3453, allocations: 1.146 MB / 385.3 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008439/0.3538, allocations: 8.138 MB / 393.5 MB, free: 4.047 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3538, allocations: 0 / 393.5 MB, free: 4.047 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3538, allocations: 1.5 kB / 393.5 MB, free: 4.047 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003349/0.3541, allocations: 0 / 393.5 MB, free: 4.047 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1268 * Number of variables: 1268 Notification: Performance of Generate backend data structure: time 0.01581/0.37, allocations: 6.758 MB / 400.2 MB, free: 15.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.37, allocations: 17.64 kB / 400.3 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002529/0.3726, allocations: 0.6793 MB / 400.9 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004824/0.3774, allocations: 1.056 MB / 402 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009279/0.3867, allocations: 4.048 MB / 406 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005746/0.3873, allocations: 448.1 kB / 406.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001756/0.3891, allocations: 0.5155 MB / 407 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01873/0.4078, allocations: 8.1 MB / 415.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001685/0.408, allocations: 15.84 kB / 415.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008517/0.4089, allocations: 215.9 kB / 415.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/0.4091, allocations: 185.7 kB / 415.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01622/0.4253, allocations: 7.473 MB / 423 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04176/0.4671, allocations: 21.63 MB / 444.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02019/0.4874, allocations: 8.247 MB / 452.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01061/0.498, allocations: 3.925 MB / 456.8 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004169/0.4985, allocations: 70.31 kB / 456.8 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009085/0.5076, allocations: 4.177 MB / 461 MB, free: 3.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=457): time 7.524e-06/0.5076, allocations: 0 / 461 MB, free: 3.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=458): time 0.04316/0.5508, allocations: 19.55 MB / 480.6 MB, free: 15.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000318/0.5511, allocations: 467.2 kB / 481 MB, free: 15.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007832/0.559, allocations: 4.177 MB / 485.2 MB, free: 11.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001432/0.5604, allocations: 173.6 kB / 485.4 MB, free: 10.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002588/0.5631, allocations: 2.17 MB / 487.6 MB, free: 8.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002385/0.5655, allocations: 1.405 MB / 489 MB, free: 7.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004495/0.5659, allocations: 92 kB / 489 MB, free: 7.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003616/0.5663, allocations: 491.9 kB / 489.5 MB, free: 6.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005454/0.5718, allocations: 2.843 MB / 492.4 MB, free: 3.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006987/0.5788, allocations: 3.906 MB / 496.3 MB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006424/0.5853, allocations: 3.284 MB / 499.6 MB, free: 12.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.451e-05/0.5853, allocations: 8 kB / 499.6 MB, free: 12.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01701/0.6023, allocations: 8.338 MB / 0.496 GB, free: 3.891 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008032/0.6032, allocations: 1.005 MB / 0.497 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.122e-05/0.6032, allocations: 28 kB / 0.497 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003575/0.6068, allocations: 1.732 MB / 0.4987 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003498/0.6103, allocations: 0.8151 MB / 0.4995 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02467/0.635, allocations: 22 MB / 0.521 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00474/0.6398, allocations: 479.6 kB / 0.5214 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007415/0.6406, allocations: 172 kB / 0.5216 GB, free: 8.363 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.6406, allocations: 4 kB / 0.5216 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01381/0.6544, allocations: 7.718 MB / 0.5291 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.6545, allocations: 28 kB / 0.5292 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2075/0.8621, allocations: 1.723 MB / 0.5309 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003634/0.8657, allocations: 0.7518 MB / 0.5316 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02318/0.8889, allocations: 22 MB / 0.5531 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004587/0.8936, allocations: 405.8 kB / 0.5535 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008024/0.8944, allocations: 188.5 kB / 0.5536 GB, free: 126.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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,$whenCondition28,signalPWM[5].zeroOrderHold.sampleTrigger,$whenCondition30,signalPWM[4].zeroOrderHold.sampleTrigger,$whenCondition32,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition34,signalPWM[2].zeroOrderHold.sampleTrigger,$whenCondition36,signalPWM[1].zeroOrderHold.sampleTrigger,$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,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,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,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,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,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,signalPWM[6].zeroOrderHold.ySample,$PRE.signalPWM[6].sawtooth.T_start,signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].sawtooth.count,signalPWM[6].sawtooth.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (461): * Single equations (assignments): 448 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 18} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of prepare postOptimizeDAE: time 0.004874/0.8993, allocations: 2.251 MB / 0.5558 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/0.9005, allocations: 474.3 kB / 0.5563 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.914, allocations: 7.975 MB / 0.5641 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.019e-05/0.9141, allocations: 42.75 kB / 0.5641 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.9141, allocations: 11.55 kB / 0.5641 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-05/0.9141, allocations: 18.28 kB / 0.5641 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02167/0.9358, allocations: 14.07 MB / 0.5779 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.9359, allocations: 7.938 kB / 0.5779 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002273/0.9381, allocations: 0.593 MB / 0.5785 GB, free: 110.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002979/0.9411, allocations: 1.695 MB / 0.5801 GB, free: 108.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005383/0.9417, allocations: 127.9 kB / 0.5803 GB, free: 108.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01907/0.9608, allocations: 21.84 MB / 0.6016 GB, free: 86.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.9608, allocations: 8.031 kB / 0.6016 GB, free: 86.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02537/0.9862, allocations: 11.73 MB / 0.613 GB, free: 74.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00455/0.9908, allocations: 1.167 MB / 0.6142 GB, free: 73.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001798/0.9926, allocations: 171.9 kB / 0.6144 GB, free: 73.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003239/0.9959, allocations: 463.5 kB / 0.6148 GB, free: 72.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001366/0.9973, allocations: 0.7293 MB / 0.6155 GB, free: 72.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003108/0.9976, allocations: 147.9 kB / 0.6156 GB, free: 71.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004477/1.002, allocations: 2.891 MB / 0.6185 GB, free: 69 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.002, allocations: 4 kB / 0.6185 GB, free: 68.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01101/1.013, allocations: 2.227 MB / 0.6206 GB, free: 66.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 29 (fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,inductor.inductor[2].i,inductor.inductor[3].i,inductor.inductor[4].i,inductor.inductor[5].i,inductor.inductor[6].i) * Number of discrete variables: 132 (signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.sampleTrigger,signalPWM[4].zeroOrderHold.sampleTrigger,signalPWM[5].zeroOrderHold.sampleTrigger,signalPWM[6].zeroOrderHold.sampleTrigger,$whenCondition36,$whenCondition35,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_p[4].y,inverter.andCondition_p[5].y,inverter.andCondition_p[6].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.andCondition_n[4].y,inverter.andCondition_n[5].y,inverter.andCondition_n[6].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[6].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[6].off,signalPWM[1].notFire,signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.ySample,signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.count,signalPWM[2].notFire,signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.ySample,signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.count,signalPWM[3].notFire,signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.ySample,signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.count,signalPWM[4].notFire,signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.ySample,signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.count,signalPWM[5].notFire,signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.ySample,signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.count,signalPWM[6].notFire,signalPWM[6].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.ySample,signalPWM[6].sawtooth.T_start,signalPWM[6].sawtooth.count,fundamentalWaveCurrent[1].mean1.y_last,fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[6].mean2.y_last,fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[6].mean2.y_last) * Number of discrete states: 36 (signalPWM[1].sawtooth.count,signalPWM[2].sawtooth.count,signalPWM[3].sawtooth.count,signalPWM[4].sawtooth.count,signalPWM[5].sawtooth.count,signalPWM[6].sawtooth.count,fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,signalPWM[6].zeroOrderHold.ySample,signalPWM[5].zeroOrderHold.ySample,signalPWM[4].zeroOrderHold.ySample,signalPWM[3].zeroOrderHold.ySample,signalPWM[2].zeroOrderHold.ySample,signalPWM[1].zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (344): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 48 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 18} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.01844/1.032, allocations: 12.63 MB / 0.633 GB, free: 54.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02115/1.053, allocations: 13.8 MB / 0.6465 GB, free: 39.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/1.053, allocations: 4.656 kB / 0.6465 GB, free: 39.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008147/1.061, allocations: 5.254 MB / 0.6516 GB, free: 34.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006175/1.067, allocations: 1.123 MB / 0.6527 GB, free: 33.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2821/1.349, allocations: 47.26 MB / 0.6988 GB, free: 144.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006882/1.356, allocations: 4.187 MB / 0.7029 GB, free: 143.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006205/1.362, allocations: 1.987 MB / 0.7049 GB, free: 143.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00412/1.367, allocations: 2.193 MB / 0.707 GB, free: 143.8 MB / 462.1 MB Notification: Performance of SimCode: time 2.324e-06/1.367, allocations: 0 / 0.707 GB, free: 143.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1938/1.56, allocations: 143.4 MB / 0.847 GB, free: 20.54 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/1.561, allocations: 268.9 kB / 0.8473 GB, free: 20.18 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.073/7.633, allocations: 3.281 kB / 0.8473 GB, free: 20.18 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL_res.mat does not exist to compare? outputFormat=mat