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.001547/0.001547, allocations: 109 kB / 18.36 MB, free: 4.844 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.001829/0.001829, allocations: 183.1 kB / 19.29 MB, free: 3.918 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.294/1.294, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001204/0.001204, allocations: 56.3 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07195/0.07317, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.ThreePhaseTwoLevel_PWM): time 0.1592/0.2324, allocations: 6.023 MB / 381.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006923/0.2393, allocations: 4.593 MB / 386.4 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.2407, allocations: 37.41 kB / 386.4 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.2414, allocations: 283.1 kB / 386.7 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.2427, allocations: 471.7 kB / 387.2 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004352/0.247, allocations: 1.778 MB / 389 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002449/0.2495, allocations: 2.457 MB / 391.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.2509, allocations: 1.47 MB / 392.9 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.2521, allocations: 1.101 MB / 394 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.2534, allocations: 1.18 MB / 395.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003282/0.2537, allocations: 260.2 kB / 395.4 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006233/0.2544, allocations: 396.4 kB / 395.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006338/0.255, allocations: 0.7428 MB / 396.5 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.256, allocations: 1.174 MB / 397.7 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002642/0.2587, allocations: 3.529 MB / 401.2 MB, free: 1.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2587, allocations: 1.094 kB / 401.2 MB, free: 1.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2587, allocations: 0 / 401.2 MB, free: 1.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.758e-05/0.2588, allocations: 0 / 401.2 MB, free: 1.324 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.005861/0.2646, allocations: 2.83 MB / 404.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2647, allocations: 12 kB / 404.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004049/0.2651, allocations: 228.4 kB / 404.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.2671, allocations: 1.324 MB / 405.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007157/0.2678, allocations: 264.3 kB / 405.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/0.2681, allocations: 152.4 kB / 406 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007087/0.2752, allocations: 3.008 MB / 409.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.709e-05/0.2753, allocations: 11.84 kB / 409.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001962/0.2755, allocations: 65.69 kB / 409.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.067e-05/0.2755, allocations: 65 kB / 409.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.2859, allocations: 3.382 MB / 412.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01378/0.2997, allocations: 8.023 MB / 420.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006085/0.3058, allocations: 2.426 MB / 423 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005195/0.311, allocations: 1.771 MB / 424.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-05/0.3111, allocations: 21.3 kB / 424.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004844/0.3159, allocations: 1.619 MB / 426.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=141): time 3.617e-06/0.316, allocations: 0 / 426.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=141): time 0.01868/0.3346, allocations: 5.862 MB / 432.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.3348, allocations: 290.3 kB / 432.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.3367, allocations: 1.538 MB / 434.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.3369, allocations: 53.7 kB / 434.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005666/0.3374, allocations: 0.6971 MB / 434.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003753/0.3378, allocations: 441.8 kB / 435.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005389/0.3384, allocations: 339.4 kB / 435.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.3385, allocations: 301.1 kB / 435.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004497/0.343, allocations: 1.342 MB / 437.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004692/0.3477, allocations: 1.679 MB / 438.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008814/0.3565, allocations: 2.882 MB / 441.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3565, allocations: 4 kB / 441.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01026/0.3668, allocations: 3.595 MB / 445.4 MB, free: 9.125 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.3668, allocations: 37.69 kB / 445.5 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.3669, allocations: 8 kB / 445.5 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.3685, allocations: 0.7597 MB / 446.2 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009594/0.3695, allocations: 247.6 kB / 446.5 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.3809, allocations: 10.39 MB / 456.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/0.3835, allocations: 441.9 kB / 457.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.3837, allocations: 135.9 kB / 457.4 MB, free: 12.69 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.001094/0.3848, allocations: 0.7528 MB / 458.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.3851, allocations: 166 kB / 458.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/0.3956, allocations: 3.571 MB / 461.9 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.3956, allocations: 15.97 kB / 461.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3956, allocations: 0 / 461.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007685/0.3964, allocations: 0.5063 MB / 462.4 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002566/0.3966, allocations: 36 kB / 462.5 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00231/0.399, allocations: 327.6 kB / 462.8 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004223/0.3994, allocations: 165.1 kB / 462.9 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01374/0.4131, allocations: 4.325 MB / 467.3 MB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0145/0.4277, allocations: 4.949 MB / 472.2 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004689/0.4324, allocations: 1.645 MB / 473.9 MB, free: 12.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001403/0.4338, allocations: 1.071 MB / 474.9 MB, free: 11.05 MB / 398.1 MB Notification: Performance of Backend: time 3.61e-07/0.4338, allocations: 0 / 474.9 MB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006914/0.4407, allocations: 2.599 MB / 477.5 MB, free: 8.375 MB / 398.1 MB Notification: Performance of SimCode: time 0.005745/0.4465, allocations: 4.418 MB / 482 MB, free: 3.879 MB / 398.1 MB Notification: Performance of Templates: time 0.05181/0.4983, allocations: 37.51 MB / 0.5073 GB, free: 14.29 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)