Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.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.ThreePhaseTwoLevel_PWM,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|filter.1..x.1.|filter.1..x.2.|filter.2..x.1.|filter.2..x.2.|harmonic.mean1.x|harmonic.mean2.x|harmonic.y_rms|harmonic.y_arg|integrator.y|potentialSensor.phi.1.|potentialSensor.phi.2.|potentialSensor.phi.3.|toPolar.y.1.|toPolar.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|filter.1..x.1.|filter.1..x.2.|filter.2..x.1.|filter.2..x.2.|harmonic.mean1.x|harmonic.mean2.x|harmonic.y_rms|harmonic.y_arg|integrator.y|potentialSensor.phi.1.|potentialSensor.phi.2.|potentialSensor.phi.3.|toPolar.y.1.|toPolar.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009829/0.000983, allocations: 112.6 kB / 16.51 MB, free: 6.707 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.001118/0.001118, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.295/1.295, allocations: 222.9 MB / 241.1 MB, free: 13.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009747/0.0009747, allocations: 46.45 kB / 300 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08386/0.08485, allocations: 49.45 MB / 349.4 MB, free: 4.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM): time 0.007275/0.09217, allocations: 6.068 MB / 355.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008355/0.1006, allocations: 4.95 MB / 360.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.1017, allocations: 31.81 kB / 360.5 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006909/0.1024, allocations: 226.5 kB / 360.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.1036, allocations: 445.8 kB / 361.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.1068, allocations: 1.373 MB / 362.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002293/0.1091, allocations: 2.594 MB / 365.1 MB, free: 4.844 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.1105, allocations: 1.32 MB / 366.4 MB, free: 3.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.1115, allocations: 0.9147 MB / 367.3 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.1127, allocations: 1.113 MB / 368.4 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.113, allocations: 132 kB / 368.6 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005163/0.1135, allocations: 267.7 kB / 368.8 MB, free: 1.055 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005319/0.114, allocations: 0.6192 MB / 369.4 MB, free: 444 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1646/0.2786, allocations: 1.032 MB / 370.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0033/0.282, allocations: 3.352 MB / 373.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.282, allocations: 4.156 kB / 373.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.282, allocations: 4 kB / 373.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.272e-05/0.282, allocations: 0.6875 kB / 373.8 MB, free: 12.16 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: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.006348/0.2884, allocations: 2.835 MB / 376.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2884, allocations: 9.625 kB / 376.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004048/0.2889, allocations: 233.4 kB / 376.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.2908, allocations: 1.342 MB / 378.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001684/0.2925, allocations: 430.8 kB / 378.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002921/0.2928, allocations: 162.8 kB / 378.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007014/0.2998, allocations: 3.012 MB / 381.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.676e-05/0.2999, allocations: 4.625 kB / 381.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002072/0.3001, allocations: 65.5 kB / 381.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.707e-05/0.3002, allocations: 65.31 kB / 382 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009287/0.3095, allocations: 3.372 MB / 385.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01221/0.3217, allocations: 8.096 MB / 393.4 MB, free: 3.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005302/0.327, allocations: 2.428 MB / 395.9 MB, free: 2.715 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004236/0.3313, allocations: 1.753 MB / 397.6 MB, free: 1.883 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.3314, allocations: 15.55 kB / 397.6 MB, free: 1.883 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00417/0.3355, allocations: 1.609 MB / 399.2 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of pre-optimization done (n=141): time 3.367e-06/0.3356, allocations: 2.75 kB / 399.3 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of matching and sorting (n=141): time 0.01727/0.3528, allocations: 5.991 MB / 405.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.353, allocations: 290.3 kB / 405.5 MB, free: 11.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.3551, allocations: 1.534 MB / 407.1 MB, free: 9.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.3552, allocations: 65.69 kB / 407.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005773/0.3558, allocations: 0.6909 MB / 407.8 MB, free: 8.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003955/0.3562, allocations: 446 kB / 408.3 MB, free: 8.293 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005475/0.3568, allocations: 334.2 kB / 408.6 MB, free: 7.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.3569, allocations: 305.1 kB / 408.9 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00404/0.3609, allocations: 1.334 MB / 410.2 MB, free: 6.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004138/0.3651, allocations: 1.666 MB / 411.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007885/0.373, allocations: 2.871 MB / 414.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.373, allocations: 0 / 414.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.009519/0.3825, allocations: 3.591 MB / 418.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.3826, allocations: 33.7 kB / 418.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.119e-05/0.3826, allocations: 20.2 kB / 418.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/0.3844, allocations: 0.7944 MB / 419.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008728/0.3853, allocations: 235.9 kB / 419.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.3968, allocations: 10.03 MB / 429.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/0.3997, allocations: 443.9 kB / 429.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003084/0.4, allocations: 133.3 kB / 430 MB, free: 2.004 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 53 (pwm.svPWM.firstTrigger,$PRE.pwm.svPWM.firstTrigger,pwm.svPWM.phiSec,$PRE.pwm.svPWM.phiSec,pwm.svPWM.phiPos,$PRE.pwm.svPWM.phiPos,pwm.svPWM.phiRef,$PRE.pwm.svPWM.phiRef,pwm.svPWM.uRef,$PRE.pwm.svPWM.uRef,$whenCondition3,$whenCondition2,harmonic.mean2.y_last,$PRE.harmonic.mean2.y_last,harmonic.mean1.y_last,$PRE.harmonic.mean1.y_last,pwm.svPWM.sampleTrigger,$whenCondition1,$whenCondition4,multiPhase2Level.diode_n.idealDiode[3].off,multiPhase2Level.diode_n.idealDiode[2].off,multiPhase2Level.diode_n.idealDiode[1].off,multiPhase2Level.transistor_n.idealGTOThyristor[3].off,multiPhase2Level.transistor_n.idealGTOThyristor[2].off,multiPhase2Level.transistor_n.idealGTOThyristor[1].off,multiPhase2Level.diode_p.idealDiode[3].off,multiPhase2Level.diode_p.idealDiode[2].off,multiPhase2Level.diode_p.idealDiode[1].off,multiPhase2Level.transistor_p.idealGTOThyristor[3].off,multiPhase2Level.transistor_p.idealGTOThyristor[2].off,multiPhase2Level.transistor_p.idealGTOThyristor[1].off,multiPhase2Level.andCondition_n[3].y,multiPhase2Level.andCondition_n[2].y,multiPhase2Level.andCondition_n[1].y,multiPhase2Level.andCondition_p[3].y,multiPhase2Level.andCondition_p[2].y,multiPhase2Level.andCondition_p[1].y,pwm.svPWM.T0,$PRE.pwm.svPWM.T0,pwm.svPWM.t0,$PRE.pwm.svPWM.t0,pwm.svPWM.tb,$PRE.pwm.svPWM.tb,pwm.svPWM.ta,$PRE.pwm.svPWM.ta,pwm.svPWM.kb,$PRE.pwm.svPWM.kb,pwm.svPWM.ka,$PRE.pwm.svPWM.ka,pwm.fire_n[3],pwm.fire_n[2],pwm.fire_n[1],integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 123 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(4,15), (4,15), (4,15)} Notification: Performance of prepare postOptimizeDAE: time 0.00145/0.4015, allocations: 0.7499 MB / 430.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004939/0.402, allocations: 169.9 kB / 430.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009901/0.4119, allocations: 3.58 MB / 434.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4119, allocations: 12 kB / 434.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4119, allocations: 4 kB / 434.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.4119, allocations: 11.91 kB / 434.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.4259, allocations: 6.098 MB / 440.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.426, allocations: 0 / 440.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006746/0.4266, allocations: 155 kB / 440.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/0.4282, allocations: 0.7564 MB / 441.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.4284, allocations: 51.95 kB / 441.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01073/0.4391, allocations: 9.76 MB / 451.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4392, allocations: 0 / 451.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/0.4535, allocations: 5.338 MB / 456.7 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.4546, allocations: 0.4985 MB / 457.2 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004766/0.4551, allocations: 36 kB / 457.2 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/0.4575, allocations: 319.6 kB / 457.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006544/0.4582, allocations: 235.9 kB / 457.8 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/0.4584, allocations: 122.9 kB / 457.9 MB, free: 5.672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001747/0.4601, allocations: 1.067 MB / 459 MB, free: 4.605 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4601, allocations: 0 / 459 MB, free: 4.605 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002141/0.4623, allocations: 0.5809 MB / 459.5 MB, free: 4.023 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (harmonic.mean1.x,harmonic.mean2.x,integrator.y,filter[1].x[1],filter[1].x[2],filter[2].x[1],filter[2].x[2]) * Number of discrete variables: 39 (pwm.svPWM.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pwm.fire_n[1],pwm.fire_n[2],pwm.fire_n[3],pwm.svPWM.firstTrigger,pwm.svPWM.uRef,pwm.svPWM.phiRef,pwm.svPWM.phiPos,pwm.svPWM.ka,pwm.svPWM.kb,pwm.svPWM.phiSec,pwm.svPWM.ta,pwm.svPWM.tb,pwm.svPWM.t0,pwm.svPWM.T0,multiPhase2Level.andCondition_p[1].y,multiPhase2Level.andCondition_p[2].y,multiPhase2Level.andCondition_p[3].y,multiPhase2Level.andCondition_n[1].y,multiPhase2Level.andCondition_n[2].y,multiPhase2Level.andCondition_n[3].y,multiPhase2Level.transistor_p.idealGTOThyristor[1].off,multiPhase2Level.transistor_p.idealGTOThyristor[2].off,multiPhase2Level.transistor_p.idealGTOThyristor[3].off,multiPhase2Level.diode_p.idealDiode[1].off,multiPhase2Level.diode_p.idealDiode[2].off,multiPhase2Level.diode_p.idealDiode[3].off,multiPhase2Level.transistor_n.idealGTOThyristor[1].off,multiPhase2Level.transistor_n.idealGTOThyristor[2].off,multiPhase2Level.transistor_n.idealGTOThyristor[3].off,multiPhase2Level.diode_n.idealDiode[1].off,multiPhase2Level.diode_n.idealDiode[2].off,multiPhase2Level.diode_n.idealDiode[3].off,harmonic.mean1.y_last,harmonic.mean2.y_last) * Number of discrete states: 13 (harmonic.mean1.x,harmonic.mean2.x,pwm.svPWM.T0,pwm.svPWM.t0,pwm.svPWM.ta,pwm.svPWM.tb,pwm.svPWM.phiSec,pwm.svPWM.kb,pwm.svPWM.ka,pwm.svPWM.phiPos,pwm.svPWM.phiRef,pwm.svPWM.uRef,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(4,14), (4,14), (4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004577/0.4628, allocations: 224.6 kB / 459.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.009647/0.4724, allocations: 3.8 MB / 463.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4724, allocations: 0 / 463.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005388/0.4778, allocations: 2.415 MB / 466 MB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.4799, allocations: 456.3 kB / 466.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.4916, allocations: 5.493 MB / 471.9 MB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.4931, allocations: 1.694 MB / 473.6 MB, free: 5.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001313/0.4945, allocations: 433.2 kB / 474 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004969/0.495, allocations: 123.4 kB / 474.1 MB, free: 5.324 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.495, allocations: 0 / 474.1 MB, free: 5.324 MB / 382.1 MB Notification: Performance of Templates: time 0.05458/0.5496, allocations: 36.32 MB / 0.4985 GB, free: 1.332 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/PolyphaseTwoLevel/ThreePhaseTwoLevel_PWM/ThreePhaseTwoLevel_PWM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,filter[1].x[1],filter[1].x[2],filter[2].x[1],filter[2].x[2],harmonic.mean1.x,harmonic.mean2.x,harmonic.y_rms,harmonic.y_arg,integrator.y,potentialSensor.phi[1],potentialSensor.phi[2],potentialSensor.phi[3],toPolar.y[1],toPolar.y[2] Variables in the result:RMS,const.k,const.y,cosine.amplitude,cosine.f,cosine.offset,cosine.phase,cosine.startTime,dcNeg.V,dcNeg.n.v,dcNeg.v,dcPos.V,dcPos.p.v,dcPos.v,filter[1].A_ripple,filter[1].analogFilter,filter[1].cr[1],filter[1].cr[2],filter[1].f_cut,filter[1].f_min,filter[1].filterType,filter[1].gain,filter[1].init,filter[1].na,filter[1].nc0,filter[1].ncr,filter[1].normalized,filter[1].nr,filter[1].nx,filter[1].order,filter[1].r[1],filter[1].r[2],filter[1].u_nominal,filter[1].x[1],filter[1].x[2],filter[1].x_start[1],filter[1].x_start[2],filter[1].y_start,filter[2].A_ripple,filter[2].analogFilter,filter[2].cr[1],filter[2].cr[2],filter[2].f_cut,filter[2].f_min,filter[2].filterType,filter[2].gain,filter[2].init,filter[2].na,filter[2].nc0,filter[2].ncr,filter[2].normalized,filter[2].nr,filter[2].nx,filter[2].order,filter[2].r[1],filter[2].r[2],filter[2].u_nominal,filter[2].x[1],filter[2].x[2],filter[2].x_start[1],filter[2].x_start[2],filter[2].y_start,harmonic.f,harmonic.gain.k,harmonic.k,harmonic.mean1.f,harmonic.mean1.t0,harmonic.mean1.x,harmonic.mean1.x0,harmonic.mean1.yGreaterOrEqualZero,harmonic.mean2.f,harmonic.mean2.t0,harmonic.mean2.x,harmonic.mean2.x0,harmonic.mean2.yGreaterOrEqualZero,harmonic.product1.significantDigits,harmonic.product2.significantDigits,harmonic.sin1.amplitude,harmonic.sin1.f,harmonic.sin1.offset,harmonic.sin1.phase,harmonic.sin1.startTime,harmonic.sin2.amplitude,harmonic.sin2.f,harmonic.sin2.offset,harmonic.sin2.phase,harmonic.sin2.startTime,harmonic.x0Cos,harmonic.x0Sin,harmonic.y_arg,harmonic.y_rms,integrator.initType,integrator.k,integrator.u,integrator.y,integrator.y_start,multiPhase2Level.GoffDiode,multiPhase2Level.GoffTransistor,multiPhase2Level.RonDiode,multiPhase2Level.RonTransistor,multiPhase2Level.T,multiPhase2Level.VkneeDiode,multiPhase2Level.VkneeTransistor,multiPhase2Level.ac.m,multiPhase2Level.andCondition_n[1].u2,multiPhase2Level.andCondition_n[2].u2,multiPhase2Level.andCondition_n[3].u2,multiPhase2Level.andCondition_p[1].u2,multiPhase2Level.andCondition_p[2].u2,multiPhase2Level.andCondition_p[3].u2,multiPhase2Level.constantEnable,multiPhase2Level.dc_n.v,multiPhase2Level.dc_p.v,multiPhase2Level.diode_n.Goff[1],multiPhase2Level.diode_n.Goff[2],multiPhase2Level.diode_n.Goff[3],multiPhase2Level.diode_n.Ron[1],multiPhase2Level.diode_n.Ron[2],multiPhase2Level.diode_n.Ron[3],multiPhase2Level.diode_n.T[1],multiPhase2Level.diode_n.T[2],multiPhase2Level.diode_n.T[3],multiPhase2Level.diode_n.Vknee[1],multiPhase2Level.diode_n.Vknee[2],multiPhase2Level.diode_n.Vknee[3],multiPhase2Level.diode_n.idealDiode[1].Goff,multiPhase2Level.diode_n.idealDiode[1].Ron,multiPhase2Level.diode_n.idealDiode[1].T,multiPhase2Level.diode_n.idealDiode[1].T_heatPort,multiPhase2Level.diode_n.idealDiode[1].Vknee,multiPhase2Level.diode_n.idealDiode[1].p.v,multiPhase2Level.diode_n.idealDiode[2].Goff,multiPhase2Level.diode_n.idealDiode[2].Ron,multiPhase2Level.diode_n.idealDiode[2].T,multiPhase2Level.diode_n.idealDiode[2].T_heatPort,multiPhase2Level.diode_n.idealDiode[2].Vknee,multiPhase2Level.diode_n.idealDiode[2].p.v,multiPhase2Level.diode_n.idealDiode[3].Goff,multiPhase2Level.diode_n.idealDiode[3].Ron,multiPhase2Level.diode_n.idealDiode[3].T,multiPhase2Level.diode_n.idealDiode[3].T_heatPort,multiPhase2Level.diode_n.idealDiode[3].Vknee,multiPhase2Level.diode_n.idealDiode[3].p.v,multiPhase2Level.diode_n.m,multiPhase2Level.diode_n.mh,multiPhase2Level.diode_n.plug_n.m,multiPhase2Level.diode_n.plug_p.m,multiPhase2Level.diode_n.plug_p.pin[1].v,multiPhase2Level.diode_n.plug_p.pin[2].v,multiPhase2Level.diode_n.plug_p.pin[3].v,multiPhase2Level.diode_p.Goff[1],multiPhase2Level.diode_p.Goff[2],multiPhase2Level.diode_p.Goff[3],multiPhase2Level.diode_p.Ron[1],multiPhase2Level.diode_p.Ron[2],multiPhase2Level.diode_p.Ron[3],multiPhase2Level.diode_p.T[1],multiPhase2Level.diode_p.T[2],multiPhase2Level.diode_p.T[3],multiPhase2Level.diode_p.Vknee[1],multiPhase2Level.diode_p.Vknee[2],multiPhase2Level.diode_p.Vknee[3],multiPhase2Level.diode_p.idealDiode[1].Goff,multiPhase2Level.diode_p.idealDiode[1].Ron,multiPhase2Level.diode_p.idealDiode[1].T,multiPhase2Level.diode_p.idealDiode[1].T_heatPort,multiPhase2Level.diode_p.idealDiode[1].Vknee,multiPhase2Level.diode_p.idealDiode[1].n.v,multiPhase2Level.diode_p.idealDiode[2].Goff,multiPhase2Level.diode_p.idealDiode[2].Ron,multiPhase2Level.diode_p.idealDiode[2].T,multiPhase2Level.diode_p.idealDiode[2].T_heatPort,multiPhase2Level.diode_p.idealDiode[2].Vknee,multiPhase2Level.diode_p.idealDiode[2].n.v,multiPhase2Level.diode_p.idealDiode[3].Goff,multiPhase2Level.diode_p.idealDiode[3].Ron,multiPhase2Level.diode_p.idealDiode[3].T,multiPhase2Level.diode_p.idealDiode[3].T_heatPort,multiPhase2Level.diode_p.idealDiode[3].Vknee,multiPhase2Level.diode_p.idealDiode[3].n.v,multiPhase2Level.diode_p.m,multiPhase2Level.diode_p.mh,multiPhase2Level.diode_p.plug_n.m,multiPhase2Level.diode_p.plug_n.pin[1].v,multiPhase2Level.diode_p.plug_n.pin[2].v,multiPhase2Level.diode_p.plug_n.pin[3].v,multiPhase2Level.diode_p.plug_p.m,multiPhase2Level.enableLogic.booleanReplicator.nout,multiPhase2Level.enableLogic.booleanReplicator.u,multiPhase2Level.enableLogic.booleanReplicator.y[1],multiPhase2Level.enableLogic.booleanReplicator.y[2],multiPhase2Level.enableLogic.booleanReplicator.y[3],multiPhase2Level.enableLogic.constantEnable,multiPhase2Level.enableLogic.enableConstantSource.k,multiPhase2Level.enableLogic.enableConstantSource.y,multiPhase2Level.enableLogic.internalEnable[1],multiPhase2Level.enableLogic.internalEnable[2],multiPhase2Level.enableLogic.internalEnable[3],multiPhase2Level.enableLogic.m,multiPhase2Level.enableLogic.useConstantEnable,multiPhase2Level.m,multiPhase2Level.star_n.m,multiPhase2Level.star_n.pin_n.v,multiPhase2Level.star_n.plug_p.m,multiPhase2Level.star_n.plug_p.pin[1].v,multiPhase2Level.star_n.plug_p.pin[2].v,multiPhase2Level.star_n.plug_p.pin[3].v,multiPhase2Level.star_p.m,multiPhase2Level.star_p.pin_n.v,multiPhase2Level.star_p.plug_p.m,multiPhase2Level.star_p.plug_p.pin[1].v,multiPhase2Level.star_p.plug_p.pin[2].v,multiPhase2Level.star_p.plug_p.pin[3].v,multiPhase2Level.transistor_n.Goff[1],multiPhase2Level.transistor_n.Goff[2],multiPhase2Level.transistor_n.Goff[3],multiPhase2Level.transistor_n.Ron[1],multiPhase2Level.transistor_n.Ron[2],multiPhase2Level.transistor_n.Ron[3],multiPhase2Level.transistor_n.T[1],multiPhase2Level.transistor_n.T[2],multiPhase2Level.transistor_n.T[3],multiPhase2Level.transistor_n.Vknee[1],multiPhase2Level.transistor_n.Vknee[2],multiPhase2Level.transistor_n.Vknee[3],multiPhase2Level.transistor_n.idealGTOThyristor[1].Goff,multiPhase2Level.transistor_n.idealGTOThyristor[1].Ron,multiPhase2Level.transistor_n.idealGTOThyristor[1].T,multiPhase2Level.transistor_n.idealGTOThyristor[1].T_heatPort,multiPhase2Level.transistor_n.idealGTOThyristor[1].Vknee,multiPhase2Level.transistor_n.idealGTOThyristor[1].n.v,multiPhase2Level.transistor_n.idealGTOThyristor[2].Goff,multiPhase2Level.transistor_n.idealGTOThyristor[2].Ron,multiPhase2Level.transistor_n.idealGTOThyristor[2].T,multiPhase2Level.transistor_n.idealGTOThyristor[2].T_heatPort,multiPhase2Level.transistor_n.idealGTOThyristor[2].Vknee,multiPhase2Level.transistor_n.idealGTOThyristor[2].n.v,multiPhase2Level.transistor_n.idealGTOThyristor[3].Goff,multiPhase2Level.transistor_n.idealGTOThyristor[3].Ron,multiPhase2Level.transistor_n.idealGTOThyristor[3].T,multiPhase2Level.transistor_n.idealGTOThyristor[3].T_heatPort,multiPhase2Level.transistor_n.idealGTOThyristor[3].Vknee,multiPhase2Level.transistor_n.idealGTOThyristor[3].n.v,multiPhase2Level.transistor_n.m,multiPhase2Level.transistor_n.mh,multiPhase2Level.transistor_n.plug_n.m,multiPhase2Level.transistor_n.plug_n.pin[1].v,multiPhase2Level.transistor_n.plug_n.pin[2].v,multiPhase2Level.transistor_n.plug_n.pin[3].v,multiPhase2Level.transistor_n.plug_p.m,multiPhase2Level.transistor_p.Goff[1],multiPhase2Level.transistor_p.Goff[2],multiPhase2Level.transistor_p.Goff[3],multiPhase2Level.transistor_p.Ron[1],multiPhase2Level.transistor_p.Ron[2],multiPhase2Level.transistor_p.Ron[3],multiPhase2Level.transistor_p.T[1],multiPhase2Level.transistor_p.T[2],multiPhase2Level.transistor_p.T[3],multiPhase2Level.transistor_p.Vknee[1],multiPhase2Level.transistor_p.Vknee[2],multiPhase2Level.transistor_p.Vknee[3],multiPhase2Level.transistor_p.idealGTOThyristor[1].Goff,multiPhase2Level.transistor_p.idealGTOThyristor[1].Ron,multiPhase2Level.transistor_p.idealGTOThyristor[1].T,multiPhase2Level.transistor_p.idealGTOThyristor[1].T_heatPort,multiPhase2Level.transistor_p.idealGTOThyristor[1].Vknee,multiPhase2Level.transistor_p.idealGTOThyristor[1].p.v,multiPhase2Level.transistor_p.idealGTOThyristor[2].Goff,multiPhase2Level.transistor_p.idealGTOThyristor[2].Ron,multiPhase2Level.transistor_p.idealGTOThyristor[2].T,multiPhase2Level.transistor_p.idealGTOThyristor[2].T_heatPort,multiPhase2Level.transistor_p.idealGTOThyristor[2].Vknee,multiPhase2Level.transistor_p.idealGTOThyristor[2].p.v,multiPhase2Level.transistor_p.idealGTOThyristor[3].Goff,multiPhase2Level.transistor_p.idealGTOThyristor[3].Ron,multiPhase2Level.transistor_p.idealGTOThyristor[3].T,multiPhase2Level.transistor_p.idealGTOThyristor[3].T_heatPort,multiPhase2Level.transistor_p.idealGTOThyristor[3].Vknee,multiPhase2Level.transistor_p.idealGTOThyristor[3].p.v,multiPhase2Level.transistor_p.m,multiPhase2Level.transistor_p.mh,multiPhase2Level.transistor_p.plug_n.m,multiPhase2Level.transistor_p.plug_p.m,multiPhase2Level.transistor_p.plug_p.pin[1].v,multiPhase2Level.transistor_p.plug_p.pin[2].v,multiPhase2Level.transistor_p.plug_p.pin[3].v,multiPhase2Level.useConstantEnable,multiPhase2Level.vAC[1],multiPhase2Level.vAC[2],multiPhase2Level.vAC[3],potentialSensor.m,potentialSensor.phi[1],potentialSensor.phi[2],potentialSensor.phi[3],potentialSensor.plug_p.m,pwm.f,pwm.pwmType,pwm.refType,pwm.startTime,pwm.svPWM.f,pwm.svPWM.samplePeriod,pwm.svPWM.startTime,pwm.svPWM.uMax,pwm.uMax,rotator.n,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,time,toPolar.n,toPolar.y[1],toPolar.y[2],toSpacePhasor.InverseTransformation[1,1],toSpacePhasor.InverseTransformation[1,2],toSpacePhasor.InverseTransformation[2,1],toSpacePhasor.InverseTransformation[2,2],toSpacePhasor.InverseTransformation[3,1],toSpacePhasor.InverseTransformation[3,2],toSpacePhasor.TransformationMatrix[1,1],toSpacePhasor.TransformationMatrix[1,2],toSpacePhasor.TransformationMatrix[1,3],toSpacePhasor.TransformationMatrix[2,1],toSpacePhasor.TransformationMatrix[2,2],toSpacePhasor.TransformationMatrix[2,3],toSpacePhasor.m,toSpacePhasor.nin,toSpacePhasor.nout,toSpacePhasor.phi[1],toSpacePhasor.phi[2],toSpacePhasor.phi[3]