Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhaseTwoLevel.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|integrator.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.ThreePhaseTwoLevel_PWM") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.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|integrator.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.ThreePhaseTwoLevel_PWM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 107.2 kB / 18.4 MB, free: 4.66 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.001601/0.001601, allocations: 187.3 kB / 19.34 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 51.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07454/0.07579, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.ThreePhaseTwoLevel_PWM): time 0.1506/0.2264, allocations: 6.021 MB / 381.9 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006021/0.2324, allocations: 4.594 MB / 386.5 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006147/0.2331, allocations: 32.72 kB / 386.5 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.2337, allocations: 292.9 kB / 386.8 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009345/0.2347, allocations: 481.2 kB / 387.2 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.2386, allocations: 1.782 MB / 389 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002215/0.2408, allocations: 2.456 MB / 391.5 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.2422, allocations: 1.468 MB / 393 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.2434, allocations: 1.123 MB / 394.1 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.2446, allocations: 1.182 MB / 395.3 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000357/0.245, allocations: 259.9 kB / 395.5 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006539/0.2457, allocations: 392.2 kB / 395.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006385/0.2463, allocations: 0.7518 MB / 396.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009819/0.2473, allocations: 1.171 MB / 397.8 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.25, allocations: 3.538 MB / 401.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.25, allocations: 0 / 401.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2501, allocations: 0 / 401.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.236e-05/0.2501, allocations: 0 / 401.4 MB, free: 1.262 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.006025/0.2561, allocations: 2.834 MB / 404.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2562, allocations: 9.312 kB / 404.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004347/0.2566, allocations: 227 kB / 404.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/0.259, allocations: 1.324 MB / 405.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007234/0.2597, allocations: 268.5 kB / 406 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002933/0.26, allocations: 151.5 kB / 406.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007359/0.2674, allocations: 3.009 MB / 409.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.2674, allocations: 3.906 kB / 409.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.2676, allocations: 72.05 kB / 409.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.474e-05/0.2677, allocations: 65.05 kB / 409.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.2779, allocations: 3.385 MB / 412.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/0.2928, allocations: 8.02 MB / 420.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006077/0.2989, allocations: 2.434 MB / 423.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005018/0.3039, allocations: 1.775 MB / 424.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.304, allocations: 17.3 kB / 424.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004793/0.3088, allocations: 1.627 MB / 426.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=141): time 3.817e-06/0.3088, allocations: 0 / 426.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=141): time 0.01899/0.3278, allocations: 5.854 MB / 432.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.328, allocations: 286.3 kB / 432.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/0.3303, allocations: 1.538 MB / 434.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001856/0.3305, allocations: 57.69 kB / 434.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006151/0.3312, allocations: 0.6932 MB / 435 MB, free: 3.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004358/0.3316, allocations: 445.8 kB / 435.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006042/0.3322, allocations: 335.4 kB / 435.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.131e-05/0.3323, allocations: 301.1 kB / 436 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004545/0.3369, allocations: 1.346 MB / 437.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004773/0.3417, allocations: 1.679 MB / 439.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008823/0.3505, allocations: 2.886 MB / 442 MB, free: 12.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.3505, allocations: 0 / 442 MB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01053/0.3611, allocations: 3.595 MB / 445.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.3611, allocations: 33.7 kB / 445.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.033e-05/0.3612, allocations: 11.98 kB / 445.6 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/0.3629, allocations: 0.7596 MB / 446.4 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00097/0.3639, allocations: 243.6 kB / 446.6 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.3755, allocations: 10.39 MB / 457 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002739/0.3782, allocations: 445.9 kB / 457.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/0.3785, allocations: 136 kB / 457.6 MB, free: 12.58 MB / 382.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,$PRE.harmonic.mean2.y,harmonic.mean1.y,$PRE.harmonic.mean1.y,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 (137): * Single equations (assignments): 129 * 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,13), (4,13), (4,13)} Notification: Performance of prepare postOptimizeDAE: time 0.00129/0.3798, allocations: 0.7491 MB / 458.3 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004128/0.3802, allocations: 166 kB / 458.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/0.3908, allocations: 3.579 MB / 462 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.3908, allocations: 3.984 kB / 462 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3908, allocations: 0 / 462 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.392, allocations: 0.5102 MB / 462.6 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000446/0.3925, allocations: 36 kB / 462.6 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002471/0.395, allocations: 327.6 kB / 462.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004421/0.3954, allocations: 165.1 kB / 463.1 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01403/0.4095, allocations: 4.313 MB / 467.4 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01476/0.4243, allocations: 4.96 MB / 472.3 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004711/0.429, allocations: 1.649 MB / 474 MB, free: 12.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001851/0.4309, allocations: 1.067 MB / 475.1 MB, free: 10.94 MB / 398.1 MB Notification: Performance of Backend: time 3.41e-07/0.4309, allocations: 0 / 475.1 MB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007588/0.4385, allocations: 2.603 MB / 477.7 MB, free: 8.266 MB / 398.1 MB Notification: Performance of SimCode: time 0.007121/0.4456, allocations: 4.418 MB / 482.1 MB, free: 3.77 MB / 398.1 MB Notification: Performance of Templates: time 0.05728/0.5029, allocations: 37.94 MB / 0.5078 GB, free: 13.75 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.ThreePhaseTwoLevel_PWM.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.ThreePhaseTwoLevel_PWM.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.ThreePhaseTwoLevel_PWM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe 2>&1)