Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|fundamentalWaveCurrent.1..mean1.y|fundamentalWaveCurrent.1..mean2.y|fundamentalWaveCurrent.2..mean1.y|fundamentalWaveCurrent.2..mean2.y|fundamentalWaveCurrent.3..mean1.y|fundamentalWaveCurrent.3..mean2.y|fundamentalWaveVoltage.1..mean1.y|fundamentalWaveVoltage.1..mean2.y|fundamentalWaveVoltage.2..mean1.y|fundamentalWaveVoltage.2..mean2.y|fundamentalWaveVoltage.3..mean1.y|fundamentalWaveVoltage.3..mean2.y|inverter.ac.pin.1..v|inverter.ac.pin.1..i|inverter.ac.pin.2..v|inverter.ac.pin.2..i|inverter.ac.pin.3..v|inverter.ac.pin.3..i|currentSensor.i.1.|currentSensor.i.2.|currentSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|fundamentalWaveCurrent.1..mean1.y|fundamentalWaveCurrent.1..mean2.y|fundamentalWaveCurrent.2..mean1.y|fundamentalWaveCurrent.2..mean2.y|fundamentalWaveCurrent.3..mean1.y|fundamentalWaveCurrent.3..mean2.y|fundamentalWaveVoltage.1..mean1.y|fundamentalWaveVoltage.1..mean2.y|fundamentalWaveVoltage.2..mean1.y|fundamentalWaveVoltage.2..mean2.y|fundamentalWaveVoltage.3..mean1.y|fundamentalWaveVoltage.3..mean2.y|inverter.ac.pin.1..v|inverter.ac.pin.1..i|inverter.ac.pin.2..v|inverter.ac.pin.2..i|inverter.ac.pin.3..v|inverter.ac.pin.3..i|currentSensor.i.1.|currentSensor.i.2.|currentSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 194.8 kB / 17.05 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 226.6 MB / 244.4 MB, free: 8.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007286/0.0007286, allocations: 98.84 kB / 296.4 MB, free: 7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002107/0.0002107, allocations: 8 kB / 356.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.198, allocations: 51.29 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.00458/0.2027, allocations: 5.675 MB / 413.2 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.2054, allocations: 1.903 MB / 415.1 MB, free: 20.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004294/0.2058, allocations: 35.81 kB / 415.1 MB, free: 20.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.2062, allocations: 209.3 kB / 415.3 MB, free: 20 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008378/0.207, allocations: 429.6 kB / 415.8 MB, free: 19.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005892/0.2076, allocations: 283.6 kB / 416 MB, free: 19.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001929/0.2096, allocations: 3.508 MB / 419.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.211, allocations: 1.788 MB / 421.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.2121, allocations: 1.042 MB / 422.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.2132, allocations: 1.365 MB / 423.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.2135, allocations: 136 kB / 423.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003598/0.2139, allocations: 152 kB / 424 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003642/0.2142, allocations: 0.6538 MB / 424.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004526/0.2147, allocations: 0.5859 MB / 425.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00236/0.217, allocations: 3.963 MB / 429.2 MB, free: 6.035 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2171, allocations: 0 / 429.2 MB, free: 6.035 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2171, allocations: 4 kB / 429.2 MB, free: 6.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001118/0.2172, allocations: 0 / 429.2 MB, free: 6.031 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 614 * Number of variables: 614 Notification: Performance of Generate backend data structure: time 0.005697/0.2229, allocations: 3.394 MB / 432.6 MB, free: 2.531 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.2229, allocations: 8.031 kB / 432.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.2247, allocations: 0.5271 MB / 433.1 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/0.2278, allocations: 2.148 MB / 435.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.228, allocations: 209.1 kB / 435.5 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003618/0.2284, allocations: 252 kB / 435.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006341/0.2348, allocations: 3.909 MB / 439.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/0.2348, allocations: 7.906 kB / 439.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002491/0.2351, allocations: 99.98 kB / 439.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.007e-05/0.2352, allocations: 92.7 kB / 439.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006/0.2412, allocations: 3.598 MB / 443.4 MB, free: 7.504 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01639/0.2576, allocations: 10.63 MB / 454.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005488/0.2631, allocations: 4.005 MB / 458.1 MB, free: 8.551 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002606/0.2658, allocations: 1.698 MB / 459.8 MB, free: 6.852 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.4e-05/0.2659, allocations: 37.97 kB / 459.8 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003116/0.269, allocations: 2.016 MB / 461.8 MB, free: 4.773 MB / 330.7 MB Notification: Performance of pre-optimization done (n=220): time 3.527e-06/0.269, allocations: 0 / 461.8 MB, free: 4.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=220): time 0.01788/0.2869, allocations: 7.34 MB / 469.2 MB, free: 13.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.2871, allocations: 255.6 kB / 469.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002861/0.2899, allocations: 2.186 MB / 471.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002306/0.2902, allocations: 93.67 kB / 471.7 MB, free: 10.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009206/0.2911, allocations: 1.095 MB / 472.8 MB, free: 9.676 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005995/0.2917, allocations: 0.6664 MB / 473.5 MB, free: 9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.2919, allocations: 48 kB / 473.5 MB, free: 8.953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.292, allocations: 398.3 kB / 473.9 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.2943, allocations: 1.343 MB / 475.2 MB, free: 7.211 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002635/0.2969, allocations: 1.901 MB / 477.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/0.2994, allocations: 1.564 MB / 478.7 MB, free: 3.504 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.2994, allocations: 4 kB / 478.7 MB, free: 3.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006693/0.3061, allocations: 3.996 MB / 482.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004495/0.3066, allocations: 0.5843 MB / 483.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.3066, allocations: 16 kB / 483.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.3085, allocations: 0.8486 MB / 484.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.31, allocations: 403.3 kB / 484.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.3202, allocations: 7.901 MB / 492.5 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.3222, allocations: 357.7 kB / 492.8 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.3224, allocations: 83.98 kB / 492.9 MB, free: 4.945 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.133e-06/0.3224, allocations: 4 kB / 492.9 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005782/0.3282, allocations: 3.673 MB / 496.6 MB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.3282, allocations: 12 kB / 496.6 MB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/0.33, allocations: 0.8527 MB / 497.4 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.3313, allocations: 375.3 kB / 497.8 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.3415, allocations: 7.859 MB / 0.4938 GB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.3437, allocations: 306 kB / 0.4941 GB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.3439, allocations: 87.98 kB / 0.4942 GB, free: 7.621 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 90 ($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,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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[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,$whenCondition14,signalPWM[3].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.ySample,$whenCondition16,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.ySample,$whenCondition18,signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[1].zeroOrderHold.ySample,$whenCondition17,$whenCondition15,$whenCondition13,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,signalPWM[1].notFire,$PRE.signalPWM[1].zeroOrderHold.ySample,$PRE.signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].sawtooth.count,signalPWM[1].sawtooth.count,signalPWM[2].notFire,$PRE.signalPWM[2].zeroOrderHold.ySample,$PRE.signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].sawtooth.count,signalPWM[2].sawtooth.count,signalPWM[3].notFire,$PRE.signalPWM[3].zeroOrderHold.ySample,$PRE.signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].sawtooth.count,signalPWM[3].sawtooth.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (221): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {12 46} Notification: Performance of prepare postOptimizeDAE: time 0.002167/0.3461, allocations: 1.187 MB / 0.4953 GB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005576/0.3466, allocations: 241.1 kB / 0.4956 GB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00658/0.3532, allocations: 3.741 MB / 0.4992 GB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.3533, allocations: 24 kB / 0.4992 GB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3533, allocations: 4 kB / 0.4992 GB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/0.3533, allocations: 11.95 kB / 0.4993 GB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2454/0.5987, allocations: 6.81 MB / 0.5059 GB, free: 90.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.5987, allocations: 1.969 kB / 0.5059 GB, free: 90.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.6, allocations: 294 kB / 0.5062 GB, free: 90.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/0.6017, allocations: 0.83 MB / 0.507 GB, free: 90.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/0.6019, allocations: 58.22 kB / 0.5071 GB, free: 90.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009093/0.611, allocations: 7.843 MB / 0.5147 GB, free: 86.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.611, allocations: 0 / 0.5147 GB, free: 86.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007721/0.6188, allocations: 5.635 MB / 0.5202 GB, free: 82.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.62, allocations: 0.6422 MB / 0.5208 GB, free: 82.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/0.6203, allocations: 79.22 kB / 0.5209 GB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.6216, allocations: 218.1 kB / 0.5211 GB, free: 81.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005378/0.6222, allocations: 293.5 kB / 0.5214 GB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.6223, allocations: 71.95 kB / 0.5215 GB, free: 81.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001892/0.6242, allocations: 1.514 MB / 0.523 GB, free: 79.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6242, allocations: 3.969 kB / 0.523 GB, free: 79.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003729/0.6279, allocations: 1.348 MB / 0.5243 GB, free: 78.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].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) * Number of discrete variables: 66 (signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.sampleTrigger,$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_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].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,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,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) * Number of discrete states: 18 (signalPWM[1].sawtooth.count,signalPWM[2].sawtooth.count,signalPWM[3].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,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,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 (163): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {12 46} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003726/0.6283, allocations: 260 kB / 0.5245 GB, free: 78.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008157/0.6365, allocations: 6.19 MB / 0.5306 GB, free: 72.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/0.6365, allocations: 5 kB / 0.5306 GB, free: 72.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002948/0.6395, allocations: 2.128 MB / 0.5327 GB, free: 69.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/0.6422, allocations: 0.5921 MB / 0.5332 GB, free: 69.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009167/0.6514, allocations: 6.963 MB / 0.54 GB, free: 62.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/0.6529, allocations: 2.356 MB / 0.5423 GB, free: 60.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007067/0.6536, allocations: 175.4 kB / 0.5425 GB, free: 59.86 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6536, allocations: 0 / 0.5425 GB, free: 59.86 MB / 378.7 MB Notification: Performance of Templates: time 0.05539/0.709, allocations: 56.05 MB / 0.5972 GB, free: 3.887 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/PolyphaseTwoLevel/PolyphaseTwoLevel_R/PolyphaseTwoLevel_R.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches