Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhaseTwoLevel.MultiPhaseTwoLevel_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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001743/0.001743, allocations: 195.3 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 225 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.92 kB / 281.3 MB, free: 3.148 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08034/0.08165, allocations: 46.62 MB / 328 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R): time 0.007957/0.08965, allocations: 6.244 MB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.09358, allocations: 1.902 MB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.0947, allocations: 31.81 kB / 336.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008549/0.09557, allocations: 277.7 kB / 336.4 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.09728, allocations: 493 kB / 336.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.09838, allocations: 447.2 kB / 337.3 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003941/0.1023, allocations: 3.672 MB / 341 MB, free: 7.352 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003366/0.1057, allocations: 2.489 MB / 343.5 MB, free: 4.801 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.1079, allocations: 1.542 MB / 345 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002671/0.1106, allocations: 1.786 MB / 346.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.1117, allocations: 404 kB / 347.2 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.1129, allocations: 396 kB / 347.6 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00126/0.1142, allocations: 0.9817 MB / 348.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002333/0.1165, allocations: 1.719 MB / 350.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004523/0.121, allocations: 4.908 MB / 355.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1211, allocations: 4 kB / 355.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1211, allocations: 0 / 355.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001322/0.1212, allocations: 0 / 355.2 MB, free: 9.043 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 602 * Number of variables: 602 Notification: Performance of Generate backend data structure: time 0.0092/0.1304, allocations: 3.823 MB / 359 MB, free: 5.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1305, allocations: 12.03 kB / 359.1 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007019/0.1312, allocations: 337 kB / 359.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00415/0.1354, allocations: 2.076 MB / 361.5 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.1356, allocations: 201.5 kB / 361.7 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005616/0.1362, allocations: 247.9 kB / 361.9 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007268/0.1435, allocations: 3.822 MB / 365.7 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.416e-05/0.1436, allocations: 15.84 kB / 365.7 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002782/0.1439, allocations: 99.98 kB / 365.8 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.363e-05/0.144, allocations: 88.62 kB / 365.9 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006477/0.1505, allocations: 3.472 MB / 369.4 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01797/0.1685, allocations: 10.35 MB / 379.7 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.144/0.3125, allocations: 3.917 MB / 383.7 MB, free: 50.53 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002773/0.3153, allocations: 1.656 MB / 385.3 MB, free: 50.01 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.3154, allocations: 33.42 kB / 385.3 MB, free: 50.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003416/0.3188, allocations: 1.985 MB / 387.3 MB, free: 49.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=220): time 4.889e-06/0.3189, allocations: 0 / 387.3 MB, free: 49.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=220): time 0.01836/0.3372, allocations: 7.299 MB / 394.6 MB, free: 46.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.3374, allocations: 259.2 kB / 394.9 MB, free: 46.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002829/0.3402, allocations: 2.107 MB / 397 MB, free: 45.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004235/0.3407, allocations: 92.92 kB / 397.1 MB, free: 45.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007985/0.3415, allocations: 1.055 MB / 398.1 MB, free: 44.76 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006484/0.3421, allocations: 0.6638 MB / 398.8 MB, free: 44.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005873/0.3427, allocations: 437.6 kB / 399.2 MB, free: 43.97 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.3428, allocations: 304.2 kB / 399.5 MB, free: 43.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/0.3447, allocations: 1.301 MB / 400.8 MB, free: 43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.3468, allocations: 1.842 MB / 402.7 MB, free: 41.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003746/0.3506, allocations: 3.066 MB / 405.7 MB, free: 37.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.3506, allocations: 9.875 kB / 405.7 MB, free: 37.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005666/0.3563, allocations: 3.878 MB / 409.6 MB, free: 33.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.458e-05/0.3564, allocations: 93.09 kB / 409.7 MB, free: 33.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.619e-05/0.3564, allocations: 19.94 kB / 409.7 MB, free: 33.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/0.3582, allocations: 0.8554 MB / 410.6 MB, free: 32.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.3598, allocations: 391.3 kB / 411 MB, free: 32.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009277/0.369, allocations: 8.525 MB / 419.5 MB, free: 23.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/0.3712, allocations: 325.7 kB / 419.8 MB, free: 23.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002472/0.3714, allocations: 87.98 kB / 419.9 MB, free: 23.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003209/0.3747, allocations: 2.112 MB / 422 MB, free: 21.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001974/0.3767, allocations: 1.76 MB / 423.8 MB, free: 19.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003508/0.3802, allocations: 2.938 MB / 426.7 MB, free: 16.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.003e-05/0.3802, allocations: 7.828 kB / 426.7 MB, free: 16.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.005135/0.3854, allocations: 3.739 MB / 430.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.369e-05/0.3854, allocations: 97.09 kB / 430.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.3855, allocations: 16 kB / 430.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.387, allocations: 0.8484 MB / 431.4 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.3883, allocations: 351.5 kB / 431.8 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009083/0.3974, allocations: 8.529 MB / 440.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/0.3999, allocations: 290.2 kB / 440.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.4001, allocations: 92.64 kB / 440.7 MB, free: 2.02 MB / 318.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,$PRE.fundamentalWaveVoltage[3].mean2.y,fundamentalWaveVoltage[3].mean1.y,$PRE.fundamentalWaveVoltage[3].mean1.y,fundamentalWaveVoltage[2].mean2.y,$PRE.fundamentalWaveVoltage[2].mean2.y,fundamentalWaveVoltage[2].mean1.y,$PRE.fundamentalWaveVoltage[2].mean1.y,fundamentalWaveVoltage[1].mean2.y,$PRE.fundamentalWaveVoltage[1].mean2.y,fundamentalWaveVoltage[1].mean1.y,$PRE.fundamentalWaveVoltage[1].mean1.y,fundamentalWaveCurrent[3].mean2.y,$PRE.fundamentalWaveCurrent[3].mean2.y,fundamentalWaveCurrent[3].mean1.y,$PRE.fundamentalWaveCurrent[3].mean1.y,fundamentalWaveCurrent[2].mean2.y,$PRE.fundamentalWaveCurrent[2].mean2.y,fundamentalWaveCurrent[2].mean1.y,$PRE.fundamentalWaveCurrent[2].mean1.y,fundamentalWaveCurrent[1].mean2.y,$PRE.fundamentalWaveCurrent[1].mean2.y,fundamentalWaveCurrent[1].mean1.y,$PRE.fundamentalWaveCurrent[1].mean1.y,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.0007982/0.4009, allocations: 391 kB / 441 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/0.4013, allocations: 233.2 kB / 441.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006424/0.4078, allocations: 3.652 MB / 444.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.4078, allocations: 27.92 kB / 444.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.4078, allocations: 4 kB / 445 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.4079, allocations: 9.062 kB / 445 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.4197, allocations: 6.678 MB / 451.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.4197, allocations: 3.062 kB / 451.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.4211, allocations: 271.6 kB / 451.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/0.423, allocations: 0.8404 MB / 452.7 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003017/0.4233, allocations: 55.95 kB / 452.8 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/0.435, allocations: 8.494 MB / 461.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4351, allocations: 0 / 461.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009896/0.445, allocations: 5.487 MB / 466.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/0.4466, allocations: 0.6309 MB / 467.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005253/0.4472, allocations: 75.95 kB / 467.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/0.4488, allocations: 195.7 kB / 467.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006911/0.4495, allocations: 297.5 kB / 468 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/0.4496, allocations: 71.91 kB / 468 MB, free: 6.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002285/0.4519, allocations: 1.465 MB / 469.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4519, allocations: 3.938 kB / 469.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003912/0.4559, allocations: 1.336 MB / 470.8 MB, free: 3.551 MB / 350.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,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) * 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.0004506/0.4563, allocations: 247.3 kB / 471.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.01594/0.4723, allocations: 8.09 MB / 479.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/0.4724, allocations: 10.03 kB / 479.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00385/0.4762, allocations: 2.09 MB / 481.3 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/0.479, allocations: 0.6096 MB / 481.9 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.4897, allocations: 6.022 MB / 487.9 MB, free: 2.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/0.4918, allocations: 2.306 MB / 490.2 MB, free: 12 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007967/0.4926, allocations: 175.4 kB / 490.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4926, allocations: 0 / 490.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of Templates: time 0.2113/0.704, allocations: 55.05 MB / 0.5326 GB, free: 130.4 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCAC/MultiPhaseTwoLevel/MultiPhaseTwoLevel_R/MultiPhaseTwoLevel_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches