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.001083/0.001083, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001102/0.001102, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.351/1.351, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009783/0.0009784, allocations: 47.11 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09974/0.1007, allocations: 49.44 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM): time 0.007543/0.1083, allocations: 6.087 MB / 357.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007406/0.1158, allocations: 4.543 MB / 362.1 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.1168, allocations: 43.75 kB / 362.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007334/0.1176, allocations: 281.8 kB / 362.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.1188, allocations: 465.4 kB / 362.9 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004211/0.123, allocations: 1.78 MB / 364.7 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002994/0.126, allocations: 2.454 MB / 367.1 MB, free: 3.992 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.1276, allocations: 1.502 MB / 368.7 MB, free: 2.441 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.129, allocations: 1.102 MB / 369.8 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.1305, allocations: 1.199 MB / 371 MB, free: 136 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2007/0.3312, allocations: 261.6 kB / 371.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.3328, allocations: 386.8 kB / 371.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001337/0.3342, allocations: 0.7557 MB / 372.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002303/0.3365, allocations: 1.174 MB / 373.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00502/0.3416, allocations: 3.531 MB / 377 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.3416, allocations: 1.375 kB / 377 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3416, allocations: 0.5312 kB / 377 MB, free: 12.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.045e-05/0.3417, allocations: 0.5312 kB / 377 MB, free: 12.66 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.008096/0.3498, allocations: 2.841 MB / 379.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3499, allocations: 10.25 kB / 379.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006234/0.3505, allocations: 232.3 kB / 380.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.3531, allocations: 1.381 MB / 381.5 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006694/0.3538, allocations: 268.8 kB / 381.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/0.3541, allocations: 160.4 kB / 381.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007925/0.3621, allocations: 3.017 MB / 384.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.724e-05/0.3622, allocations: 2.156 kB / 384.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/0.3624, allocations: 66.61 kB / 385 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/0.3625, allocations: 66.17 kB / 385.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.373, allocations: 3.384 MB / 388.5 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01587/0.3889, allocations: 8.05 MB / 396.5 MB, free: 3.457 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005401/0.3943, allocations: 2.425 MB / 398.9 MB, free: 2.242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004361/0.3987, allocations: 1.764 MB / 400.7 MB, free: 1.402 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.3989, allocations: 18.44 kB / 400.7 MB, free: 1.398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004027/0.4029, allocations: 1.621 MB / 402.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=141): time 3.777e-06/0.4029, allocations: 4 kB / 402.3 MB, free: 15.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=141): time 0.01795/0.4209, allocations: 6.009 MB / 408.3 MB, free: 9.805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.4211, allocations: 286.3 kB / 408.6 MB, free: 9.461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002564/0.4236, allocations: 1.542 MB / 410.2 MB, free: 7.906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002394/0.4239, allocations: 53.7 kB / 410.2 MB, free: 7.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006424/0.4245, allocations: 0.6982 MB / 410.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004425/0.425, allocations: 440.1 kB / 411.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005616/0.4256, allocations: 335.3 kB / 411.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.4257, allocations: 301.1 kB / 412 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004229/0.4299, allocations: 1.348 MB / 413.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004449/0.4344, allocations: 1.676 MB / 415 MB, free: 2.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008195/0.4426, allocations: 2.874 MB / 417.9 MB, free: 0 / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.791e-05/0.4426, allocations: 6.484 kB / 417.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.009992/0.4526, allocations: 3.611 MB / 421.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.4527, allocations: 33.7 kB / 421.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/0.4528, allocations: 8 kB / 421.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/0.4546, allocations: 0.7977 MB / 422.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.4556, allocations: 231.8 kB / 422.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/0.4683, allocations: 10.94 MB / 433.5 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/0.4712, allocations: 434 kB / 433.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002603/0.4715, allocations: 133.9 kB / 434.1 MB, free: 15.48 MB / 350.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.001342/0.4728, allocations: 0.7566 MB / 434.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/0.4732, allocations: 173.9 kB / 435 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009841/0.483, allocations: 3.595 MB / 438.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.4831, allocations: 12 kB / 438.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4831, allocations: 4 kB / 438.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.4831, allocations: 3.984 kB / 438.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/0.4976, allocations: 6.103 MB / 444.7 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.4977, allocations: 4 kB / 444.7 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/0.4984, allocations: 146.8 kB / 444.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001603/0.5, allocations: 0.7659 MB / 445.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/0.5002, allocations: 47.95 kB / 445.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/0.5121, allocations: 10.65 MB / 456.3 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5121, allocations: 4.75 kB / 456.3 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/0.5266, allocations: 5.35 MB / 461.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.528, allocations: 0.5061 MB / 462.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003007/0.5283, allocations: 39.98 kB / 462.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/0.5305, allocations: 327.6 kB / 462.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006281/0.5311, allocations: 230.5 kB / 462.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/0.5313, allocations: 118.2 kB / 462.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001485/0.5328, allocations: 1.067 MB / 463.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5328, allocations: 0 / 463.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001892/0.5347, allocations: 0.5809 MB / 464.5 MB, free: 0.5469 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.0004333/0.5352, allocations: 219.2 kB / 464.7 MB, free: 348 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01007/0.5453, allocations: 3.854 MB / 468.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5453, allocations: 0 / 468.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00558/0.5509, allocations: 2.426 MB / 471 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.5529, allocations: 498.1 kB / 471.5 MB, free: 9.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.5649, allocations: 4.803 MB / 476.3 MB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.5664, allocations: 1.702 MB / 478 MB, free: 3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001278/0.5677, allocations: 433.2 kB / 478.4 MB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/0.5682, allocations: 123.4 kB / 478.5 MB, free: 2.449 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5682, allocations: 0 / 478.5 MB, free: 2.449 MB / 382.1 MB Notification: Performance of Templates: time 0.05919/0.6274, allocations: 38.94 MB / 0.5054 GB, free: 11.85 MB / 430.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 -s cvode -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/jenkins1/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/jenkins1/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]