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.001438/0.001438, allocations: 191.9 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 226.5 MB / 244.7 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007818/0.0007818, allocations: 84.36 kB / 296.7 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002159/0.000216, allocations: 8 kB / 356.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1924, allocations: 51.29 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.004582/0.1971, allocations: 5.682 MB / 413.7 MB, free: 22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002729/0.1998, allocations: 1.899 MB / 415.6 MB, free: 20.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000437/0.2003, allocations: 35.81 kB / 415.7 MB, free: 20.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.2006, allocations: 206.4 kB / 415.9 MB, free: 19.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008409/0.2015, allocations: 439.4 kB / 416.3 MB, free: 19.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006143/0.2021, allocations: 283.5 kB / 416.6 MB, free: 19.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002343/0.2045, allocations: 3.539 MB / 420.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.2064, allocations: 2.292 MB / 422.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.2076, allocations: 1.042 MB / 423.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.2088, allocations: 1.361 MB / 424.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002155/0.2091, allocations: 136 kB / 425 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.2094, allocations: 156 kB / 425.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003923/0.2098, allocations: 0.6538 MB / 425.8 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.2108, allocations: 1.339 MB / 427.1 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.213, allocations: 3.971 MB / 431.1 MB, free: 4.566 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.213, allocations: 0 / 431.1 MB, free: 4.566 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.213, allocations: 0 / 431.1 MB, free: 4.566 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.914e-05/0.2131, allocations: 3.938 kB / 431.1 MB, free: 4.562 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.005526/0.2187, allocations: 3.37 MB / 434.4 MB, free: 1.086 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2187, allocations: 8.031 kB / 434.5 MB, free: 1.078 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.2204, allocations: 0.5241 MB / 435 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003598/0.224, allocations: 2.198 MB / 437.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.2242, allocations: 217.6 kB / 437.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003597/0.2245, allocations: 259.8 kB / 437.6 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006079/0.2306, allocations: 3.909 MB / 441.5 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.746e-05/0.2307, allocations: 4 kB / 441.6 MB, free: 9.809 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/0.231, allocations: 103.9 kB / 441.7 MB, free: 9.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.799e-05/0.231, allocations: 96.7 kB / 441.7 MB, free: 9.609 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006001/0.2371, allocations: 3.594 MB / 445.3 MB, free: 6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01595/0.253, allocations: 10.63 MB / 456 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005268/0.2583, allocations: 4.001 MB / 460 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002512/0.2609, allocations: 1.698 MB / 461.7 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.261, allocations: 38.06 kB / 461.7 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003069/0.2641, allocations: 2.025 MB / 463.7 MB, free: 3.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=220): time 3.827e-06/0.2641, allocations: 3.938 kB / 463.7 MB, free: 3.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=220): time 0.01711/0.2812, allocations: 7.46 MB / 471.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.2814, allocations: 255.5 kB / 471.4 MB, free: 11.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.2841, allocations: 2.183 MB / 473.6 MB, free: 9.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.2843, allocations: 93.67 kB / 473.7 MB, free: 9.152 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008872/0.2852, allocations: 1.107 MB / 474.8 MB, free: 8.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005266/0.2857, allocations: 0.6626 MB / 475.5 MB, free: 7.363 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.2858, allocations: 44 kB / 475.5 MB, free: 7.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.286, allocations: 398.3 kB / 475.9 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002145/0.2882, allocations: 1.339 MB / 477.3 MB, free: 5.582 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/0.2907, allocations: 1.897 MB / 479.2 MB, free: 3.469 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004473/0.2952, allocations: 3.172 MB / 482.3 MB, free: 92 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.2952, allocations: 4 kB / 482.3 MB, free: 88 kB / 346.7 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006238/0.3015, allocations: 4.004 MB / 486.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003328/0.3018, allocations: 0.5764 MB / 486.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.3018, allocations: 12 kB / 486.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001803/0.3036, allocations: 0.8488 MB / 487.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.305, allocations: 407.3 kB / 488.2 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/0.3155, allocations: 7.885 MB / 496.1 MB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.3175, allocations: 357.7 kB / 496.4 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.3177, allocations: 87.98 kB / 496.5 MB, free: 1.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.3177, allocations: 4 kB / 496.5 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005708/0.3234, allocations: 3.67 MB / 0.4884 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.3234, allocations: 16 kB / 0.4885 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/0.3251, allocations: 0.8525 MB / 0.4893 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.3265, allocations: 363.4 kB / 0.4896 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.3367, allocations: 7.87 MB / 0.4973 GB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.3386, allocations: 309.9 kB / 0.4976 GB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.3388, allocations: 91.97 kB / 0.4977 GB, free: 4.211 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.001873/0.3407, allocations: 1.183 MB / 0.4989 GB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003623/0.341, allocations: 241.1 kB / 0.4991 GB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1603/0.5013, allocations: 3.741 MB / 0.5027 GB, free: 90.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-05/0.5014, allocations: 20.72 kB / 0.5028 GB, free: 90.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5014, allocations: 0.8438 kB / 0.5028 GB, free: 90.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.742e-05/0.5014, allocations: 14.53 kB / 0.5028 GB, free: 90.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009739/0.5112, allocations: 6.813 MB / 0.5094 GB, free: 89.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.5112, allocations: 7.812 kB / 0.5094 GB, free: 89.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.5125, allocations: 289 kB / 0.5097 GB, free: 89.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001778/0.5143, allocations: 0.833 MB / 0.5105 GB, free: 89.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.5144, allocations: 59.5 kB / 0.5106 GB, free: 89.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008324/0.5228, allocations: 7.846 MB / 0.5182 GB, free: 84.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5228, allocations: 0 / 0.5182 GB, free: 84.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007386/0.5302, allocations: 5.622 MB / 0.5237 GB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.5313, allocations: 0.6418 MB / 0.5244 GB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/0.5316, allocations: 75.95 kB / 0.5244 GB, free: 78.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.5328, allocations: 226.5 kB / 0.5247 GB, free: 78.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005135/0.5333, allocations: 296.7 kB / 0.5249 GB, free: 78.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.5335, allocations: 75.33 kB / 0.525 GB, free: 78.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001716/0.5352, allocations: 1.52 MB / 0.5265 GB, free: 76.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5352, allocations: 0 / 0.5265 GB, free: 76.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002545/0.5377, allocations: 1.353 MB / 0.5278 GB, free: 75.33 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.0003086/0.5381, allocations: 251.1 kB / 0.5281 GB, free: 75.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007728/0.5458, allocations: 6.191 MB / 0.5341 GB, free: 68.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.5458, allocations: 1 kB / 0.5341 GB, free: 68.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002721/0.5485, allocations: 2.12 MB / 0.5362 GB, free: 66.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.5509, allocations: 0.5879 MB / 0.5367 GB, free: 66.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008591/0.5595, allocations: 6.968 MB / 0.5436 GB, free: 59.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/0.561, allocations: 2.348 MB / 0.5458 GB, free: 56.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/0.5618, allocations: 171.4 kB / 0.546 GB, free: 56.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.5618, allocations: 4 kB / 0.546 GB, free: 56.59 MB / 378.7 MB Notification: Performance of Templates: time 0.05557/0.6174, allocations: 55.98 MB / 0.6007 GB, free: 0.6836 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