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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002925/0.0002925, allocations: 0 / 0, free: 0 / 0 " [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.0002229/0.0002229, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.04484/0.04484, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.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: simulate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.ThreePhaseTwoLevel_PWM,startTime=0,stopTime=2,tolerance=1e-05,numberOfIntervals=2000,outputFormat="mat",variableFilter="time|filter.[0-9,]+..x.[0-9,]+.|harmonic.mean1.x|harmonic.mean2.x|integrator.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.ThreePhaseTwoLevel_PWM",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.ThreePhaseTwoLevel_PWM,startTime=0,stopTime=2,tolerance=1e-05,numberOfIntervals=2000,outputFormat="mat",variableFilter="time|filter.[0-9,]+..x.[0-9,]+.|harmonic.mean1.x|harmonic.mean2.x|integrator.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.ThreePhaseTwoLevel_PWM",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.019e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.ThreePhaseTwoLevel_PWM): time 0.007238/0.007258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.008204/0.01546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0005633/0.01603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0006689/0.01669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.00113/0.01782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.004078/0.0219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001966/0.02387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.02495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.02698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.02816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002401/0.0284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0004837/0.02888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.000672/0.02955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0007674/0.03032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002395/0.03272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002847/0.033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.883e-06/0.033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.544e-05/0.03302, allocations: 0 / 0, free: 0 / 0 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.003692/0.03671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001291/0.03684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004759/0.03731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.0387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003659/0.03907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/0.03936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.04189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.049e-05/0.04193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002072/0.04214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.581e-05/0.04221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.04364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007632/0.05127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.05268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.05403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 6.361e-05/0.05409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009911/0.05508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=141): time 1.044e-05/0.05509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=141): time 0.004565/0.05966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.05973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008528/0.06058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002292/0.06081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.06121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000399/0.06161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.00054/0.06215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.425e-05/0.06216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004897/0.06265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.06322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.06436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/0.06438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=189) (initialization): time 0.001826/0.0662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.06624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.983e-05/0.06627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0009248/0.0672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/0.0679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005789/0.07369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009495/0.07463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/0.0749, allocations: 0 / 0, free: 0 / 0 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.0007959/0.07569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/0.07596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/0.07789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.07791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.07791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.07792, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003694/0.08162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.08162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/0.0821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0008328/0.08293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/0.0831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005508/0.08861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.08861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.09088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0006242/0.0915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005071/0.09201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008543/0.09286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008084/0.09367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/0.09391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0004686/0.09438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 4.424e-05/0.09442, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002135/0.09656, allocations: 0 / 0, free: 0 / 0 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,harmonic.mean2.y) * 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 (84): * Single equations (assignments): 77 * 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,13), (4,13), (4,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007544/0.09731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.00209/0.0994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.0994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001351/0.1008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.1024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005251/0.1077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.1083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005426/0.1088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/0.1101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 5.421e-05/0.1101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.006518/0.1166, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.7877000658772886]