Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.SVarC.SVarCLoadVarQ.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.0009472/0.0009472, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.002172, allocations: 435.8 kB / 10.33 MB, free: 368 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.001004/0.001004, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00125/0.002254, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.7342/0.7342, allocations: 158.6 MB / 171 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.113/0.8472, allocations: 49.5 MB / 220.5 MB, free: 1.441 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.3951/0.3951, allocations: 90.82 MB / 312.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04211/0.4372, allocations: 32.14 MB / 344.2 MB, free: 14.4 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.SVarCLoadVarQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SVarC.SVarCLoadVarQ") translateModel(Dynawo.Examples.SVarC.SVarCLoadVarQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SVarC.SVarCLoadVarQ") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 345.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.437e-05, allocations: 2.312 kB / 345.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQ): time 0.004167/0.004181, allocations: 5.025 MB / 350.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002706/0.006887, allocations: 2.972 MB / 353.7 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.007122, allocations: 19.88 kB / 353.7 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.007396, allocations: 198.3 kB / 353.9 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.007748, allocations: 278 kB / 354.2 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009817/0.008729, allocations: 0.958 MB / 355.2 MB, free: 3.449 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008617/0.009591, allocations: 1.198 MB / 356.3 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002918/0.009883, allocations: 287.3 kB / 356.6 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005729/0.01046, allocations: 0.8221 MB / 357.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.01074, allocations: 386.6 kB / 357.8 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.172e-05/0.01083, allocations: 120 kB / 357.9 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.01107, allocations: 259.8 kB / 358.2 MB, free: 356 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.01118, allocations: 195.4 kB / 358.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.01137, allocations: 271.4 kB / 358.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006526/0.01202, allocations: 0.8484 MB / 359.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.275e-05/0.01204, allocations: 0 / 359.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01204, allocations: 0 / 359.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.01205, allocations: 0 / 359.5 MB, free: 15.04 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.00192/0.01397, allocations: 1.802 MB / 361.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.014, allocations: 16.02 kB / 361.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008048/0.0148, allocations: 392.5 kB / 361.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.01523, allocations: 422 kB / 362.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.01544, allocations: 0.5151 MB / 362.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.01554, allocations: 76.33 kB / 362.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007789/0.01632, allocations: 0.673 MB / 363.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.01633, allocations: 3.984 kB / 363.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.01637, allocations: 35.98 kB / 363.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.01638, allocations: 16 kB / 363.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.01667, allocations: 224.9 kB / 363.7 MB, free: 10.65 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.01842, allocations: 2.105 MB / 365.8 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.01889, allocations: 344.3 kB / 366.1 MB, free: 8.141 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.01903, allocations: 131.2 kB / 366.2 MB, free: 8.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.01907, allocations: 12.5 kB / 366.2 MB, free: 7.996 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003863/0.01945, allocations: 490.8 kB / 366.7 MB, free: 7.492 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 1.823e-06/0.01946, allocations: 0 / 366.7 MB, free: 7.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=81): time 0.001493/0.02095, allocations: 0.9025 MB / 367.6 MB, free: 6.578 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.02099, allocations: 93.7 kB / 367.7 MB, free: 6.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.02132, allocations: 0.5856 MB / 368.3 MB, free: 5.871 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.02136, allocations: 49.7 kB / 368.3 MB, free: 5.816 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.0215, allocations: 326.7 kB / 368.7 MB, free: 5.488 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.02163, allocations: 257.9 kB / 368.9 MB, free: 5.234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.02177, allocations: 178.5 kB / 369.1 MB, free: 5.051 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.02188, allocations: 410.5 kB / 369.5 MB, free: 4.641 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.02211, allocations: 180 kB / 369.7 MB, free: 4.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/0.02254, allocations: 390.1 kB / 370 MB, free: 4.004 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006862/0.02323, allocations: 0.7556 MB / 370.8 MB, free: 3.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.02323, allocations: 4 kB / 370.8 MB, free: 3.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001111/0.02434, allocations: 0.8901 MB / 371.7 MB, free: 2.262 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.02438, allocations: 41.69 kB / 371.7 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.02439, allocations: 4 kB / 371.7 MB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006852/0.02507, allocations: 401.5 kB / 372.1 MB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.02529, allocations: 127.8 kB / 372.3 MB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.02768, allocations: 3.336 MB / 375.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.02792, allocations: 95.48 kB / 375.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.02795, allocations: 31.98 kB / 375.7 MB, free: 14.05 MB / 378.7 MB Warning: Assuming fixed start value for the following 11 variables: loadPQ.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = loadPQ.State0 fixed = true ) \"Load connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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 loadPQ.running:DISCRETE(flow=false start = loadPQ.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean 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: 20 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.loadPQ.state,loadPQ.state,$PRE.sVarCStandard.injector.state,sVarCStandard.injector.state,$PRE.line.state,line.state,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.loadPQ.running,$PRE.sVarCStandard.blockingFunction.blocked,$PRE.sVarCStandard.modeHandling.modeAuto,sVarCStandard.modeHandling.modeManual,loadPQ.running,sVarCStandard.blockingFunction.blocked,sVarCStandard.modeHandling.URefAuto,sVarCStandard.modeHandling.timerModeChangeDown,sVarCStandard.modeHandling.timerModeChangeUp,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,$whenCondition17,$whenCondition16,$whenCondition18,loadPQ.switchOffSignal1,loadPQ.switchOffSignal2,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 (100): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,16)} Notification: Performance of prepare postOptimizeDAE: time 0.00022/0.02817, allocations: 237.3 kB / 375.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-05/0.02826, allocations: 95.84 kB / 376 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007851/0.02904, allocations: 0.6236 MB / 376.7 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.02905, allocations: 3.984 kB / 376.7 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.02905, allocations: 3.984 kB / 376.7 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.02912, allocations: 79.31 kB / 376.8 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.02915, allocations: 15.98 kB / 376.8 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.02921, allocations: 24 kB / 376.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.02938, allocations: 47.95 kB / 376.8 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.0295, allocations: 88.42 kB / 376.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001073/0.03057, allocations: 0.7754 MB / 377.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006241/0.03119, allocations: 0.8071 MB / 378.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001675/0.03136, allocations: 163.3 kB / 378.7 MB, free: 11.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.03153, allocations: 276.5 kB / 378.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of Backend: time 2.11e-07/0.03153, allocations: 0 / 378.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.03272, allocations: 1.049 MB / 380 MB, free: 9.68 MB / 378.7 MB Notification: Performance of SimCode: time 0.0019/0.03462, allocations: 2.151 MB / 382.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of Templates: time 0.01885/0.05347, allocations: 19.31 MB / 401.4 MB, free: 4.258 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.SVarC.SVarCLoadVarQ.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe ; mkfifo Dynawo_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe >> ../files/Dynawo_Dynawo.Examples.SVarC.SVarCLoadVarQ.sim & ./Dynawo_Dynawo.Examples.SVarC.SVarCLoadVarQ -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Dynawo_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8774522012099624]