Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001801/0.001801, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 64.23 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09589/0.09703, allocations: 50.54 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM): time 0.006989/0.1041, allocations: 6.123 MB / 365 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007314/0.1114, allocations: 4.675 MB / 369.7 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.1126, allocations: 43.69 kB / 369.8 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007483/0.1134, allocations: 281.8 kB / 370 MB, free: 2.168 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.1147, allocations: 473.3 kB / 370.5 MB, free: 1.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2018/0.3166, allocations: 1.808 MB / 372.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004263/0.3209, allocations: 2.472 MB / 374.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.3238, allocations: 1.508 MB / 376.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.3262, allocations: 1.11 MB / 377.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002634/0.3289, allocations: 1.194 MB / 378.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.3299, allocations: 260.9 kB / 378.8 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.3316, allocations: 410.4 kB / 379.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.3328, allocations: 0.757 MB / 380 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002202/0.3351, allocations: 1.177 MB / 381.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003994/0.3391, allocations: 3.56 MB / 384.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3391, allocations: 1.125 kB / 384.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3391, allocations: 0 / 384.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.965e-05/0.3392, allocations: 0 / 384.7 MB, free: 7.906 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.006775/0.346, allocations: 2.799 MB / 387.5 MB, free: 6.395 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.346, allocations: 8.844 kB / 387.5 MB, free: 6.395 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009098/0.3469, allocations: 275 kB / 387.8 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.3496, allocations: 1.401 MB / 389.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005801/0.3502, allocations: 240.1 kB / 389.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/0.3505, allocations: 164.1 kB / 389.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006065/0.3566, allocations: 2.88 MB / 392.5 MB, free: 3.852 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.138e-05/0.3566, allocations: 4.562 kB / 392.5 MB, free: 3.852 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.3568, allocations: 62.45 kB / 392.6 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.537e-05/0.3569, allocations: 68.7 kB / 392.6 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00806/0.365, allocations: 3.119 MB / 395.7 MB, free: 2.293 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01394/0.3789, allocations: 7.909 MB / 403.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005268/0.3842, allocations: 2.289 MB / 405.9 MB, free: 9.539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004357/0.3886, allocations: 1.624 MB / 407.6 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.3888, allocations: 19.27 kB / 407.6 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004087/0.3928, allocations: 1.487 MB / 409.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of pre-optimization done (n=141): time 5.34e-06/0.3929, allocations: 0 / 409.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=141): time 0.01706/0.4099, allocations: 5.599 MB / 414.7 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.4101, allocations: 290.3 kB / 415 MB, free: 392 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/0.4125, allocations: 1.561 MB / 416.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.4127, allocations: 53.7 kB / 416.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000729/0.4134, allocations: 0.7066 MB / 417.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004813/0.4139, allocations: 443.9 kB / 417.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006029/0.4145, allocations: 327.3 kB / 418 MB, free: 13.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4147, allocations: 313.1 kB / 418.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003672/0.4183, allocations: 1.2 MB / 419.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004044/0.4224, allocations: 1.55 MB / 421.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007336/0.4298, allocations: 2.604 MB / 423.7 MB, free: 7.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.4298, allocations: 3.531 kB / 423.7 MB, free: 7.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.009239/0.439, allocations: 3.34 MB / 427 MB, free: 4.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/0.4391, allocations: 33.7 kB / 427.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.125e-05/0.4392, allocations: 8 kB / 427.1 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/0.441, allocations: 0.7895 MB / 427.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.442, allocations: 236.1 kB / 428.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.4555, allocations: 10.95 MB / 439 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/0.4583, allocations: 378.1 kB / 439.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/0.4586, allocations: 132.3 kB / 439.5 MB, free: 7.234 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.001453/0.4601, allocations: 0.7496 MB / 440.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.4604, allocations: 169.9 kB / 440.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008692/0.4691, allocations: 3.327 MB / 443.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.4692, allocations: 16 kB / 443.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4692, allocations: 0 / 443.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.4692, allocations: 7.922 kB / 443.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/0.4824, allocations: 5.833 MB / 449.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.4825, allocations: 0 / 449.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007078/0.4832, allocations: 142.4 kB / 449.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/0.4848, allocations: 0.7654 MB / 450.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.485, allocations: 47.97 kB / 450.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/0.497, allocations: 10.67 MB / 461.3 MB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.497, allocations: 0 / 461.3 MB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/0.5108, allocations: 4.949 MB / 466.2 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001705/0.5126, allocations: 0.5024 MB / 466.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004591/0.513, allocations: 32 kB / 466.7 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/0.5152, allocations: 265.5 kB / 467 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006386/0.5158, allocations: 224.1 kB / 467.2 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/0.516, allocations: 114.6 kB / 467.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001601/0.5176, allocations: 1.079 MB / 468.4 MB, free: 9.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5176, allocations: 0 / 468.4 MB, free: 9.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002318/0.52, allocations: 0.5809 MB / 469 MB, free: 9.293 MB / 382.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.000521/0.5205, allocations: 225.4 kB / 469.2 MB, free: 9.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009523/0.53, allocations: 3.567 MB / 472.8 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.5301, allocations: 0 / 472.8 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005463/0.5355, allocations: 2.306 MB / 475.1 MB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.5377, allocations: 489.3 kB / 475.6 MB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.5494, allocations: 4.62 MB / 480.2 MB, free: 14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.5508, allocations: 1.705 MB / 481.9 MB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001321/0.5521, allocations: 441.2 kB / 482.3 MB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/0.5526, allocations: 131.4 kB / 482.4 MB, free: 11.7 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5526, allocations: 0 / 482.4 MB, free: 11.7 MB / 398.1 MB Notification: Performance of Templates: time 0.05919/0.6118, allocations: 38.74 MB / 0.509 GB, free: 5.191 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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.continuous,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.y0,harmonic.mean1.yGreaterOrEqualZero,harmonic.mean2.f,harmonic.mean2.t0,harmonic.mean2.x,harmonic.mean2.x0,harmonic.mean2.y0,harmonic.mean2.yGreaterOrEqualZero,harmonic.product1.significantDigits,harmonic.product2.significantDigits,harmonic.sin1.amplitude,harmonic.sin1.continuous,harmonic.sin1.f,harmonic.sin1.offset,harmonic.sin1.phase,harmonic.sin1.startTime,harmonic.sin2.amplitude,harmonic.sin2.continuous,harmonic.sin2.f,harmonic.sin2.offset,harmonic.sin2.phase,harmonic.sin2.startTime,harmonic.x0Cos,harmonic.x0Sin,harmonic.y0Cos,harmonic.y0Sin,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.continuous,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]