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.00127/0.00127, allocations: 122.5 kB / 17.74 MB, free: 5.305 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.00118/0.00118, allocations: 179 kB / 18.67 MB, free: 4.383 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.459/1.459, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 47.92 kB / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2673, allocations: 49.44 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM): time 0.008859/0.2761, allocations: 6.113 MB / 407.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008987/0.2851, allocations: 4.554 MB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.2866, allocations: 35.81 kB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009256/0.2875, allocations: 285.8 kB / 412.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.2888, allocations: 485.3 kB / 412.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004104/0.2929, allocations: 1.783 MB / 414.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003189/0.2961, allocations: 2.442 MB / 417.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.2976, allocations: 1.107 MB / 418.2 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.2992, allocations: 1.133 MB / 419.3 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.3008, allocations: 1.191 MB / 420.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003821/0.3012, allocations: 260 kB / 420.8 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006565/0.3019, allocations: 391.7 kB / 421.2 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007415/0.3026, allocations: 0.7635 MB / 421.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.3039, allocations: 1.17 MB / 423.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003837/0.3077, allocations: 3.554 MB / 426.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3077, allocations: 0 / 426.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3077, allocations: 4 kB / 426.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.905e-05/0.3078, allocations: 0 / 426.7 MB, free: 15.48 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.007172/0.315, allocations: 2.911 MB / 429.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.315, allocations: 8.031 kB / 429.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004474/0.3155, allocations: 243.5 kB / 429.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/0.3181, allocations: 1.387 MB / 431.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007495/0.3189, allocations: 264.6 kB / 431.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000321/0.3192, allocations: 160 kB / 431.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008136/0.3273, allocations: 3.006 MB / 434.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.3274, allocations: 4 kB / 434.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.3276, allocations: 67.98 kB / 434.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.856e-05/0.3276, allocations: 58.97 kB / 434.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/0.3389, allocations: 3.399 MB / 438.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01719/0.3561, allocations: 8.053 MB / 446.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006506/0.3626, allocations: 2.278 MB / 448.5 MB, free: 9.285 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005339/0.3679, allocations: 1.642 MB / 450.1 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.368, allocations: 21.28 kB / 450.2 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005036/0.373, allocations: 1.623 MB / 451.8 MB, free: 5.977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=141): time 3.507e-06/0.373, allocations: 0 / 451.8 MB, free: 5.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=141): time 0.01983/0.3929, allocations: 5.995 MB / 457.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002072/0.3931, allocations: 290.3 kB / 458.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.3956, allocations: 1.539 MB / 459.6 MB, free: 14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.3957, allocations: 53.7 kB / 459.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007481/0.3965, allocations: 0.714 MB / 460.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005429/0.397, allocations: 460.2 kB / 460.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006313/0.3977, allocations: 331.4 kB / 461.1 MB, free: 12.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3978, allocations: 309.1 kB / 461.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004579/0.4024, allocations: 1.346 MB / 462.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004821/0.4072, allocations: 1.683 MB / 464.5 MB, free: 8.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00948/0.4167, allocations: 2.878 MB / 467.3 MB, free: 5.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/0.4167, allocations: 7.938 kB / 467.3 MB, free: 5.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01116/0.4279, allocations: 3.588 MB / 470.9 MB, free: 2.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/0.428, allocations: 37.7 kB / 471 MB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/0.428, allocations: 8 kB / 471 MB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.4299, allocations: 0.791 MB / 471.8 MB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009953/0.4309, allocations: 223.7 kB / 472 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/0.4453, allocations: 10.98 MB / 483 MB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/0.4482, allocations: 430.5 kB / 483.4 MB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002645/0.4484, allocations: 132.2 kB / 483.5 MB, free: 5.355 MB / 398.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.001347/0.4498, allocations: 0.7721 MB / 484.3 MB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/0.4501, allocations: 178.9 kB / 484.5 MB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.4612, allocations: 3.571 MB / 488 MB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.4612, allocations: 20 kB / 488.1 MB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4612, allocations: 0 / 488.1 MB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.4612, allocations: 3.984 kB / 488.1 MB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/0.477, allocations: 6.086 MB / 494.1 MB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.477, allocations: 0 / 494.1 MB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007568/0.4777, allocations: 147.8 kB / 494.3 MB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002005/0.4797, allocations: 0.7596 MB / 495 MB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/0.48, allocations: 47.95 kB / 495.1 MB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01372/0.4937, allocations: 10.67 MB / 0.4939 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4937, allocations: 0 / 0.4939 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01707/0.5107, allocations: 5.337 MB / 0.4991 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/0.5122, allocations: 0.5073 MB / 0.4996 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003658/0.5126, allocations: 39.92 kB / 0.4997 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/0.5151, allocations: 331.5 kB / 0.5 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006972/0.5158, allocations: 237 kB / 0.5002 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/0.516, allocations: 116.3 kB / 0.5003 GB, free: 7.957 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001721/0.5177, allocations: 1.067 MB / 0.5013 GB, free: 6.891 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.5177, allocations: 0 / 0.5013 GB, free: 6.891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002158/0.5199, allocations: 0.585 MB / 0.5019 GB, free: 6.305 MB / 430.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.0004789/0.5204, allocations: 224.2 kB / 0.5021 GB, free: 6.078 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01162/0.532, allocations: 3.769 MB / 0.5058 GB, free: 2.242 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.532, allocations: 0.5 kB / 0.5058 GB, free: 2.242 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006526/0.5385, allocations: 2.251 MB / 0.508 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/0.5408, allocations: 485.7 kB / 0.5085 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/0.5539, allocations: 4.877 MB / 0.5132 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.5556, allocations: 1.694 MB / 0.5149 GB, free: 8.848 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001408/0.557, allocations: 433.2 kB / 0.5153 GB, free: 8.418 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004606/0.5574, allocations: 131.4 kB / 0.5154 GB, free: 8.289 MB / 446.1 MB Notification: Performance of SimCode: time 1.763e-06/0.5574, allocations: 0 / 0.5154 GB, free: 8.289 MB / 446.1 MB Notification: Performance of Templates: time 0.3401/0.8975, allocations: 39.57 MB / 0.5541 GB, free: 125.7 MB / 462.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]