Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001799/0.001799, allocations: 112.6 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002175/0.002175, allocations: 212.2 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.431/1.431, allocations: 230.4 MB / 258.1 MB, free: 8.117 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 71.83 kB / 378.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2143, allocations: 53.32 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM): time 0.008139/0.2225, allocations: 6.204 MB / 438.3 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007769/0.2302, allocations: 4.731 MB / 443 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005798/0.2308, allocations: 39.75 kB / 443 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006854/0.2315, allocations: 293.8 kB / 443.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.2325, allocations: 481.3 kB / 443.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003665/0.2362, allocations: 1.79 MB / 445.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002738/0.2389, allocations: 2.45 MB / 448 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.2401, allocations: 0.8419 MB / 448.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.2416, allocations: 1.149 MB / 450 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.2433, allocations: 1.214 MB / 451.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003543/0.2437, allocations: 264 kB / 451.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000681/0.2443, allocations: 427.6 kB / 451.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000733/0.2451, allocations: 0.7597 MB / 452.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.2463, allocations: 1.182 MB / 453.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003579/0.2498, allocations: 3.574 MB / 457.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2498, allocations: 0 / 457.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2498, allocations: 0 / 457.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.745e-05/0.2499, allocations: 8 kB / 457.4 MB, free: 13.85 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.00689/0.2568, allocations: 3.16 MB / 460.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2568, allocations: 8.031 kB / 460.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.2577, allocations: 287.4 kB / 460.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.2605, allocations: 1.415 MB / 462.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006335/0.2611, allocations: 240.6 kB / 462.5 MB, free: 8.609 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002865/0.2614, allocations: 164 kB / 462.7 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006909/0.2683, allocations: 2.874 MB / 465.6 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/0.2683, allocations: 7.938 kB / 465.6 MB, free: 5.477 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.2685, allocations: 71.92 kB / 465.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.385e-05/0.2686, allocations: 58.97 kB / 465.7 MB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009415/0.278, allocations: 3.111 MB / 468.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01482/0.2928, allocations: 7.936 MB / 476.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005693/0.2985, allocations: 2.153 MB / 478.9 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0046/0.3031, allocations: 1.503 MB / 480.4 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.917e-05/0.3032, allocations: 13.31 kB / 480.4 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00435/0.3076, allocations: 1.483 MB / 481.9 MB, free: 4.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 3.808e-06/0.3076, allocations: 0 / 481.9 MB, free: 4.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=141): time 0.01792/0.3255, allocations: 5.582 MB / 487.5 MB, free: 15.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/0.3257, allocations: 290.3 kB / 487.8 MB, free: 14.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.3279, allocations: 1.56 MB / 489.3 MB, free: 13.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.3281, allocations: 57.7 kB / 489.4 MB, free: 13.33 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006783/0.3288, allocations: 0.718 MB / 490.1 MB, free: 12.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004483/0.3292, allocations: 468.1 kB / 490.6 MB, free: 12.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005636/0.3298, allocations: 327.5 kB / 490.9 MB, free: 11.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3299, allocations: 309.1 kB / 491.2 MB, free: 11.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004038/0.3339, allocations: 1.202 MB / 492.4 MB, free: 10.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004323/0.3382, allocations: 1.546 MB / 493.9 MB, free: 8.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007844/0.3461, allocations: 2.598 MB / 496.5 MB, free: 5.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3461, allocations: 0 / 496.5 MB, free: 5.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.00952/0.3556, allocations: 3.323 MB / 499.9 MB, free: 2.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.3557, allocations: 33.7 kB / 499.9 MB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.294e-05/0.3557, allocations: 15.98 kB / 499.9 MB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/0.3575, allocations: 0.7943 MB / 0.489 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009652/0.3585, allocations: 231.6 kB / 0.4892 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/0.3722, allocations: 10.98 MB / 0.4999 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/0.3747, allocations: 378.6 kB / 0.5003 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/0.375, allocations: 135.9 kB / 0.5004 GB, free: 5.609 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.001281/0.3763, allocations: 0.7568 MB / 0.5011 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/0.3766, allocations: 178.9 kB / 0.5013 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009553/0.3861, allocations: 3.302 MB / 0.5045 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.3861, allocations: 7.969 kB / 0.5045 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3861, allocations: 0 / 0.5045 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.3873, allocations: 0.5074 MB / 0.505 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/0.3876, allocations: 39.92 kB / 0.5051 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/0.3897, allocations: 263.7 kB / 0.5053 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003924/0.39, allocations: 161 kB / 0.5055 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01292/0.403, allocations: 4.005 MB / 0.5094 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01328/0.4162, allocations: 4.561 MB / 0.5138 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004108/0.4204, allocations: 1.329 MB / 0.5151 GB, free: 6.387 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001827/0.4222, allocations: 1.083 MB / 0.5162 GB, free: 5.305 MB / 430.1 MB Notification: Performance of Backend: time 4.21e-07/0.4222, allocations: 3.938 kB / 0.5162 GB, free: 5.301 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007039/0.4292, allocations: 2.472 MB / 0.5186 GB, free: 2.758 MB / 430.1 MB Notification: Performance of SimCode: time 0.006909/0.4361, allocations: 4.572 MB / 0.5231 GB, free: 14.13 MB / 446.1 MB Notification: Performance of Templates: time 0.2182/0.6544, allocations: 39.17 MB / 0.5613 GB, free: 87.96 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.3320203479379416] 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.662031332962215 0.6700165760000001 0.418072471 Calling exit ...