Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 215.5 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|potentialSensor.phi.1.|potentialSensor.phi.2.|potentialSensor.phi.3.|harmonic.mean1.x|harmonic.mean2.x|harmonic.y_rms|harmonic.y_arg|integrator.y|filter.1..x.1.|filter.1..x.2.|filter.2..x.1.|filter.2..x.2.|toPolar.y.1.|toPolar.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|potentialSensor.phi.1.|potentialSensor.phi.2.|potentialSensor.phi.3.|harmonic.mean1.x|harmonic.mean2.x|harmonic.y_rms|harmonic.y_arg|integrator.y|filter.1..x.1.|filter.1..x.2.|filter.2..x.1.|filter.2..x.2.|toPolar.y.1.|toPolar.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.212, allocations: 53.37 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM): time 0.008072/0.2201, allocations: 5.559 MB / 437.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008011/0.2281, allocations: 4.425 MB / 442.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005028/0.2286, allocations: 51.56 kB / 442.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006872/0.2293, allocations: 301.8 kB / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.2304, allocations: 493.3 kB / 443.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003674/0.2341, allocations: 1.866 MB / 445 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002501/0.2366, allocations: 2.462 MB / 447.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.2377, allocations: 0.8384 MB / 448.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.2391, allocations: 1.169 MB / 449.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.2405, allocations: 1.226 MB / 450.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003641/0.2409, allocations: 260 kB / 451 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007302/0.2416, allocations: 439.7 kB / 451.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007396/0.2424, allocations: 0.7674 MB / 452.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.2434, allocations: 0.9606 MB / 453.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003512/0.2469, allocations: 3.601 MB / 456.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2469, allocations: 4 kB / 456.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2469, allocations: 0 / 456.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.051e-05/0.247, allocations: 0 / 456.8 MB, free: 14.23 MB / 366.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.006655/0.2536, allocations: 3.091 MB / 459.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2537, allocations: 8.031 kB / 459.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008851/0.2546, allocations: 291.4 kB / 460.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002684/0.2572, allocations: 1.354 MB / 461.5 MB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007306/0.258, allocations: 420.5 kB / 461.9 MB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/0.2583, allocations: 156 kB / 462.1 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006871/0.2652, allocations: 3.069 MB / 465.1 MB, free: 5.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.2652, allocations: 4 kB / 465.1 MB, free: 5.574 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.2654, allocations: 64 kB / 465.2 MB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.054e-05/0.2655, allocations: 70.88 kB / 465.3 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009161/0.2746, allocations: 3.148 MB / 468.4 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01369/0.2883, allocations: 7.062 MB / 475.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005538/0.2939, allocations: 2.179 MB / 477.6 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004534/0.2984, allocations: 1.536 MB / 479.2 MB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.2985, allocations: 17.3 kB / 479.2 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004444/0.303, allocations: 1.527 MB / 480.7 MB, free: 5.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 3.858e-06/0.303, allocations: 7.938 kB / 480.7 MB, free: 5.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=141): time 0.01757/0.3205, allocations: 5.406 MB / 486.1 MB, free: 344 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001809/0.3207, allocations: 290.3 kB / 486.4 MB, free: 15.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.3224, allocations: 1.286 MB / 487.7 MB, free: 14.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.3225, allocations: 61.7 kB / 487.8 MB, free: 14.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006267/0.3231, allocations: 0.7362 MB / 488.5 MB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004347/0.3236, allocations: 460.2 kB / 489 MB, free: 13.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005799/0.3241, allocations: 339.4 kB / 489.3 MB, free: 13.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3243, allocations: 305.1 kB / 489.6 MB, free: 12.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/0.3282, allocations: 1.239 MB / 490.8 MB, free: 11.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004249/0.3325, allocations: 1.718 MB / 492.5 MB, free: 9.656 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007718/0.3402, allocations: 2.598 MB / 495.1 MB, free: 6.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.3402, allocations: 4 kB / 495.1 MB, free: 6.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.009186/0.3494, allocations: 3.321 MB / 498.5 MB, free: 3.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.3494, allocations: 41.78 kB / 498.5 MB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.3494, allocations: 8 kB / 498.5 MB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/0.3513, allocations: 0.791 MB / 499.3 MB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009499/0.3523, allocations: 239.6 kB / 499.5 MB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/0.3656, allocations: 10.46 MB / 0.498 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.3678, allocations: 342.9 kB / 0.4984 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/0.368, allocations: 128 kB / 0.4985 GB, free: 7.277 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 53 (pwm.svPWM.firstTrigger,$PRE.pwm.svPWM.firstTrigger,pwm.svPWM.phiSec,$PRE.pwm.svPWM.phiSec,pwm.svPWM.phiPos,$PRE.pwm.svPWM.phiPos,pwm.svPWM.phiRef,$PRE.pwm.svPWM.phiRef,pwm.svPWM.uRef,$PRE.pwm.svPWM.uRef,$whenCondition3,$whenCondition2,harmonic.mean2.y_last,$PRE.harmonic.mean2.y_last,harmonic.mean1.y_last,$PRE.harmonic.mean1.y_last,pwm.svPWM.sampleTrigger,$whenCondition1,$whenCondition4,multiPhase2Level.diode_n.idealDiode[3].off,multiPhase2Level.diode_n.idealDiode[2].off,multiPhase2Level.diode_n.idealDiode[1].off,multiPhase2Level.transistor_n.idealGTOThyristor[3].off,multiPhase2Level.transistor_n.idealGTOThyristor[2].off,multiPhase2Level.transistor_n.idealGTOThyristor[1].off,multiPhase2Level.diode_p.idealDiode[3].off,multiPhase2Level.diode_p.idealDiode[2].off,multiPhase2Level.diode_p.idealDiode[1].off,multiPhase2Level.transistor_p.idealGTOThyristor[3].off,multiPhase2Level.transistor_p.idealGTOThyristor[2].off,multiPhase2Level.transistor_p.idealGTOThyristor[1].off,multiPhase2Level.andCondition_n[3].y,multiPhase2Level.andCondition_n[2].y,multiPhase2Level.andCondition_n[1].y,multiPhase2Level.andCondition_p[3].y,multiPhase2Level.andCondition_p[2].y,multiPhase2Level.andCondition_p[1].y,pwm.svPWM.T0,$PRE.pwm.svPWM.T0,pwm.svPWM.t0,$PRE.pwm.svPWM.t0,pwm.svPWM.tb,$PRE.pwm.svPWM.tb,pwm.svPWM.ta,$PRE.pwm.svPWM.ta,pwm.svPWM.kb,$PRE.pwm.svPWM.kb,pwm.svPWM.ka,$PRE.pwm.svPWM.ka,pwm.fire_n[3],pwm.fire_n[2],pwm.fire_n[1],integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 123 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,15), (4,15), (4,15)} Notification: Performance of prepare postOptimizeDAE: time 0.001148/0.3692, allocations: 0.7607 MB / 0.4992 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.3694, allocations: 163 kB / 0.4994 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009602/0.379, allocations: 3.333 MB / 0.5026 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.379, allocations: 3.984 kB / 0.5027 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.379, allocations: 3.984 kB / 0.5027 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.3801, allocations: 424.5 kB / 0.5031 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/0.3803, allocations: 35.98 kB / 0.5031 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/0.3824, allocations: 263.7 kB / 0.5033 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003985/0.3828, allocations: 161 kB / 0.5035 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01267/0.3954, allocations: 4.03 MB / 0.5074 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0131/0.4085, allocations: 4.615 MB / 0.5119 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004063/0.4126, allocations: 1.374 MB / 0.5133 GB, free: 8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001186/0.4138, allocations: 0.874 MB / 0.5141 GB, free: 7.121 MB / 430.1 MB Notification: Performance of Backend: time 3e-07/0.4138, allocations: 0 / 0.5141 GB, free: 7.121 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006427/0.4202, allocations: 2.504 MB / 0.5166 GB, free: 4.539 MB / 430.1 MB Notification: Performance of SimCode: time 0.00629/0.4265, allocations: 4.48 MB / 0.521 GB, free: 4 kB / 430.1 MB Notification: Performance of Templates: time 0.2226/0.6491, allocations: 39.96 MB / 0.56 GB, free: 90.23 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.348291906993836] Failed to read output from testmodel.py, exit status != 0: ['time', 'potentialSensor.phi[1]', 'potentialSensor.phi[2]', 'potentialSensor.phi[3]', 'harmonic.mean1.x', 'harmonic.mean2.x', 'harmonic.y_rms', 'harmonic.y_arg', 'integrator.y', 'filter[1].x[1]', 'filter[1].x[2]', 'filter[2].x[1]', 'filter[2].x[2]', 'toPolar.y[1]', 'toPolar.y[2]'] 0.6566397960050381 0.665521222 0.41636613600000005 Calling exit ...