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.0009768/0.0009768, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.0009054/0.0009054, allocations: 169 kB / 23.82 MB, free: 0.75 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.819/0.819, allocations: 158.6 MB / 185.7 MB, free: 2.473 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.4389/0.4389, allocations: 90.57 MB / 328.6 MB, free: 14.7 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.974e-06/1.974e-06, allocations: 0 / 428.1 MB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.576e-05, allocations: 2.312 kB / 428.1 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCFaultImp): time 0.006304/0.006329, allocations: 4.655 MB / 432.8 MB, free: 6.875 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004286/0.01062, allocations: 2.775 MB / 435.6 MB, free: 4.086 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000383/0.011, allocations: 15.94 kB / 435.6 MB, free: 4.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005072/0.01151, allocations: 174.5 kB / 435.7 MB, free: 3.898 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006724/0.01218, allocations: 242.1 kB / 436 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.01373, allocations: 0.8678 MB / 436.9 MB, free: 2.793 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.01497, allocations: 1.112 MB / 438 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004647/0.01544, allocations: 271.1 kB / 438.2 MB, free: 1.398 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.01587, allocations: 406.8 kB / 438.6 MB, free: 1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.01626, allocations: 326.8 kB / 438.9 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.01641, allocations: 116 kB / 439.1 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.01674, allocations: 219.8 kB / 439.3 MB, free: 360 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.01691, allocations: 243.1 kB / 439.5 MB, free: 116 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.0172, allocations: 311 kB / 439.8 MB, free: 15.81 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.01821, allocations: 0.8173 MB / 440.6 MB, free: 14.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.01821, allocations: 0 / 440.6 MB, free: 14.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01821, allocations: 4 kB / 440.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.01822, allocations: 0 / 440.6 MB, free: 14.98 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.002102/0.02032, allocations: 1.497 MB / 442.1 MB, free: 13.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.02036, allocations: 8.031 kB / 442.1 MB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008027/0.02116, allocations: 372.1 kB / 442.5 MB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.02172, allocations: 0.5858 MB / 443.1 MB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.02193, allocations: 459.4 kB / 443.5 MB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.316e-05/0.022, allocations: 72.3 kB / 443.6 MB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007632/0.02277, allocations: 0.6599 MB / 444.3 MB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.02278, allocations: 7.938 kB / 444.3 MB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.02283, allocations: 28 kB / 444.3 MB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.02284, allocations: 12 kB / 444.3 MB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.02329, allocations: 291.5 kB / 444.6 MB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002256/0.02555, allocations: 2.871 MB / 447.5 MB, free: 7.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005739/0.02612, allocations: 369 kB / 447.8 MB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.02633, allocations: 149.1 kB / 448 MB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.02637, allocations: 8.5 kB / 448 MB, free: 7.312 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005111/0.02688, allocations: 468.9 kB / 448.4 MB, free: 6.828 MB / 426.7 MB Notification: Performance of pre-optimization done (n=72): time 1.864e-06/0.02688, allocations: 0 / 448.4 MB, free: 6.828 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.001759/0.02864, allocations: 1.003 MB / 449.4 MB, free: 5.812 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.02868, allocations: 97.75 kB / 449.5 MB, free: 5.695 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005302/0.02921, allocations: 0.6205 MB / 450.2 MB, free: 5.059 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.02925, allocations: 41.7 kB / 450.2 MB, free: 5.012 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.02945, allocations: 431.5 kB / 450.6 MB, free: 4.582 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.02958, allocations: 214.3 kB / 450.8 MB, free: 4.371 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.02972, allocations: 148.3 kB / 451 MB, free: 4.219 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.02987, allocations: 0.5663 MB / 451.5 MB, free: 3.641 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.03009, allocations: 137.9 kB / 451.7 MB, free: 3.504 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.03039, allocations: 358.6 kB / 452 MB, free: 3.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006849/0.03107, allocations: 0.6093 MB / 452.6 MB, free: 2.391 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.03108, allocations: 4 kB / 452.6 MB, free: 2.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001223/0.0323, allocations: 0.8278 MB / 453.5 MB, free: 1.547 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.03232, allocations: 8 kB / 453.5 MB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.03233, allocations: 4 kB / 453.5 MB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008428/0.03317, allocations: 366.7 kB / 453.8 MB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.03336, allocations: 91.83 kB / 453.9 MB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.0359, allocations: 2.799 MB / 456.7 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.03613, allocations: 75.66 kB / 456.8 MB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.03617, allocations: 28 kB / 456.8 MB, free: 14.08 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.0002543/0.03642, allocations: 285.1 kB / 457.1 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.914e-05/0.03652, allocations: 111.5 kB / 457.2 MB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009314/0.03745, allocations: 0.7007 MB / 457.9 MB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.03746, allocations: 15.92 kB / 457.9 MB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.03746, allocations: 0 / 457.9 MB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.131e-05/0.03754, allocations: 91.33 kB / 458 MB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/0.0376, allocations: 19.98 kB / 458 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.03779, allocations: 39.97 kB / 458.1 MB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.03792, allocations: 80.5 kB / 458.2 MB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001199/0.03912, allocations: 0.8104 MB / 459 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009204/0.04004, allocations: 0.968 MB / 459.9 MB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002305/0.04027, allocations: 162.1 kB / 460.1 MB, free: 10.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002839/0.04056, allocations: 403 kB / 460.5 MB, free: 10.36 MB / 442.7 MB Notification: Performance of Backend: time 2.31e-07/0.04056, allocations: 0 / 460.5 MB, free: 10.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.0419, allocations: 0.7977 MB / 461.3 MB, free: 9.535 MB / 442.7 MB Notification: Performance of SimCode: time 0.001451/0.04335, allocations: 2.084 MB / 463.4 MB, free: 7.391 MB / 442.7 MB Notification: Performance of Templates: time 0.1637/0.2071, allocations: 16.79 MB / 480.2 MB, free: 74.07 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","",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: 3.499010107945651]