Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_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.0007844/0.0007844, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.001846, 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.0007108/0.0007108, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009494/0.00166, 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.8534/0.8534, allocations: 158.6 MB / 171 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1531/1.007, allocations: 49.5 MB / 220.5 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.4568/0.4568, allocations: 100.5 MB / 321.8 MB, free: 4.715 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05956/0.5163, allocations: 35.7 MB / 357.5 MB, free: 1.324 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-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) 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="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ") translateModel(Dynawo.Examples.SVarC.SVarCLoadVarQ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 359 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.81e-05, allocations: 2.312 kB / 359 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQ): time 0.004971/0.004989, allocations: 5.065 MB / 364 MB, free: 10.76 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003383/0.008372, allocations: 2.98 MB / 367 MB, free: 7.773 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/0.008771, allocations: 19.88 kB / 367 MB, free: 7.754 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.009146, allocations: 198.3 kB / 367.2 MB, free: 7.559 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005461/0.009692, allocations: 274 kB / 367.5 MB, free: 7.289 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.01106, allocations: 0.9576 MB / 368.5 MB, free: 6.332 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.01227, allocations: 1.218 MB / 369.7 MB, free: 5.109 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004087/0.01268, allocations: 295.5 kB / 370 MB, free: 4.785 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009148/0.0136, allocations: 0.826 MB / 370.8 MB, free: 3.941 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003966/0.01399, allocations: 386.6 kB / 371.2 MB, free: 3.562 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.01414, allocations: 120 kB / 371.3 MB, free: 3.445 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.01449, allocations: 259.8 kB / 371.5 MB, free: 3.191 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.01461, allocations: 195.4 kB / 371.7 MB, free: 3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.01481, allocations: 271.4 kB / 372 MB, free: 2.734 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008482/0.01566, allocations: 0.8601 MB / 372.9 MB, free: 1.871 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.01567, allocations: 0 / 372.9 MB, free: 1.871 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01568, allocations: 4 kB / 372.9 MB, free: 1.867 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.0157, allocations: 0 / 372.9 MB, free: 1.867 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.00227/0.01797, allocations: 1.81 MB / 374.7 MB, free: 4 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.01801, allocations: 8.078 kB / 374.7 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008862/0.0189, allocations: 404.5 kB / 375.1 MB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/0.0194, allocations: 414 kB / 375.5 MB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002891/0.01969, allocations: 0.5073 MB / 376 MB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-05/0.01977, allocations: 84.34 kB / 376.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/0.02042, allocations: 0.677 MB / 376.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.02044, allocations: 4 kB / 376.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/0.02048, allocations: 28 kB / 376.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.02049, allocations: 16 kB / 376.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.02079, allocations: 232.9 kB / 377 MB, free: 13.48 MB / 378.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.001908/0.0227, allocations: 2.126 MB / 379.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.02314, allocations: 340.1 kB / 379.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.02328, allocations: 135.1 kB / 379.6 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.02332, allocations: 16.48 kB / 379.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003971/0.02371, allocations: 473.8 kB / 380.1 MB, free: 10.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=81): time 2.204e-06/0.02371, allocations: 0 / 380.1 MB, free: 10.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.001554/0.02527, allocations: 0.9062 MB / 381 MB, free: 9.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.02531, allocations: 101.7 kB / 381.1 MB, free: 9.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.02567, allocations: 0.5896 MB / 381.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.02571, allocations: 45.7 kB / 381.7 MB, free: 8.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.02586, allocations: 334.7 kB / 382 MB, free: 8.293 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.026, allocations: 253.9 kB / 382.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.02615, allocations: 178.5 kB / 382.5 MB, free: 7.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000308/0.02646, allocations: 410.5 kB / 382.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.0267, allocations: 179.9 kB / 383 MB, free: 7.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.02702, allocations: 394.1 kB / 383.4 MB, free: 6.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00072/0.02774, allocations: 0.7583 MB / 384.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.02774, allocations: 0 / 384.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001163/0.0289, allocations: 0.8943 MB / 385.1 MB, free: 5.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.02894, allocations: 41.7 kB / 385.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.02895, allocations: 4 kB / 385.1 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000712/0.02967, allocations: 379.7 kB / 385.5 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.0299, allocations: 131.8 kB / 385.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.03243, allocations: 3.356 MB / 389 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.03269, allocations: 91.53 kB / 389.1 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.03272, allocations: 28 kB / 389.1 MB, free: 0.8672 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.switchOffSignal1,sVarCStandard.switchOffSignal2,sVarCStandard.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.0002545/0.03297, allocations: 253.6 kB / 389.4 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-05/0.03306, allocations: 91.84 kB / 389.4 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.03415, allocations: 0.6121 MB / 390.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.03415, allocations: 7.984 kB / 390.1 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.03416, allocations: 0 / 390.1 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-05/0.03424, allocations: 83.3 kB / 390.1 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.03427, allocations: 19.92 kB / 390.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.03432, allocations: 23.94 kB / 390.2 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.03449, allocations: 43.95 kB / 390.2 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.03461, allocations: 88.42 kB / 390.3 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009701/0.03558, allocations: 0.7747 MB / 391.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006572/0.03624, allocations: 0.8071 MB / 391.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001732/0.03641, allocations: 155.3 kB / 392 MB, free: 13.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001872/0.0366, allocations: 272.5 kB / 392.3 MB, free: 13.6 MB / 394.7 MB Notification: Performance of Backend: time 3e-07/0.0366, allocations: 0 / 392.3 MB, free: 13.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.03793, allocations: 1.054 MB / 393.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of SimCode: time 0.002114/0.04005, allocations: 2.165 MB / 395.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of Templates: time 0.02173/0.06177, allocations: 19.19 MB / 414.7 MB, free: 7.172 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.sim & ./Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ -lv=LOG_STATS -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -s=ida > Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SVarC.SVarCLoadVarQ_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.2346345521509647]