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.001377/0.001377, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001525/0.001525, allocations: 169 kB / 24.16 MB, free: 336 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.8789/0.8789, allocations: 158.6 MB / 186 MB, free: 2.773 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.4212/0.4212, allocations: 90.87 MB / 329.2 MB, free: 14.21 MB / 314.7 MB " [Timeout remaining time 180] 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.643e-06/1.643e-06, allocations: 0 / 380 MB, free: 11.95 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.791e-05, allocations: 2.312 kB / 380 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCFaultImp): time 0.004501/0.004519, allocations: 4.55 MB / 384.5 MB, free: 7.359 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.007709, allocations: 2.84 MB / 387.4 MB, free: 4.516 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/0.008002, allocations: 15.88 kB / 387.4 MB, free: 4.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.008346, allocations: 174.5 kB / 387.5 MB, free: 4.328 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.008743, allocations: 246.1 kB / 387.8 MB, free: 4.086 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.009815, allocations: 0.8647 MB / 388.6 MB, free: 3.219 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009022/0.01072, allocations: 1.108 MB / 389.8 MB, free: 2.105 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003294/0.01105, allocations: 277.9 kB / 390 MB, free: 1.809 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003239/0.01137, allocations: 402.8 kB / 390.4 MB, free: 1.414 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.01165, allocations: 334.8 kB / 390.7 MB, free: 1.086 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.367e-05/0.01174, allocations: 112 kB / 390.9 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.01197, allocations: 227.8 kB / 391.1 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.01209, allocations: 239.2 kB / 391.3 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.01227, allocations: 311 kB / 391.6 MB, free: 220 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006608/0.01293, allocations: 0.8251 MB / 392.4 MB, free: 15.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.01293, allocations: 0 / 392.4 MB, free: 15.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01293, allocations: 0 / 392.4 MB, free: 15.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.01294, allocations: 0 / 392.4 MB, free: 15.39 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.001646/0.01459, allocations: 1.373 MB / 393.8 MB, free: 13.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.01463, allocations: 12.03 kB / 393.8 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007745/0.0154, allocations: 356.5 kB / 394.2 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.01584, allocations: 401.3 kB / 394.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.01603, allocations: 459.4 kB / 395 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.976e-05/0.0161, allocations: 68.33 kB / 395.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/0.01667, allocations: 0.6019 MB / 395.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.01668, allocations: 0 / 395.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.01672, allocations: 24 kB / 395.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.01673, allocations: 16 kB / 395.7 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.017, allocations: 205 kB / 395.9 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.01873, allocations: 1.9 MB / 397.8 MB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.01912, allocations: 296.6 kB / 398.1 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.01924, allocations: 102.3 kB / 398.2 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.01928, allocations: 12.5 kB / 398.2 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003759/0.01966, allocations: 433.4 kB / 398.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 4.158e-06/0.01966, allocations: 7.922 kB / 398.7 MB, free: 8.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.001318/0.02098, allocations: 0.7335 MB / 399.4 MB, free: 8.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.02102, allocations: 93.77 kB / 399.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.02134, allocations: 0.535 MB / 400 MB, free: 7.488 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.02138, allocations: 45.7 kB / 400.1 MB, free: 7.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.02152, allocations: 286.8 kB / 400.3 MB, free: 7.152 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.02164, allocations: 234.1 kB / 400.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.02176, allocations: 138.5 kB / 400.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.02187, allocations: 398.6 kB / 401.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.02199, allocations: 89.91 kB / 401.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.02217, allocations: 260.9 kB / 401.4 MB, free: 5.977 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.02262, allocations: 499.7 kB / 401.9 MB, free: 5.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.02263, allocations: 3.938 kB / 401.9 MB, free: 5.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008584/0.02349, allocations: 0.6263 MB / 402.6 MB, free: 4.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.0235, allocations: 4 kB / 402.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.02351, allocations: 4 kB / 402.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007612/0.02427, allocations: 347.9 kB / 402.9 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.02445, allocations: 87.83 kB / 403 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.02631, allocations: 2.051 MB / 405 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.02653, allocations: 83.62 kB / 405.1 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.02656, allocations: 23.98 kB / 405.1 MB, free: 2.137 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.0002167/0.02677, allocations: 230.1 kB / 405.4 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.02685, allocations: 87.84 kB / 405.5 MB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000626/0.02748, allocations: 0.5027 MB / 406 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.02748, allocations: 3.938 kB / 406 MB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.02749, allocations: 7.922 kB / 406 MB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.258e-05/0.02756, allocations: 71.36 kB / 406 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/0.02761, allocations: 16 kB / 406.1 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.02778, allocations: 51.95 kB / 406.1 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.02789, allocations: 76.5 kB / 406.2 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000843/0.02873, allocations: 0.5969 MB / 406.8 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005949/0.02933, allocations: 0.6908 MB / 407.5 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00017/0.0295, allocations: 143.3 kB / 407.6 MB, free: 15.63 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001778/0.02967, allocations: 252.6 kB / 407.9 MB, free: 15.38 MB / 394.7 MB Notification: Performance of Backend: time 4.31e-07/0.02967, allocations: 0 / 407.9 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000944/0.03062, allocations: 0.6545 MB / 408.5 MB, free: 14.7 MB / 394.7 MB Notification: Performance of SimCode: time 0.001576/0.03219, allocations: 1.961 MB / 410.5 MB, free: 12.69 MB / 394.7 MB Notification: Performance of Templates: time 0.01871/0.0509, allocations: 16.8 MB / 427.3 MB, free: 11.96 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 -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.2742695417255163]