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_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 114.8 kB / 17.74 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 188.5 kB / 18.67 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 43.94 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2464, allocations: 49.43 MB / 401.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.007974/0.2545, allocations: 6.314 MB / 407.7 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003999/0.2585, allocations: 1.848 MB / 409.6 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.2597, allocations: 47.75 kB / 409.6 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008955/0.2606, allocations: 277.6 kB / 409.9 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.2624, allocations: 493 kB / 410.4 MB, free: 36 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.2637, allocations: 439.3 kB / 410.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003976/0.2677, allocations: 3.696 MB / 414.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003176/0.2709, allocations: 2.557 MB / 417.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.273, allocations: 1.562 MB / 418.6 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/0.2757, allocations: 1.809 MB / 420.4 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001079/0.2768, allocations: 400 kB / 420.8 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.2781, allocations: 403.9 kB / 421.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001369/0.2794, allocations: 0.9934 MB / 422.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002696/0.2821, allocations: 1.734 MB / 423.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004309/0.2865, allocations: 5.036 MB / 429 MB, free: 13.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2865, allocations: 0 / 429 MB, free: 13.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2865, allocations: 4 kB / 429 MB, free: 13.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.856e-05/0.2866, allocations: 0 / 429 MB, free: 13.31 MB / 350.1 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.007546/0.2942, allocations: 3.868 MB / 432.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2942, allocations: 8.031 kB / 432.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005609/0.2948, allocations: 340.9 kB / 433.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003721/0.2985, allocations: 2.193 MB / 435.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.2987, allocations: 185.1 kB / 435.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000373/0.299, allocations: 256.1 kB / 435.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006327/0.3054, allocations: 3.87 MB / 439.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.907e-05/0.3055, allocations: 15.83 kB / 439.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/0.3057, allocations: 108 kB / 439.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.721e-05/0.3058, allocations: 92.7 kB / 439.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005958/0.3118, allocations: 3.519 MB / 443.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01516/0.327, allocations: 10.35 MB / 453.8 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005304/0.3323, allocations: 3.927 MB / 457.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00243/0.3348, allocations: 1.655 MB / 459.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.446e-05/0.3349, allocations: 34.2 kB / 459.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002966/0.3378, allocations: 1.978 MB / 461.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=220): time 3.998e-06/0.3379, allocations: 3.938 kB / 461.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=220): time 0.01807/0.3559, allocations: 7.281 MB / 468.6 MB, free: 4.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.3561, allocations: 267.5 kB / 468.9 MB, free: 4.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.3588, allocations: 2.088 MB / 471 MB, free: 2.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002217/0.359, allocations: 97.67 kB / 471.1 MB, free: 2.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008859/0.3599, allocations: 1.048 MB / 472.1 MB, free: 1.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005821/0.3605, allocations: 0.6743 MB / 472.8 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006327/0.3611, allocations: 428.1 kB / 473.2 MB, free: 280 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3612, allocations: 305.1 kB / 473.5 MB, free: 15.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/0.3635, allocations: 1.302 MB / 474.8 MB, free: 14.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/0.366, allocations: 1.846 MB / 476.7 MB, free: 12.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004524/0.3706, allocations: 3.074 MB / 479.8 MB, free: 9.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.3706, allocations: 7.938 kB / 479.8 MB, free: 9.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00639/0.377, allocations: 3.883 MB / 483.6 MB, free: 5.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.335e-05/0.3771, allocations: 99.64 kB / 483.7 MB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.3771, allocations: 15.94 kB / 483.8 MB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/0.3789, allocations: 0.8527 MB / 484.6 MB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.3805, allocations: 383.3 kB / 485 MB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/0.3914, allocations: 8.512 MB / 493.5 MB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.3935, allocations: 325.8 kB / 493.8 MB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.3936, allocations: 83.98 kB / 493.9 MB, free: 10.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003423/0.3971, allocations: 2.124 MB / 496 MB, free: 8.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002321/0.3994, allocations: 1.757 MB / 497.8 MB, free: 6.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004175/0.4036, allocations: 2.946 MB / 0.489 GB, free: 3.711 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.635e-05/0.4036, allocations: 4.109 kB / 0.489 GB, free: 3.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.006283/0.4099, allocations: 3.743 MB / 0.4926 GB, free: 15.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.452e-05/0.41, allocations: 97.03 kB / 0.4927 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.882e-05/0.4101, allocations: 16 kB / 0.4928 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/0.4118, allocations: 0.8445 MB / 0.4936 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.4133, allocations: 359.3 kB / 0.4939 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/0.4243, allocations: 8.509 MB / 0.5022 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/0.4266, allocations: 278.3 kB / 0.5025 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/0.4269, allocations: 91.98 kB / 0.5026 GB, free: 5.59 MB / 430.1 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 (signalPWM[1].zeroOrderHold.firstTrigger,$PRE.signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.firstTrigger,$PRE.signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.firstTrigger,$PRE.signalPWM[3].zeroOrderHold.firstTrigger,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWaveVoltage[3].mean2.y_last,$PRE.fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[3].mean1.y_last,$PRE.fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[2].mean2.y_last,$PRE.fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[2].mean1.y_last,$PRE.fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[1].mean2.y_last,$PRE.fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[1].mean1.y_last,$PRE.fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveCurrent[3].mean2.y_last,$PRE.fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[3].mean1.y_last,$PRE.fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[2].mean2.y_last,$PRE.fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[2].mean1.y_last,$PRE.fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[1].mean2.y_last,$PRE.fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[1].mean1.y_last,$PRE.fundamentalWaveCurrent[1].mean1.y_last,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition14,signalPWM[3].zeroOrderHold.ySample,signalPWM[2].zeroOrderHold.sampleTrigger,$whenCondition16,signalPWM[2].zeroOrderHold.ySample,signalPWM[1].zeroOrderHold.sampleTrigger,$whenCondition18,signalPWM[1].zeroOrderHold.ySample,signalPWM[3].sawtooth.count,$PRE.signalPWM[3].sawtooth.count,signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].zeroOrderHold.ySample,signalPWM[3].notFire,signalPWM[2].sawtooth.count,$PRE.signalPWM[2].sawtooth.count,signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].zeroOrderHold.ySample,signalPWM[2].notFire,signalPWM[1].sawtooth.count,$PRE.signalPWM[1].sawtooth.count,signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].zeroOrderHold.ySample,signalPWM[1].notFire,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[1].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[1].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[1].off,inverter.andCondition_n[3].y,inverter.andCondition_n[2].y,inverter.andCondition_n[1].y,inverter.andCondition_p[3].y,inverter.andCondition_p[2].y,inverter.andCondition_p[1].y,$whenCondition13,$whenCondition15,$whenCondition17) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,46)} Notification: Performance of prepare postOptimizeDAE: time 0.0007516/0.4276, allocations: 395.4 kB / 0.503 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/0.4281, allocations: 237.3 kB / 0.5032 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006425/0.4345, allocations: 3.651 MB / 0.5068 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.4346, allocations: 20 kB / 0.5068 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4346, allocations: 4 kB / 0.5068 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/0.4346, allocations: 11.95 kB / 0.5068 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.4458, allocations: 6.677 MB / 0.5133 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.4458, allocations: 3.984 kB / 0.5133 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/0.4472, allocations: 275.6 kB / 0.5136 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/0.449, allocations: 0.8326 MB / 0.5144 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/0.4492, allocations: 55.95 kB / 0.5144 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/0.4607, allocations: 8.48 MB / 0.5227 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4608, allocations: 0 / 0.5227 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009257/0.47, allocations: 5.498 MB / 0.5281 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/0.4714, allocations: 0.6383 MB / 0.5287 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003716/0.4717, allocations: 71.95 kB / 0.5288 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/0.4731, allocations: 191.7 kB / 0.529 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006089/0.4737, allocations: 297.6 kB / 0.5292 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/0.4739, allocations: 75.89 kB / 0.5293 GB, free: 9.883 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001878/0.4758, allocations: 1.461 MB / 0.5307 GB, free: 8.398 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4758, allocations: 0 / 0.5307 GB, free: 8.398 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003056/0.4789, allocations: 1.344 MB / 0.5321 GB, free: 7.051 MB / 462.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,46)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003843/0.4792, allocations: 264.7 kB / 0.5323 GB, free: 6.781 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009631/0.4889, allocations: 6.089 MB / 0.5383 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/0.4889, allocations: 5 kB / 0.5383 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2018/0.6907, allocations: 2.083 MB / 0.5403 GB, free: 134.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/0.6941, allocations: 0.6105 MB / 0.5409 GB, free: 134.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009178/0.7033, allocations: 5.988 MB / 0.5467 GB, free: 132.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/0.7049, allocations: 2.314 MB / 0.549 GB, free: 131.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006737/0.7056, allocations: 179.3 kB / 0.5492 GB, free: 131.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.7056, allocations: 0 / 0.5492 GB, free: 131.8 MB / 462.1 MB Notification: Performance of Templates: time 0.06037/0.766, allocations: 55.58 MB / 0.6034 GB, free: 78.69 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/PolyphaseTwoLevel/PolyphaseTwoLevel_R/PolyphaseTwoLevel_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches