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.001312/0.001312, allocations: 110.9 kB / 17.74 MB, free: 5.352 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.001636/0.001636, allocations: 192.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.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 47.94 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2454, allocations: 49.44 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.008353/0.2538, allocations: 6.313 MB / 407.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004151/0.258, allocations: 1.84 MB / 409.6 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.2591, allocations: 47.75 kB / 409.6 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008688/0.26, allocations: 281.6 kB / 409.9 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.2618, allocations: 493 kB / 410.4 MB, free: 28 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.263, allocations: 439.3 kB / 410.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004395/0.2674, allocations: 3.703 MB / 414.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003593/0.2711, allocations: 2.545 MB / 417.1 MB, free: 9.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/0.2733, allocations: 1.562 MB / 418.6 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002824/0.2761, allocations: 1.806 MB / 420.4 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.2773, allocations: 404 kB / 420.8 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.2786, allocations: 400 kB / 421.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.2801, allocations: 0.9934 MB / 422.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003252/0.2833, allocations: 1.738 MB / 423.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005992/0.2893, allocations: 5.044 MB / 429 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2894, allocations: 0 / 429 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2894, allocations: 0 / 429 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001994/0.2896, allocations: 4 kB / 429 MB, free: 13.3 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.01058/0.3002, allocations: 3.861 MB / 432.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3002, allocations: 12.03 kB / 432.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.3014, allocations: 344.9 kB / 433.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004948/0.3064, allocations: 2.189 MB / 435.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/0.3066, allocations: 181.1 kB / 435.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008714/0.3075, allocations: 256.1 kB / 435.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008444/0.3159, allocations: 3.878 MB / 439.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-05/0.3161, allocations: 15.84 kB / 439.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005473/0.3166, allocations: 95.98 kB / 439.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.3167, allocations: 96.7 kB / 439.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006981/0.3237, allocations: 3.512 MB / 443.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/0.3422, allocations: 10.35 MB / 453.8 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0058/0.348, allocations: 3.935 MB / 457.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002706/0.3508, allocations: 1.652 MB / 459.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.3509, allocations: 33.97 kB / 459.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003356/0.3543, allocations: 1.982 MB / 461.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=220): time 5.11e-06/0.3543, allocations: 0 / 461.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=220): time 0.01807/0.3724, allocations: 7.278 MB / 468.6 MB, free: 4.988 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/0.3726, allocations: 267.5 kB / 468.9 MB, free: 4.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/0.376, allocations: 2.092 MB / 471 MB, free: 2.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003945/0.3764, allocations: 101.6 kB / 471.1 MB, free: 2.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.3775, allocations: 1.055 MB / 472.1 MB, free: 1.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007884/0.3783, allocations: 0.6626 MB / 472.8 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000898/0.3792, allocations: 436.1 kB / 473.2 MB, free: 272 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3793, allocations: 301.1 kB / 473.5 MB, free: 15.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/0.3816, allocations: 1.302 MB / 474.8 MB, free: 14.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/0.3842, allocations: 1.842 MB / 476.7 MB, free: 12.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004744/0.389, allocations: 3.074 MB / 479.7 MB, free: 9.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.055e-05/0.389, allocations: 4 kB / 479.7 MB, free: 9.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006781/0.3958, allocations: 3.887 MB / 483.6 MB, free: 5.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.431e-05/0.3959, allocations: 103.6 kB / 483.7 MB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/0.396, allocations: 16 kB / 483.7 MB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/0.3979, allocations: 0.8488 MB / 484.6 MB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.3994, allocations: 383.3 kB / 485 MB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.4107, allocations: 8.523 MB / 493.5 MB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/0.4127, allocations: 325.8 kB / 493.8 MB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000388/0.4132, allocations: 87.98 kB / 493.9 MB, free: 10.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003943/0.4171, allocations: 2.116 MB / 496 MB, free: 8.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002584/0.4197, allocations: 1.76 MB / 497.8 MB, free: 6.844 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004377/0.4241, allocations: 2.938 MB / 0.489 GB, free: 3.695 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.48e-05/0.4241, allocations: 7.938 kB / 0.489 GB, free: 3.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.006343/0.4305, allocations: 3.735 MB / 0.4926 GB, free: 15.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.591e-05/0.4306, allocations: 109 kB / 0.4927 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.4306, allocations: 12 kB / 0.4927 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.4324, allocations: 0.8527 MB / 0.4936 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.4338, allocations: 347.4 kB / 0.4939 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.4448, allocations: 8.505 MB / 0.5022 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/0.4468, allocations: 290.3 kB / 0.5025 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003531/0.4472, allocations: 87.98 kB / 0.5026 GB, free: 5.57 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.0008624/0.4481, allocations: 395.5 kB / 0.503 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006369/0.4487, allocations: 241.1 kB / 0.5032 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00643/0.4552, allocations: 3.643 MB / 0.5067 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.4552, allocations: 20 kB / 0.5068 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4552, allocations: 0 / 0.5068 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.4552, allocations: 7.969 kB / 0.5068 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.4661, allocations: 6.681 MB / 0.5133 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.4661, allocations: 4 kB / 0.5133 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.4673, allocations: 279.5 kB / 0.5136 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/0.4691, allocations: 0.8287 MB / 0.5144 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/0.4693, allocations: 55.95 kB / 0.5144 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/0.4803, allocations: 8.496 MB / 0.5227 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4803, allocations: 0 / 0.5227 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009029/0.4893, allocations: 5.495 MB / 0.5281 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/0.4907, allocations: 0.6382 MB / 0.5287 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005601/0.4913, allocations: 79.89 kB / 0.5288 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/0.4928, allocations: 187.7 kB / 0.529 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006211/0.4934, allocations: 297.6 kB / 0.5293 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.4936, allocations: 71.95 kB / 0.5293 GB, free: 9.859 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002345/0.4959, allocations: 1.457 MB / 0.5307 GB, free: 8.379 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4959, allocations: 0 / 0.5307 GB, free: 8.379 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003993/0.4999, allocations: 1.344 MB / 0.5321 GB, free: 7.031 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.000467/0.5004, allocations: 264.9 kB / 0.5323 GB, free: 6.762 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009771/0.5102, allocations: 6.086 MB / 0.5383 GB, free: 0.582 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/0.5103, allocations: 1 kB / 0.5383 GB, free: 0.582 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1977/0.708, allocations: 2.085 MB / 0.5403 GB, free: 134.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/0.711, allocations: 0.6144 MB / 0.5409 GB, free: 134 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008495/0.7195, allocations: 6 MB / 0.5467 GB, free: 132.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/0.721, allocations: 2.317 MB / 0.549 GB, free: 131.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000642/0.7217, allocations: 178.5 kB / 0.5492 GB, free: 131.6 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.7217, allocations: 0 / 0.5492 GB, free: 131.6 MB / 462.1 MB Notification: Performance of Templates: time 0.05897/0.7806, allocations: 55.92 MB / 0.6038 GB, free: 78.28 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