Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.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.00137/0.00137, allocations: 91.56 kB / 20.45 MB, free: 4.125 MB / 18.57 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.001393/0.001393, allocations: 169.3 kB / 23.82 MB, free: 0.7578 MB / 18.57 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.9388/0.9388, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4724/0.4724, allocations: 90.56 MB / 328.6 MB, free: 14.73 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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) Running command: translateModel(Dynawo.Examples.SVarC.SVarCLoadVarQLarge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge") translateModel(Dynawo.Examples.SVarC.SVarCLoadVarQLarge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 428.1 MB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.057e-05, allocations: 5.266 kB / 428.1 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQLarge): time 0.007845/0.007875, allocations: 5.049 MB / 433.2 MB, free: 6.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007258/0.01513, allocations: 2.904 MB / 436.1 MB, free: 3.562 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.01677, allocations: 19.88 kB / 436.1 MB, free: 3.543 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007792/0.01755, allocations: 198.3 kB / 436.3 MB, free: 3.348 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.01865, allocations: 274 kB / 436.6 MB, free: 3.078 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.02056, allocations: 0.9543 MB / 437.5 MB, free: 2.121 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001163/0.02172, allocations: 1.229 MB / 438.8 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004057/0.02213, allocations: 275.2 kB / 439 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006502/0.02278, allocations: 446.7 kB / 439.5 MB, free: 168 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.02319, allocations: 378.6 kB / 439.8 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.02332, allocations: 124 kB / 440 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004612/0.02378, allocations: 247.9 kB / 440.2 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.02393, allocations: 263 kB / 440.5 MB, free: 15.17 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002649/0.0242, allocations: 339 kB / 440.8 MB, free: 14.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.02537, allocations: 0.9263 MB / 441.7 MB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.02537, allocations: 4 kB / 441.7 MB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.02538, allocations: 0 / 441.7 MB, free: 13.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.02539, allocations: 0 / 441.7 MB, free: 13.91 MB / 426.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.002349/0.02774, allocations: 1.663 MB / 443.4 MB, free: 12.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.02779, allocations: 8.031 kB / 443.4 MB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009622/0.02876, allocations: 408 kB / 443.8 MB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006748/0.02943, allocations: 0.6255 MB / 444.4 MB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.02968, allocations: 0.5151 MB / 444.9 MB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.909e-05/0.02977, allocations: 76.36 kB / 445 MB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009355/0.03071, allocations: 0.7388 MB / 445.7 MB, free: 9.645 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.03072, allocations: 0 / 445.7 MB, free: 9.645 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.03077, allocations: 28 kB / 445.8 MB, free: 9.617 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.03079, allocations: 16 kB / 445.8 MB, free: 9.602 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005376/0.03132, allocations: 343.5 kB / 446.1 MB, free: 9.266 MB / 426.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.002888/0.03421, allocations: 3.151 MB / 449.3 MB, free: 6.027 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007375/0.03495, allocations: 420.7 kB / 449.7 MB, free: 5.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.0352, allocations: 184.7 kB / 449.9 MB, free: 5.402 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-05/0.03525, allocations: 12.5 kB / 449.9 MB, free: 5.391 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005852/0.03584, allocations: 0.5129 MB / 450.4 MB, free: 4.844 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 2.494e-06/0.03584, allocations: 0 / 450.4 MB, free: 4.844 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.002415/0.03825, allocations: 1.216 MB / 451.6 MB, free: 3.613 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.03832, allocations: 127.4 kB / 451.7 MB, free: 3.465 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006038/0.03892, allocations: 0.6751 MB / 452.4 MB, free: 2.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/0.03898, allocations: 45.7 kB / 452.4 MB, free: 2.719 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.03923, allocations: 459.5 kB / 452.9 MB, free: 2.262 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.0394, allocations: 258 kB / 453.1 MB, free: 2.008 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.0396, allocations: 184.2 kB / 453.3 MB, free: 1.816 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005354/0.04013, allocations: 0.5742 MB / 453.9 MB, free: 1.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.04045, allocations: 203.9 kB / 454.1 MB, free: 1.027 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.04086, allocations: 477.5 kB / 454.6 MB, free: 468 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00097/0.04183, allocations: 0.8334 MB / 455.4 MB, free: 15.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.04184, allocations: 0 / 455.4 MB, free: 15.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001886/0.04372, allocations: 1.096 MB / 456.5 MB, free: 14.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/0.04377, allocations: 37.7 kB / 456.5 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.04379, allocations: 4 kB / 456.5 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.04479, allocations: 427.1 kB / 456.9 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.04505, allocations: 115.8 kB / 457.1 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004392/0.04945, allocations: 4.67 MB / 461.7 MB, free: 8.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.0499, allocations: 91.53 kB / 461.8 MB, free: 8.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.04995, allocations: 43.98 kB / 461.9 MB, free: 8.777 MB / 442.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.injector.switchOffSignal3,sVarCStandard.injector.switchOffSignal2,sVarCStandard.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,loadPQ.switchOffSignal2,loadPQ.switchOffSignal1,$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,sVarCStandard.regulation.integrator.local_reset,sVarCStandard.regulation.limitations.limIntegratorMin.local_reset,sVarCStandard.regulation.limitations.limIntegratorMax.local_reset) * 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.0004237/0.05037, allocations: 316.6 kB / 462.2 MB, free: 8.469 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.05052, allocations: 123.4 kB / 462.3 MB, free: 8.348 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.05183, allocations: 0.8334 MB / 463.1 MB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.05184, allocations: 3.984 kB / 463.1 MB, free: 7.496 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.05184, allocations: 4 kB / 463.1 MB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.05197, allocations: 95.28 kB / 463.2 MB, free: 7.398 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.05205, allocations: 23.94 kB / 463.3 MB, free: 7.375 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.05226, allocations: 55.95 kB / 463.3 MB, free: 7.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.05243, allocations: 88.42 kB / 463.4 MB, free: 7.23 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001563/0.05399, allocations: 1.049 MB / 464.4 MB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001173/0.05517, allocations: 1.158 MB / 465.6 MB, free: 4.984 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002786/0.05545, allocations: 186.1 kB / 465.8 MB, free: 4.801 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003594/0.0558, allocations: 430.9 kB / 466.2 MB, free: 4.375 MB / 442.7 MB Notification: Performance of Backend: time 1.032e-06/0.05581, allocations: 0 / 466.2 MB, free: 4.375 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.05774, allocations: 1.158 MB / 467.4 MB, free: 3.152 MB / 442.7 MB Notification: Performance of SimCode: time 0.002315/0.06005, allocations: 2.278 MB / 469.6 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of Templates: time 0.1919/0.2519, allocations: 19.14 MB / 488.8 MB, free: 71.51 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.sim & ./Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SVarC.SVarCLoadVarQLarge_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7438503988087177]