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.0009228/0.0009228, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.0009211/0.0009211, allocations: 169 kB / 24.17 MB, free: 332 kB / 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.7634/0.7634, allocations: 158.6 MB / 186 MB, free: 2.27 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.4164/0.4164, allocations: 90.86 MB / 329.2 MB, free: 14.22 MB / 314.7 MB " [Timeout remaining time 180] Using package Dynawo with version 2.0.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.312e-06/1.312e-06, allocations: 0 / 380 MB, free: 11.92 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.675e-05, allocations: 2.312 kB / 380 MB, free: 11.92 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCFaultImp): time 0.004139/0.004156, allocations: 4.609 MB / 384.6 MB, free: 7.273 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.007052, allocations: 2.832 MB / 387.4 MB, free: 4.438 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.007281, allocations: 23.88 kB / 387.4 MB, free: 4.414 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.007599, allocations: 174.5 kB / 387.6 MB, free: 4.242 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.007937, allocations: 234.2 kB / 387.8 MB, free: 4.012 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009448/0.008882, allocations: 0.8685 MB / 388.7 MB, free: 3.141 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000693/0.009575, allocations: 1.104 MB / 389.8 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.009866, allocations: 282 kB / 390.1 MB, free: 1.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.01013, allocations: 398.8 kB / 390.5 MB, free: 1.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.01039, allocations: 334.8 kB / 390.8 MB, free: 1.012 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.646e-05/0.01047, allocations: 116 kB / 390.9 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.0107, allocations: 231.8 kB / 391.1 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.01082, allocations: 243.1 kB / 391.4 MB, free: 444 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.01098, allocations: 311 kB / 391.7 MB, free: 132 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006213/0.01161, allocations: 0.8174 MB / 392.5 MB, free: 15.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.01161, allocations: 0 / 392.5 MB, free: 15.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01161, allocations: 3.938 kB / 392.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.01161, allocations: 0 / 392.5 MB, free: 15.3 MB / 378.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.001828/0.01344, allocations: 1.369 MB / 393.9 MB, free: 13.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.01348, allocations: 12.03 kB / 393.9 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008497/0.01433, allocations: 360.5 kB / 394.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.01474, allocations: 401.3 kB / 394.6 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.01492, allocations: 459.3 kB / 395.1 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.01498, allocations: 72.31 kB / 395.1 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005525/0.01553, allocations: 0.5941 MB / 395.7 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.01555, allocations: 0 / 395.7 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.01558, allocations: 31.98 kB / 395.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.0156, allocations: 16 kB / 395.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.01586, allocations: 212.9 kB / 396 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.01753, allocations: 1.884 MB / 397.9 MB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.01792, allocations: 307.7 kB / 398.2 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.01804, allocations: 106.3 kB / 398.3 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.01807, allocations: 12.5 kB / 398.3 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003676/0.01844, allocations: 429.4 kB / 398.7 MB, free: 8.816 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 1.783e-06/0.01844, allocations: 0 / 398.7 MB, free: 8.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.001236/0.01968, allocations: 0.7337 MB / 399.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.01972, allocations: 105.7 kB / 399.6 MB, free: 7.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/0.02027, allocations: 0.5234 MB / 400.1 MB, free: 7.414 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.02031, allocations: 49.69 kB / 400.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.02043, allocations: 290.8 kB / 400.4 MB, free: 7.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.02055, allocations: 230.1 kB / 400.6 MB, free: 6.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.02068, allocations: 134.5 kB / 400.8 MB, free: 6.707 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.02078, allocations: 402.6 kB / 401.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.0209, allocations: 81.97 kB / 401.2 MB, free: 6.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.02109, allocations: 264.9 kB / 401.5 MB, free: 5.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.02154, allocations: 0.4919 MB / 402 MB, free: 5.359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.02154, allocations: 11.88 kB / 402 MB, free: 5.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008774/0.02242, allocations: 0.6185 MB / 402.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.02243, allocations: 8 kB / 402.6 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.02244, allocations: 0 / 402.6 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/0.02302, allocations: 340 kB / 403 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.02321, allocations: 99.83 kB / 403.1 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.02511, allocations: 2.055 MB / 405.1 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.02533, allocations: 79.64 kB / 405.2 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.02536, allocations: 23.98 kB / 405.2 MB, free: 2.047 MB / 378.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.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.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,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 (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.0002039/0.02557, allocations: 237 kB / 405.4 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.542e-05/0.02564, allocations: 87.84 kB / 405.5 MB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006101/0.02625, allocations: 0.5065 MB / 406 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.02626, allocations: 3.984 kB / 406 MB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.02626, allocations: 0 / 406 MB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.838e-05/0.02633, allocations: 67.42 kB / 406.1 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.02638, allocations: 20 kB / 406.1 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.02655, allocations: 43.95 kB / 406.2 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.02666, allocations: 80.5 kB / 406.2 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00108/0.02774, allocations: 0.6008 MB / 406.8 MB, free: 396 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000588/0.02833, allocations: 0.6831 MB / 407.5 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001574/0.02849, allocations: 143.3 kB / 407.7 MB, free: 15.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.02865, allocations: 248.6 kB / 407.9 MB, free: 15.3 MB / 394.7 MB Notification: Performance of Backend: time 2.9e-07/0.02865, allocations: 0 / 407.9 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008985/0.02955, allocations: 0.6727 MB / 408.6 MB, free: 14.61 MB / 394.7 MB Notification: Performance of SimCode: time 0.001427/0.03098, allocations: 1.969 MB / 410.6 MB, free: 12.59 MB / 394.7 MB Notification: Performance of Templates: time 0.01767/0.04865, allocations: 16.79 MB / 427.3 MB, free: 11.88 MB / 410.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 -s gbode -gbm=radauIIA3 -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","",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: 2.919333546888083]