Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.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.001756/0.001756, allocations: 85.22 kB / 19.96 MB, free: 1.758 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.001857/0.001857, allocations: 174.6 kB / 23.24 MB, free: 4.875 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.533/1.533, 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.705/0.705, allocations: 90.26 MB / 327.5 MB, free: 44 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.SVarCStepURef,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef") translateModel(Dynawo.Examples.SVarC.SVarCStepURef,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.4951 GB, free: 52.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.513e-05/3.761e-05, allocations: 2.781 kB / 0.4951 GB, free: 52.14 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCStepURef): time 0.00515/0.005187, allocations: 4.252 MB / 0.4993 GB, free: 49.38 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004178/0.009365, allocations: 2.669 MB / 0.5019 GB, free: 47.51 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005095/0.009874, allocations: 14.81 kB / 0.5019 GB, free: 47.5 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.0005869/0.01046, allocations: 170.6 kB / 0.5021 GB, free: 47.4 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000539/0.011, allocations: 235.3 kB / 0.5023 GB, free: 47.23 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.01265, allocations: 0.8418 MB / 0.5031 GB, free: 46.72 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009831/0.01363, allocations: 1.074 MB / 0.5042 GB, free: 46.14 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004032/0.01403, allocations: 251.6 kB / 0.5044 GB, free: 45.99 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.01439, allocations: 393 kB / 0.5048 GB, free: 45.77 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.0147, allocations: 305.6 kB / 0.5051 GB, free: 45.64 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.01481, allocations: 109.5 kB / 0.5052 GB, free: 45.64 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.01519, allocations: 214.2 kB / 0.5054 GB, free: 45.61 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.01534, allocations: 238.6 kB / 0.5056 GB, free: 45.44 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.01559, allocations: 295.6 kB / 0.5059 GB, free: 45.26 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.01688, allocations: 1.343 MB / 0.5072 GB, free: 44.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.01689, allocations: 3.156 kB / 0.5072 GB, free: 44.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.01689, allocations: 4 kB / 0.5072 GB, free: 44.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.01691, allocations: 0 / 0.5072 GB, free: 44.66 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.003374/0.02028, allocations: 1.35 MB / 0.5085 GB, free: 43.86 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.02033, allocations: 10.12 kB / 0.5085 GB, free: 43.86 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.0217, allocations: 272.9 kB / 0.5088 GB, free: 43.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008764/0.02258, allocations: 0.5743 MB / 0.5094 GB, free: 43.37 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.02279, allocations: 403.9 kB / 0.5097 GB, free: 42.94 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.71e-05/0.02289, allocations: 63.56 kB / 0.5098 GB, free: 42.92 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.02414, allocations: 0.7917 MB / 0.5106 GB, free: 42.51 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.02416, allocations: 14.94 kB / 0.5106 GB, free: 42.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.91e-05/0.02423, allocations: 29.09 kB / 0.5106 GB, free: 42.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.02425, allocations: 12.38 kB / 0.5106 GB, free: 42.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.02533, allocations: 0.5827 MB / 0.5112 GB, free: 42.26 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.0291, allocations: 2.491 MB / 0.5136 GB, free: 40.53 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.03052, allocations: 0.5715 MB / 0.5142 GB, free: 40.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006172/0.03114, allocations: 288.6 kB / 0.5145 GB, free: 40.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.03119, allocations: 6.125 kB / 0.5145 GB, free: 40.17 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.03232, allocations: 0.585 MB / 0.515 GB, free: 39.92 MB / 478.1 MB Notification: Performance of pre-optimization done (n=63): time 2.846e-06/0.03233, allocations: 0 / 0.515 GB, free: 39.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=63): time 0.003608/0.03594, allocations: 1.346 MB / 0.5164 GB, free: 39.39 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.03599, allocations: 88.66 kB / 0.5164 GB, free: 39.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009513/0.03694, allocations: 0.6318 MB / 0.5171 GB, free: 38.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.225e-05/0.03701, allocations: 45.42 kB / 0.5171 GB, free: 38.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.0373, allocations: 366.9 kB / 0.5175 GB, free: 38.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.0375, allocations: 198.4 kB / 0.5176 GB, free: 38.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.03773, allocations: 124.5 kB / 0.5178 GB, free: 38.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.03787, allocations: 383.2 kB / 0.5181 GB, free: 38.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006878/0.03856, allocations: 300.1 kB / 0.5184 GB, free: 37.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/0.03932, allocations: 470.4 kB / 0.5189 GB, free: 37.67 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00361/0.04293, allocations: 1.39 MB / 0.5202 GB, free: 37.06 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.04294, allocations: 5.094 kB / 0.5202 GB, free: 37.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003184/0.04613, allocations: 1.131 MB / 0.5213 GB, free: 36.59 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.04615, allocations: 6.531 kB / 0.5213 GB, free: 36.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.04616, allocations: 9.047 kB / 0.5213 GB, free: 36.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008869/0.04705, allocations: 318 kB / 0.5217 GB, free: 36.49 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.04746, allocations: 86.5 kB / 0.5217 GB, free: 36.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005084/0.05254, allocations: 3.084 MB / 0.5247 GB, free: 34.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008007/0.05335, allocations: 76.56 kB / 0.5248 GB, free: 34.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/0.05341, allocations: 31.72 kB / 0.5248 GB, free: 34.28 MB / 478.1 MB Warning: Assuming fixed start value for the following 9 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 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: 15 * Number of states: 0 () * Number of discrete variables: 43 ($PRE.sVarCStandard.injector.state,sVarCStandard.injector.state,$PRE.line.state,line.state,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.sVarCStandard.blockingFunction.blocked,$PRE.sVarCStandard.modeHandling.modeAuto.value,sVarCStandard.modeHandling.modeManual.value,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 (74): * Single equations (assignments): 73 * 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 {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006147/0.05402, allocations: 302.1 kB / 0.5251 GB, free: 34.05 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.05416, allocations: 78.11 kB / 0.5252 GB, free: 34.01 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/0.05733, allocations: 1.141 MB / 0.5263 GB, free: 33.56 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.05735, allocations: 8.516 kB / 0.5263 GB, free: 33.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.05735, allocations: 3.938 kB / 0.5263 GB, free: 33.55 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.05752, allocations: 88.5 kB / 0.5264 GB, free: 33.49 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.05762, allocations: 18.88 kB / 0.5264 GB, free: 33.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/0.05808, allocations: 60.45 kB / 0.5265 GB, free: 33.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.05831, allocations: 76.56 kB / 0.5266 GB, free: 33.45 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003441/0.06176, allocations: 1.215 MB / 0.5278 GB, free: 32.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002411/0.06417, allocations: 1.324 MB / 0.529 GB, free: 32.32 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007308/0.0649, allocations: 324.4 kB / 0.5294 GB, free: 32.19 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006095/0.06551, allocations: 434.2 kB / 0.5298 GB, free: 31.99 MB / 478.1 MB Notification: Performance of Backend: time 5.11e-07/0.06551, allocations: 0 / 0.5298 GB, free: 31.99 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002433/0.06794, allocations: 0.7848 MB / 0.5305 GB, free: 31.56 MB / 478.1 MB Notification: Performance of SimCode: time 0.002414/0.07035, allocations: 1.812 MB / 0.5323 GB, free: 30.33 MB / 478.1 MB Notification: Performance of Templates: time 0.02628/0.09663, allocations: 14.59 MB / 0.5466 GB, free: 24.19 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.sim & ./Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SVarC.SVarCStepURef_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.428660336881876]