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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 188.9 kB / 17.27 MB, free: 4.496 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 89.97 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007655/0.0007655, allocations: 43.94 kB / 350.1 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2126, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM): time 0.005883/0.2185, allocations: 6.067 MB / 405.6 MB, free: 27.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006372/0.2249, allocations: 4.95 MB / 410.5 MB, free: 22.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.226, allocations: 39.75 kB / 410.5 MB, free: 22.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006177/0.2267, allocations: 222.6 kB / 410.8 MB, free: 22.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009809/0.2277, allocations: 445.8 kB / 411.2 MB, free: 21.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.2306, allocations: 1.373 MB / 412.6 MB, free: 20.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.2325, allocations: 2.622 MB / 415.2 MB, free: 17.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.2336, allocations: 1.316 MB / 416.5 MB, free: 16.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009473/0.2345, allocations: 0.907 MB / 417.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.2355, allocations: 1.124 MB / 418.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002032/0.2358, allocations: 132 kB / 418.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.2362, allocations: 263.7 kB / 418.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004292/0.2367, allocations: 0.623 MB / 419.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008215/0.2375, allocations: 1.03 MB / 420.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.2395, allocations: 3.353 MB / 423.9 MB, free: 8.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2395, allocations: 0 / 423.9 MB, free: 8.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.2395, allocations: 4 kB / 423.9 MB, free: 8.816 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.99e-05/0.2395, allocations: 0 / 423.9 MB, free: 8.816 MB / 298.7 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.005641/0.2452, allocations: 2.839 MB / 426.8 MB, free: 5.906 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2452, allocations: 12.03 kB / 426.8 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.2456, allocations: 230.2 kB / 427 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.2475, allocations: 1.343 MB / 428.4 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001614/0.2491, allocations: 420.4 kB / 428.8 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/0.2493, allocations: 167.9 kB / 428.9 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006322/0.2557, allocations: 3.006 MB / 431.9 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.2557, allocations: 3.938 kB / 431.9 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/0.2559, allocations: 67.98 kB / 432 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.352e-05/0.256, allocations: 62.97 kB / 432.1 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.2663, allocations: 3.376 MB / 435.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01509/0.2814, allocations: 8.113 MB / 443.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006055/0.2875, allocations: 2.415 MB / 446 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005096/0.2926, allocations: 1.752 MB / 447.7 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.2928, allocations: 29.28 kB / 447.8 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004819/0.2976, allocations: 1.611 MB / 449.4 MB, free: 14.99 MB / 330.7 MB Notification: Performance of pre-optimization done (n=141): time 3.997e-06/0.2976, allocations: 0 / 449.4 MB, free: 14.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=141): time 0.01936/0.317, allocations: 5.99 MB / 455.4 MB, free: 8.918 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/0.3172, allocations: 290.3 kB / 455.6 MB, free: 8.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/0.3196, allocations: 1.535 MB / 457.2 MB, free: 7.023 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.3198, allocations: 53.7 kB / 457.2 MB, free: 6.965 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006261/0.3204, allocations: 0.7011 MB / 457.9 MB, free: 6.254 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004272/0.3208, allocations: 437.8 kB / 458.4 MB, free: 5.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005151/0.3214, allocations: 335.3 kB / 458.7 MB, free: 5.484 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.3214, allocations: 313 kB / 459 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004525/0.326, allocations: 1.335 MB / 460.3 MB, free: 3.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004828/0.3308, allocations: 1.671 MB / 462 MB, free: 2.047 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009111/0.34, allocations: 2.863 MB / 464.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/0.34, allocations: 4 kB / 464.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01098/0.351, allocations: 3.591 MB / 468.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/0.3511, allocations: 33.8 kB / 468.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-05/0.3511, allocations: 15.98 kB / 468.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.353, allocations: 0.7901 MB / 469.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.3541, allocations: 231.6 kB / 469.5 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/0.3666, allocations: 10.06 MB / 479.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/0.3695, allocations: 434.1 kB / 480 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003458/0.3698, allocations: 131.9 kB / 480.1 MB, free: 15.36 MB / 362.7 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.001573/0.3714, allocations: 0.7488 MB / 480.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005876/0.372, allocations: 170 kB / 481 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.3831, allocations: 3.583 MB / 484.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.3831, allocations: 15.94 kB / 484.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3831, allocations: 0 / 484.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.3832, allocations: 7.969 kB / 484.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.3982, allocations: 6.094 MB / 490.7 MB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.3983, allocations: 4 kB / 490.7 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006912/0.3989, allocations: 147.8 kB / 490.9 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/0.4005, allocations: 0.7622 MB / 491.7 MB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001693/0.4007, allocations: 47.95 kB / 491.7 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/0.4118, allocations: 9.759 MB / 0.4897 GB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4119, allocations: 0 / 0.4897 GB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2671/0.679, allocations: 30.84 MB / 0.5198 GB, free: 86.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009406/0.68, allocations: 0.5005 MB / 0.5203 GB, free: 86.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/0.6802, allocations: 36 kB / 0.5203 GB, free: 86.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/0.6823, allocations: 331.5 kB / 0.5207 GB, free: 85.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005758/0.6829, allocations: 235.4 kB / 0.5209 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.6831, allocations: 115.5 kB / 0.521 GB, free: 85.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001182/0.6843, allocations: 1.067 MB / 0.522 GB, free: 84.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6843, allocations: 0 / 0.522 GB, free: 84.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002205/0.6865, allocations: 0.7821 MB / 0.5228 GB, free: 83.62 MB / 378.7 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.0004127/0.6869, allocations: 222.3 kB / 0.523 GB, free: 83.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009609/0.6965, allocations: 3.813 MB / 0.5267 GB, free: 79.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.6966, allocations: 0.8438 kB / 0.5267 GB, free: 79.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005275/0.7019, allocations: 2.411 MB / 0.5291 GB, free: 77.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.7038, allocations: 462.6 kB / 0.5295 GB, free: 76.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.7159, allocations: 7.03 MB / 0.5364 GB, free: 69.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.7174, allocations: 1.76 MB / 0.5381 GB, free: 67.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001347/0.7187, allocations: 473.1 kB / 0.5386 GB, free: 67.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005296/0.7193, allocations: 139.4 kB / 0.5387 GB, free: 67.18 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.7193, allocations: 0 / 0.5387 GB, free: 67.18 MB / 378.7 MB Notification: Performance of Templates: time 0.05038/0.7697, allocations: 44.71 MB / 0.5824 GB, free: 22.69 MB / 378.7 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@2/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]