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.0009404/0.0009406, allocations: 94.34 kB / 16.3 MB, free: 5.996 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.0009561/0.0009561, allocations: 178.6 kB / 17.2 MB, free: 5.914 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.272/1.272, allocations: 223.2 MB / 241.1 MB, free: 5.355 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003104, allocations: 5.781 kB / 300.7 MB, free: 6.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1009, allocations: 50.42 MB / 351.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM): time 0.005912/0.1069, allocations: 5.066 MB / 356.2 MB, free: 6.59 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007051/0.114, allocations: 4.414 MB / 360.6 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007909/0.1148, allocations: 27.81 kB / 360.7 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007821/0.1156, allocations: 250.6 kB / 360.9 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.1172, allocations: 458.6 kB / 361.3 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003503/0.1207, allocations: 1.238 MB / 362.6 MB, free: 216 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002143/0.1229, allocations: 1.436 MB / 364 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.1243, allocations: 1.097 MB / 365.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.1254, allocations: 0.7083 MB / 365.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.1264, allocations: 0.8286 MB / 366.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.1266, allocations: 95.98 kB / 366.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.127, allocations: 195.8 kB / 366.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004892/0.1275, allocations: 0.5336 MB / 367.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003459/0.1279, allocations: 404.6 kB / 367.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.1301, allocations: 2.731 MB / 370.6 MB, free: 8.141 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1301, allocations: 3.938 kB / 370.6 MB, free: 8.137 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1301, allocations: 0 / 370.6 MB, free: 8.137 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.585e-05/0.1302, allocations: 0 / 370.6 MB, free: 8.137 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.005636/0.1358, allocations: 2.438 MB / 373 MB, free: 5.629 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1358, allocations: 8.031 kB / 373 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003885/0.1362, allocations: 229.3 kB / 373.3 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.1385, allocations: 1.304 MB / 374.6 MB, free: 4.035 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001668/0.1402, allocations: 416.4 kB / 375 MB, free: 3.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.1405, allocations: 156 kB / 375.1 MB, free: 3.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006878/0.1474, allocations: 2.981 MB / 378.1 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/0.1474, allocations: 3.938 kB / 378.1 MB, free: 404 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/0.1476, allocations: 64 kB / 378.2 MB, free: 340 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-05/0.1477, allocations: 74.89 kB / 378.3 MB, free: 264 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.158, allocations: 3.337 MB / 381.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.1731, allocations: 8.133 MB / 389.7 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005991/0.1791, allocations: 2.399 MB / 392.1 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.512e-05/0.1792, allocations: 13.69 kB / 392.1 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004647/0.1839, allocations: 1.603 MB / 393.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=141): time 3.446e-06/0.1839, allocations: 0 / 393.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of matching and sorting (n=141): time 0.01842/0.2023, allocations: 5.884 MB / 399.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.2025, allocations: 282.3 kB / 399.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.2048, allocations: 1.535 MB / 401.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000166/0.205, allocations: 57.7 kB / 401.5 MB, free: 8.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005676/0.2056, allocations: 0.6933 MB / 402.2 MB, free: 7.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003838/0.206, allocations: 441.8 kB / 402.6 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.73e-05/0.2061, allocations: 28 kB / 402.6 MB, free: 7.512 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2062, allocations: 369.9 kB / 403 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004226/0.2104, allocations: 1.323 MB / 404.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004435/0.2149, allocations: 1.652 MB / 406 MB, free: 4.039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004239/0.2191, allocations: 1.386 MB / 407.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.2192, allocations: 3.938 kB / 407.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.009937/0.2291, allocations: 3.548 MB / 410.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.282e-05/0.2292, allocations: 37.69 kB / 411 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/0.2292, allocations: 12 kB / 411 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/0.2309, allocations: 0.7577 MB / 411.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.2319, allocations: 239.6 kB / 412 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.2427, allocations: 9.755 MB / 421.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/0.2454, allocations: 430.1 kB / 422.1 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.2456, allocations: 131.9 kB / 422.3 MB, free: 3.316 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 ($PRE.pwm.svPWM.firstTrigger,pwm.svPWM.firstTrigger,$PRE.pwm.svPWM.phiSec,pwm.svPWM.phiSec,$PRE.pwm.svPWM.phiPos,pwm.svPWM.phiPos,$PRE.pwm.svPWM.phiRef,pwm.svPWM.phiRef,$PRE.pwm.svPWM.uRef,pwm.svPWM.uRef,$whenCondition3,$whenCondition2,$PRE.harmonic.mean1.y_last,harmonic.mean1.y_last,$PRE.harmonic.mean2.y_last,harmonic.mean2.y_last,$whenCondition4,$whenCondition1,pwm.svPWM.sampleTrigger,pwm.fire_n[1],pwm.fire_n[2],pwm.fire_n[3],$PRE.pwm.svPWM.ka,pwm.svPWM.ka,$PRE.pwm.svPWM.kb,pwm.svPWM.kb,$PRE.pwm.svPWM.ta,pwm.svPWM.ta,$PRE.pwm.svPWM.tb,pwm.svPWM.tb,$PRE.pwm.svPWM.t0,pwm.svPWM.t0,$PRE.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,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 129 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {4 13,4 13,4 13} Notification: Performance of prepare postOptimizeDAE: time 0.001184/0.2468, allocations: 0.7568 MB / 423 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.2471, allocations: 173.9 kB / 423.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1823/0.4294, allocations: 3.536 MB / 426.7 MB, free: 65.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.4294, allocations: 12.69 kB / 426.7 MB, free: 65.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4294, allocations: 0 / 426.7 MB, free: 65.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.4295, allocations: 5.484 kB / 426.7 MB, free: 65.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.4441, allocations: 5.704 MB / 432.4 MB, free: 65.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.4441, allocations: 0 / 432.4 MB, free: 65.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007272/0.4448, allocations: 157.6 kB / 432.6 MB, free: 65.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/0.4464, allocations: 0.7401 MB / 433.3 MB, free: 65.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/0.4466, allocations: 56.27 kB / 433.4 MB, free: 65.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009574/0.4562, allocations: 9.741 MB / 443.1 MB, free: 60.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4562, allocations: 0 / 443.1 MB, free: 60.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/0.4699, allocations: 5.311 MB / 448.4 MB, free: 57.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008657/0.4708, allocations: 0.4987 MB / 448.9 MB, free: 57.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/0.471, allocations: 39.11 kB / 449 MB, free: 57.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/0.4732, allocations: 326.3 kB / 449.3 MB, free: 57.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005336/0.4737, allocations: 268 kB / 449.6 MB, free: 56.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/0.4739, allocations: 121.8 kB / 449.7 MB, free: 56.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001176/0.4751, allocations: 1.05 MB / 450.7 MB, free: 56.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4751, allocations: 0 / 450.7 MB, free: 56.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00154/0.4766, allocations: 0.5728 MB / 451.3 MB, free: 55.48 MB / 350.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 (84): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {4 13,4 13,4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003898/0.477, allocations: 220.8 kB / 451.5 MB, free: 55.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.009162/0.4862, allocations: 3.747 MB / 455.3 MB, free: 51.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.4862, allocations: 0 / 455.3 MB, free: 51.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005137/0.4914, allocations: 2.397 MB / 457.7 MB, free: 49.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.493, allocations: 437.1 kB / 458.1 MB, free: 48.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.5032, allocations: 5.268 MB / 463.4 MB, free: 43.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.5042, allocations: 1.73 MB / 465.1 MB, free: 41.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001192/0.5055, allocations: 449.2 kB / 465.5 MB, free: 41.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.5058, allocations: 123.4 kB / 465.7 MB, free: 41.05 MB / 350.1 MB Notification: Performance of SimCode: time 8.91e-07/0.5059, allocations: 0 / 465.7 MB, free: 41.05 MB / 350.1 MB Notification: Performance of Templates: time 0.04142/0.5473, allocations: 34.38 MB / 0.4883 GB, free: 6.875 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/PolyphaseTwoLevel/ThreePhaseTwoLevel_PWM/ThreePhaseTwoLevel_PWM.csv","../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]