Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.SVarC.SVarCModeChange.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.0007986/0.0007986, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.00195, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000737/0.000737, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001754, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [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.8099/0.8099, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1455/0.9554, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.4338/0.4338, allocations: 90.85 MB / 312.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0493/0.4831, allocations: 32.14 MB / 344.4 MB, free: 14.32 MB / 346.7 MB " [Timeout remaining time 180] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo) 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) Ignoring simflag -s=dassl since the model is compiled with --daeMode, which needs -s=ida Running command: translateModel(Dynawo.Examples.SVarC.SVarCModeChange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=389,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SVarC.SVarCModeChange") translateModel(Dynawo.Examples.SVarC.SVarCModeChange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=389,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SVarC.SVarCModeChange") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 345.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.792e-05, allocations: 2.312 kB / 345.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCModeChange): time 0.004303/0.004321, allocations: 4.649 MB / 350.6 MB, free: 8.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00304/0.007361, allocations: 2.898 MB / 353.5 MB, free: 5.238 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.007638, allocations: 15.88 kB / 353.5 MB, free: 5.223 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.007951, allocations: 182.4 kB / 353.6 MB, free: 5.043 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.008311, allocations: 234.2 kB / 353.9 MB, free: 4.812 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.009416, allocations: 0.8724 MB / 354.7 MB, free: 3.938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008066/0.01022, allocations: 1.104 MB / 355.8 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.01058, allocations: 287.2 kB / 356.1 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000727/0.01131, allocations: 0.7713 MB / 356.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003316/0.01164, allocations: 346.8 kB / 357.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.01175, allocations: 120 kB / 357.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.01202, allocations: 223.8 kB / 357.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.01214, allocations: 187.4 kB / 357.8 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.01231, allocations: 251.4 kB / 358 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00079/0.0131, allocations: 0.7667 MB / 358.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.01312, allocations: 0 / 358.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01312, allocations: 0 / 358.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.01313, allocations: 0 / 358.8 MB, free: 15.86 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.001894/0.01503, allocations: 1.63 MB / 360.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.01506, allocations: 12.02 kB / 360.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007926/0.01586, allocations: 356.6 kB / 360.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.01631, allocations: 406 kB / 361.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.01651, allocations: 412 kB / 361.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.01658, allocations: 72.33 kB / 361.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/0.01718, allocations: 0.6039 MB / 362.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.01719, allocations: 3.938 kB / 362.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.01723, allocations: 32 kB / 362.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.01724, allocations: 16 kB / 362.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.01752, allocations: 211.8 kB / 362.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.01925, allocations: 1.928 MB / 364.4 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.01969, allocations: 343.4 kB / 364.8 MB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.01982, allocations: 102.3 kB / 364.9 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.01985, allocations: 8.5 kB / 364.9 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003653/0.02022, allocations: 401.2 kB / 365.3 MB, free: 9.082 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 1.844e-06/0.02022, allocations: 0 / 365.3 MB, free: 9.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.000995/0.02121, allocations: 0.6239 MB / 365.9 MB, free: 8.449 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.02125, allocations: 72.06 kB / 365.9 MB, free: 8.367 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.02158, allocations: 0.5544 MB / 366.5 MB, free: 7.801 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.02163, allocations: 45.7 kB / 366.5 MB, free: 7.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.02176, allocations: 294.8 kB / 366.8 MB, free: 7.457 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.02188, allocations: 218.2 kB / 367 MB, free: 7.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.02201, allocations: 142.5 kB / 367.2 MB, free: 7.098 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.02213, allocations: 394.6 kB / 367.6 MB, free: 6.703 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.02225, allocations: 88.78 kB / 367.7 MB, free: 6.613 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.02243, allocations: 227.5 kB / 367.9 MB, free: 6.348 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.02287, allocations: 0.4926 MB / 368.4 MB, free: 5.805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.02287, allocations: 0 / 368.4 MB, free: 5.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008102/0.02368, allocations: 0.6029 MB / 369 MB, free: 5.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.0237, allocations: 8 kB / 369 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.0237, allocations: 4 kB / 369 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005054/0.02421, allocations: 282.9 kB / 369.3 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.02442, allocations: 111.8 kB / 369.4 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.02615, allocations: 1.924 MB / 371.3 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.02638, allocations: 87.62 kB / 371.4 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.02641, allocations: 20 kB / 371.4 MB, free: 2.684 MB / 362.7 MB Warning: Assuming fixed start value for the following 9 variables: sVarCStandard.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = sVarCStandard.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean sVarCStandard.injector.running:DISCRETE(flow=false start = sVarCStandard.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean sVarCStandard.modeHandling.timerModeChangeUp:DISCRETE(start = 1e60 unit = \"s\" fixed = true ) \"Timer for the transition from standby to running mode for high voltage values\" type: Real sVarCStandard.modeHandling.timerModeChangeDown:DISCRETE(start = 1e60 unit = \"s\" fixed = true ) \"Timer for the transition from standby to running mode for low voltage values\" type: Real sVarCStandard.modeHandling.URefAuto:DISCRETE(start = sVarCStandard.modeHandling.URef0 unit = \"kV\" fixed = true ) \"Voltage reference for the regulation if the static var compensator switches from standy to running mode automatically in kV\" type: Real sVarCStandard.blockingFunction.blocked:DISCRETE(flow=false fixed = true ) \"Whether the static var compensator is blocked due to very low voltages\" type: Boolean sVarCStandard.modeHandling.modeAuto:DISCRETE(flow=false min = Dynawo.Electrical.StaticVarCompensators.BaseControls.Mode.OFF max = Dynawo.Electrical.StaticVarCompensators.BaseControls.Mode.RUNNING_V start = sVarCStandard.modeHandling.Mode0 fixed = true ) \"Mode of the static var compensator when in automatic configuration\" type: enumeration(OFF, STANDBY, RUNNING_V) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 50 ($PRE.sVarCStandard.injector.state,sVarCStandard.injector.state,$PRE.line.state,line.state,$whenCondition16,sVarCStandard.regulation.limitations.limIntegratorMax.local_reset,sVarCStandard.regulation.limitations.limIntegratorMin.local_reset,sVarCStandard.regulation.integrator.local_reset,$PRE.line.running,$PRE.sVarCStandard.injector.running,$PRE.sVarCStandard.modeHandling.timerModeChangeUp,$PRE.sVarCStandard.modeHandling.timerModeChangeDown,$PRE.sVarCStandard.modeHandling.URefAuto,$PRE.selectMode.pulseStart,$PRE.sVarCStandard.blockingFunction.blocked,$PRE.sVarCStandard.modeHandling.modeAuto,manualMode.y,manualMode.u[2],manualMode.u[1],not1.y,selectMode.pulseStart,sVarCStandard.blockingFunction.blocked,sVarCStandard.modeHandling.URefAuto,sVarCStandard.modeHandling.timerModeChangeDown,sVarCStandard.modeHandling.timerModeChangeUp,sVarCStandard.modeHandling.modeManual,sVarCStandard.modeHandling.modeAuto,sVarCStandard.modeHandling.mode,sVarCStandard.injector.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,line.switchOffSignal1,line.switchOffSignal2,sVarCStandard.injector.switchOffSignal1,sVarCStandard.injector.switchOffSignal2,sVarCStandard.injector.switchOffSignal3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002296/0.02664, allocations: 237.9 kB / 371.6 MB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.733e-05/0.02671, allocations: 79.92 kB / 371.7 MB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/0.02745, allocations: 0.5562 MB / 372.3 MB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.02746, allocations: 3.984 kB / 372.3 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02746, allocations: 0 / 372.3 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.02753, allocations: 71.41 kB / 372.3 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.02756, allocations: 12 kB / 372.4 MB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.02761, allocations: 23.92 kB / 372.4 MB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.02787, allocations: 51.95 kB / 372.4 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.02799, allocations: 80.5 kB / 372.5 MB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008724/0.02887, allocations: 0.6304 MB / 373.1 MB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006047/0.02947, allocations: 0.7188 MB / 373.9 MB, free: 188 kB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001908/0.02966, allocations: 143.2 kB / 374 MB, free: 44 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001882/0.02985, allocations: 272.5 kB / 374.3 MB, free: 15.77 MB / 378.7 MB Notification: Performance of Backend: time 2.5e-07/0.02985, allocations: 3.938 kB / 374.3 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009441/0.0308, allocations: 0.6634 MB / 374.9 MB, free: 15.08 MB / 378.7 MB Notification: Performance of SimCode: time 0.001934/0.03273, allocations: 1.993 MB / 376.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of Templates: time 0.01868/0.05141, allocations: 16.7 MB / 393.6 MB, free: 12.42 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.SVarC.SVarCModeChange.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.SVarC.SVarCModeChange.pipe ; mkfifo Dynawo_Dynawo.Examples.SVarC.SVarCModeChange.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.SVarC.SVarCModeChange.pipe >> ../files/Dynawo_Dynawo.Examples.SVarC.SVarCModeChange.sim & ./Dynawo_Dynawo.Examples.SVarC.SVarCModeChange -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Dynawo_Dynawo.Examples.SVarC.SVarCModeChange.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0986251635476947]