Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.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.002365/0.002365, allocations: 83.67 kB / 20.23 MB, free: 4.18 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.002798/0.002798, allocations: 161.8 kB / 23.54 MB, free: 0.8672 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 1.358/1.358, allocations: 158.6 MB / 185.4 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.7249/0.7249, allocations: 90.62 MB / 328.3 MB, free: 14.56 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.SVarCFaultImp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp") translateModel(Dynawo.Examples.SVarC.SVarCFaultImp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 427.4 MB, free: 11.83 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.273e-05, allocations: 6.25 kB / 427.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCFaultImp): time 0.007602/0.007634, allocations: 4.597 MB / 432 MB, free: 7.195 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005335/0.01297, allocations: 2.767 MB / 434.8 MB, free: 4.414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005211/0.01349, allocations: 19.88 kB / 434.8 MB, free: 4.395 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006017/0.01409, allocations: 170.5 kB / 435 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006981/0.01479, allocations: 234.3 kB / 435.2 MB, free: 3.996 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.01677, allocations: 0.8686 MB / 436.1 MB, free: 3.125 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.01836, allocations: 1.108 MB / 437.2 MB, free: 2.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006087/0.01897, allocations: 270.8 kB / 437.4 MB, free: 1.738 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006324/0.0196, allocations: 406.8 kB / 437.8 MB, free: 1.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005164/0.02012, allocations: 330.8 kB / 438.1 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.0203, allocations: 112 kB / 438.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/0.02076, allocations: 215.9 kB / 438.5 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.02103, allocations: 243.1 kB / 438.7 MB, free: 468 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.02144, allocations: 311 kB / 439 MB, free: 156 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.02353, allocations: 1.382 MB / 440.4 MB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.02353, allocations: 0 / 440.4 MB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.02353, allocations: 0 / 440.4 MB, free: 14.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.02355, allocations: 0 / 440.4 MB, free: 14.77 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.004122/0.02767, allocations: 1.586 MB / 442 MB, free: 13.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.02772, allocations: 8.031 kB / 442 MB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.02934, allocations: 368.1 kB / 442.3 MB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.03049, allocations: 0.6093 MB / 443 MB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004532/0.03095, allocations: 459.4 kB / 443.4 MB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.03108, allocations: 72.36 kB / 443.5 MB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.03309, allocations: 0.8974 MB / 444.4 MB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.03311, allocations: 0 / 444.4 MB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.621e-05/0.0332, allocations: 27.98 kB / 444.4 MB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.03322, allocations: 16 kB / 444.4 MB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.03458, allocations: 0.5868 MB / 445 MB, free: 9.938 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005582/0.04017, allocations: 3.479 MB / 448.5 MB, free: 6.375 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.04168, allocations: 0.6182 MB / 449.1 MB, free: 5.742 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006871/0.04237, allocations: 305.1 kB / 449.4 MB, free: 5.441 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.38e-05/0.04245, allocations: 16.48 kB / 449.4 MB, free: 5.426 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/0.04373, allocations: 0.6492 MB / 450.1 MB, free: 4.742 MB / 426.7 MB Notification: Performance of pre-optimization done (n=72): time 2.495e-06/0.04373, allocations: 0 / 450.1 MB, free: 4.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.004633/0.04836, allocations: 1.538 MB / 451.6 MB, free: 3.191 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.04846, allocations: 93.75 kB / 451.7 MB, free: 3.082 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.04979, allocations: 0.8587 MB / 452.6 MB, free: 2.203 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.066e-05/0.04987, allocations: 45.7 kB / 452.6 MB, free: 2.152 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000569/0.05044, allocations: 475.5 kB / 453.1 MB, free: 1.684 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/0.05077, allocations: 238.2 kB / 453.3 MB, free: 1.449 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003475/0.05112, allocations: 180.3 kB / 453.5 MB, free: 1.266 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000502/0.05162, allocations: 0.6289 MB / 454.1 MB, free: 0.625 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007281/0.05235, allocations: 301.9 kB / 454.4 MB, free: 336 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.05338, allocations: 0.5493 MB / 454.9 MB, free: 15.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002221/0.0556, allocations: 1.066 MB / 456 MB, free: 14.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.05561, allocations: 0 / 456 MB, free: 14.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003193/0.0588, allocations: 1.234 MB / 457.2 MB, free: 13.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.05883, allocations: 8 kB / 457.2 MB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.05884, allocations: 4.219 kB / 457.3 MB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.06035, allocations: 466 kB / 457.7 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.06074, allocations: 91.83 kB / 457.8 MB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006642/0.06738, allocations: 3.962 MB / 461.8 MB, free: 8.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007488/0.06813, allocations: 75.7 kB / 461.8 MB, free: 8.598 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.435e-05/0.06819, allocations: 28 kB / 461.9 MB, free: 8.57 MB / 442.7 MB Warning: Assuming fixed start value for the following 10 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 nodeFault.nodeFault:DISCRETE(flow=false start = false fixed = true ) \"True when the fault is ongoing, false otherwise\" 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: 17 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.sVarCStandard.injector.state,sVarCStandard.injector.state,$PRE.line.state,line.state,$whenCondition16,$whenCondition17,sVarCStandard.injector.switchOffSignal3,sVarCStandard.injector.switchOffSignal2,sVarCStandard.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,$PRE.line.running,$PRE.sVarCStandard.injector.running,$PRE.sVarCStandard.modeHandling.timerModeChangeUp,$PRE.sVarCStandard.modeHandling.timerModeChangeDown,$PRE.sVarCStandard.modeHandling.URefAuto,$PRE.nodeFault.nodeFault,$PRE.sVarCStandard.blockingFunction.blocked,$PRE.sVarCStandard.modeHandling.modeAuto,sVarCStandard.modeHandling.modeManual,nodeFault.nodeFault,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,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 (80): * Single equations (assignments): 79 * 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 {(7,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006949/0.06889, allocations: 364.1 kB / 462.2 MB, free: 8.215 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.0691, allocations: 119.4 kB / 462.3 MB, free: 8.098 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.07156, allocations: 1.087 MB / 463.4 MB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.07157, allocations: 0 / 463.4 MB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.07158, allocations: 3.984 kB / 463.4 MB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.07176, allocations: 87.34 kB / 463.5 MB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.07186, allocations: 23.98 kB / 463.5 MB, free: 6.883 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.07228, allocations: 43.95 kB / 463.6 MB, free: 6.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.07252, allocations: 92.5 kB / 463.7 MB, free: 6.75 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00324/0.07576, allocations: 1.259 MB / 464.9 MB, free: 5.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002837/0.07859, allocations: 1.501 MB / 466.4 MB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007469/0.07934, allocations: 386 kB / 466.8 MB, free: 3.574 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008065/0.08015, allocations: 0.5224 MB / 467.3 MB, free: 3.051 MB / 442.7 MB Notification: Performance of Backend: time 7.11e-07/0.08015, allocations: 0 / 467.3 MB, free: 3.051 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002864/0.08301, allocations: 0.9939 MB / 468.3 MB, free: 2.031 MB / 442.7 MB Notification: Performance of SimCode: time 0.1901/0.2731, allocations: 2.17 MB / 470.5 MB, free: 82.19 MB / 442.7 MB Notification: Performance of Templates: time 0.02596/0.299, allocations: 15.99 MB / 486.5 MB, free: 80.73 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.sim & ./Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SVarC.SVarCFaultImp_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadPQ.QPu in file Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp_res.mat. Warning: Get data of variable loadPQ.QPu from file Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.058220190927386]