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.001687/0.001687, allocations: 75.88 kB / 19.96 MB, free: 1.746 MB / 14.72 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.001988/0.001988, allocations: 171.4 kB / 23.24 MB, free: 4.859 MB / 14.72 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.374/1.374, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 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.6796/0.6796, allocations: 90.26 MB / 327.5 MB, free: 36 kB / 302.1 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.913e-06/1.913e-06, allocations: 0 / 0.4951 GB, free: 52.27 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.053e-05, allocations: 5.781 kB / 0.4951 GB, free: 52.27 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCFaultImp): time 0.005145/0.005176, allocations: 4.378 MB / 0.4994 GB, free: 49.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003902/0.009077, allocations: 2.701 MB / 0.5021 GB, free: 47.52 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004322/0.00951, allocations: 14.81 kB / 0.5021 GB, free: 47.52 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/StaticVarCompensators/BaseControls/ModeHandling.mo:34:3-35:199:writable] Warning: Connector mode is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/StaticVarCompensators/BaseControls/ModeHandling.mo:36:3-36:116:writable] Warning: Connector modeAuto is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/StaticVarCompensators/BaseControls/ModeHandling.mo:37:3-37:115:writable] Warning: Connector modeManual is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/StaticVarCompensators/BaseControls/CalculationBG.mo:28:3-29:205:writable] Warning: Connector mode is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005487/0.01006, allocations: 170.2 kB / 0.5022 GB, free: 47.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000583/0.01064, allocations: 242.2 kB / 0.5025 GB, free: 47.23 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.0123, allocations: 0.8623 MB / 0.5033 GB, free: 46.72 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009064/0.01321, allocations: 1.105 MB / 0.5044 GB, free: 46.12 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004006/0.01361, allocations: 264.4 kB / 0.5046 GB, free: 45.96 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003323/0.01394, allocations: 405.3 kB / 0.505 GB, free: 45.74 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.01424, allocations: 321.1 kB / 0.5053 GB, free: 45.6 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.01437, allocations: 114.8 kB / 0.5054 GB, free: 45.6 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.0147, allocations: 216.9 kB / 0.5056 GB, free: 45.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.01484, allocations: 243.7 kB / 0.5059 GB, free: 45.39 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.01507, allocations: 306.7 kB / 0.5062 GB, free: 45.21 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.01623, allocations: 1.381 MB / 0.5075 GB, free: 44.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.01624, allocations: 1.031 kB / 0.5075 GB, free: 44.59 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.01624, allocations: 0 / 0.5075 GB, free: 44.59 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.01626, allocations: 0 / 0.5075 GB, free: 44.59 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003173/0.01943, allocations: 1.416 MB / 0.5089 GB, free: 43.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.01948, allocations: 9.375 kB / 0.5089 GB, free: 43.76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.02079, allocations: 276.4 kB / 0.5092 GB, free: 43.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008572/0.02164, allocations: 0.5771 MB / 0.5097 GB, free: 43.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/0.02188, allocations: 460.5 kB / 0.5102 GB, free: 42.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.02198, allocations: 70.95 kB / 0.5102 GB, free: 42.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.02335, allocations: 0.8309 MB / 0.5111 GB, free: 42.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.02336, allocations: 3.938 kB / 0.5111 GB, free: 42.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.278e-05/0.02344, allocations: 26.02 kB / 0.5111 GB, free: 42.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.02345, allocations: 17.25 kB / 0.5111 GB, free: 42.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.0247, allocations: 0.6041 MB / 0.5117 GB, free: 42.06 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003704/0.0284, allocations: 2.583 MB / 0.5142 GB, free: 40.29 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.02983, allocations: 0.6058 MB / 0.5148 GB, free: 40.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006487/0.03048, allocations: 317.5 kB / 0.5151 GB, free: 39.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.363e-05/0.03053, allocations: 7.25 kB / 0.5151 GB, free: 39.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001149/0.03168, allocations: 0.6246 MB / 0.5157 GB, free: 39.64 MB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 2.855e-06/0.03169, allocations: 0 / 0.5157 GB, free: 39.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=70): time 0.004236/0.03592, allocations: 1.526 MB / 0.5172 GB, free: 39.06 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.03598, allocations: 97.84 kB / 0.5173 GB, free: 38.96 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009466/0.03693, allocations: 0.6424 MB / 0.5179 GB, free: 38.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.037, allocations: 49.2 kB / 0.518 GB, free: 38.61 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.03727, allocations: 377.3 kB / 0.5183 GB, free: 38.31 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.03745, allocations: 213.7 kB / 0.5185 GB, free: 38.14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.03768, allocations: 133.8 kB / 0.5187 GB, free: 38.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.03782, allocations: 389.1 kB / 0.519 GB, free: 37.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007073/0.03852, allocations: 323.1 kB / 0.5194 GB, free: 37.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007781/0.0393, allocations: 495.3 kB / 0.5198 GB, free: 37.28 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003557/0.04286, allocations: 1.49 MB / 0.5213 GB, free: 36.61 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.04286, allocations: 9.031 kB / 0.5213 GB, free: 36.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003187/0.04605, allocations: 1.208 MB / 0.5225 GB, free: 36.12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.04608, allocations: 13.91 kB / 0.5225 GB, free: 36.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.04609, allocations: 7.344 kB / 0.5225 GB, free: 36.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009789/0.04707, allocations: 383.5 kB / 0.5229 GB, free: 35.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.04746, allocations: 91.61 kB / 0.5229 GB, free: 35.97 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005346/0.05281, allocations: 3.398 MB / 0.5263 GB, free: 33.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008451/0.05365, allocations: 92.09 kB / 0.5263 GB, free: 33.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/0.05372, allocations: 28.94 kB / 0.5264 GB, free: 33.6 MB / 478.1 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.value:DISCRETE(flow=false min = Dynawo.Electrical.StaticVarCompensators.BaseControls.Mode.OFF max = Dynawo.Electrical.StaticVarCompensators.BaseControls.Mode.RUNNING_V start = sVarCStandard.modeHandling.Mode0 fixed = true ) 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.value,sVarCStandard.modeHandling.modeManual.value,nodeFault.nodeFault,sVarCStandard.blockingFunction.blocked,sVarCStandard.modeHandling.URefAuto,sVarCStandard.modeHandling.timerModeChangeDown,sVarCStandard.modeHandling.timerModeChangeUp,sVarCStandard.modeHandling.modeAuto.value,sVarCStandard.modeHandling.mode.value,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 (78): * Single equations (assignments): 77 * 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.0006074/0.05433, allocations: 318.2 kB / 0.5267 GB, free: 33.37 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.05448, allocations: 85.77 kB / 0.5268 GB, free: 33.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.05727, allocations: 1.132 MB / 0.5279 GB, free: 32.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.05728, allocations: 3.656 kB / 0.5279 GB, free: 32.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.05729, allocations: 1.312 kB / 0.5279 GB, free: 32.86 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.05746, allocations: 97.89 kB / 0.528 GB, free: 32.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.05757, allocations: 16.72 kB / 0.528 GB, free: 32.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/0.05807, allocations: 69.7 kB / 0.528 GB, free: 32.76 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.05833, allocations: 83.86 kB / 0.5281 GB, free: 32.73 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00354/0.06187, allocations: 1.3 MB / 0.5294 GB, free: 32.23 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002662/0.06453, allocations: 1.421 MB / 0.5308 GB, free: 31.52 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000764/0.06529, allocations: 346.1 kB / 0.5311 GB, free: 31.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007016/0.06599, allocations: 444.2 kB / 0.5315 GB, free: 31.18 MB / 478.1 MB Notification: Performance of Backend: time 4.11e-07/0.06599, allocations: 1.375 kB / 0.5315 GB, free: 31.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002758/0.06875, allocations: 0.8555 MB / 0.5324 GB, free: 30.71 MB / 478.1 MB Notification: Performance of SimCode: time 0.002726/0.07148, allocations: 1.898 MB / 0.5342 GB, free: 29.45 MB / 478.1 MB Notification: Performance of Templates: time 0.02977/0.1012, allocations: 15.56 MB / 0.5494 GB, free: 22.59 MB / 478.1 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=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe 2>&1) [Timeout 480] 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.1853644251823425]