Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.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.001979/0.001979, allocations: 88.22 kB / 20.23 MB, free: 4.207 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.002565/0.002565, allocations: 157.6 kB / 23.53 MB, free: 0.9023 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 1.604/1.604, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 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.6941/0.6941, allocations: 90.64 MB / 328.3 MB, free: 14.55 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.SVarCLoadVarQ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ") translateModel(Dynawo.Examples.SVarC.SVarCLoadVarQ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 427.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.209e-05/3.413e-05, allocations: 2.312 kB / 427.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQ): time 0.01028/0.01031, allocations: 4.802 MB / 432.2 MB, free: 6.984 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006952/0.01726, allocations: 2.833 MB / 435.1 MB, free: 4.137 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.01832, allocations: 19.88 kB / 435.1 MB, free: 4.117 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009687/0.01929, allocations: 194.3 kB / 435.3 MB, free: 3.926 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.02071, allocations: 266 kB / 435.5 MB, free: 3.664 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.02353, allocations: 0.9426 MB / 436.5 MB, free: 2.719 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002311/0.02584, allocations: 1.236 MB / 437.7 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007899/0.02663, allocations: 275.3 kB / 438 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009079/0.02753, allocations: 446.6 kB / 438.4 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007841/0.02832, allocations: 370.7 kB / 438.8 MB, free: 404 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003304/0.02865, allocations: 124 kB / 438.9 MB, free: 280 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006312/0.02928, allocations: 247.8 kB / 439.1 MB, free: 32 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002862/0.02957, allocations: 259.1 kB / 439.4 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.03001, allocations: 343 kB / 439.7 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.03225, allocations: 1.515 MB / 441.2 MB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.03225, allocations: 0 / 441.2 MB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.03225, allocations: 0 / 441.2 MB, free: 13.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.03227, allocations: 4 kB / 441.2 MB, free: 13.91 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.004404/0.03667, allocations: 1.571 MB / 442.8 MB, free: 12.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.03672, allocations: 12.03 kB / 442.8 MB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.03846, allocations: 404 kB / 443.2 MB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.03973, allocations: 0.6462 MB / 443.9 MB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005047/0.04024, allocations: 0.5151 MB / 444.4 MB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.0404, allocations: 76.38 kB / 444.5 MB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.04244, allocations: 0.9304 MB / 445.4 MB, free: 9.555 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.04246, allocations: 8 kB / 445.4 MB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.523e-05/0.04256, allocations: 31.98 kB / 445.4 MB, free: 9.516 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.04258, allocations: 16 kB / 445.4 MB, free: 9.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.04435, allocations: 0.6921 MB / 446.1 MB, free: 8.809 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005381/0.04973, allocations: 2.847 MB / 449 MB, free: 5.895 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.05156, allocations: 0.6794 MB / 449.7 MB, free: 5.191 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008304/0.05239, allocations: 359 kB / 450 MB, free: 4.836 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.107e-05/0.05245, allocations: 12.5 kB / 450 MB, free: 4.824 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001419/0.05387, allocations: 0.6902 MB / 450.7 MB, free: 4.105 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 3.577e-06/0.05387, allocations: 0 / 450.7 MB, free: 4.105 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.00589/0.05976, allocations: 1.824 MB / 452.5 MB, free: 2.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.05987, allocations: 123.4 kB / 452.7 MB, free: 2.125 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.06108, allocations: 0.6996 MB / 453.4 MB, free: 1.414 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.06118, allocations: 53.69 kB / 453.4 MB, free: 1.355 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/0.06165, allocations: 408.9 kB / 453.8 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/0.06199, allocations: 250 kB / 454.1 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000349/0.06234, allocations: 174.6 kB / 454.2 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002732/0.06261, allocations: 398.7 kB / 454.6 MB, free: 128 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00099/0.0636, allocations: 423.8 kB / 455 MB, free: 15.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.0649, allocations: 0.6114 MB / 455.6 MB, free: 15.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004997/0.06989, allocations: 1.893 MB / 457.5 MB, free: 13.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.0699, allocations: 4 kB / 457.5 MB, free: 13.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004121/0.07402, allocations: 1.556 MB / 459.1 MB, free: 11.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/0.07409, allocations: 37.7 kB / 459.1 MB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.07411, allocations: 16.12 kB / 459.1 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/0.07604, allocations: 0.5323 MB / 459.7 MB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.07653, allocations: 111.8 kB / 459.8 MB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008672/0.0852, allocations: 4.902 MB / 464.7 MB, free: 5.648 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009627/0.08617, allocations: 107.5 kB / 464.8 MB, free: 5.543 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.08631, allocations: 36 kB / 464.8 MB, free: 5.508 MB / 442.7 MB Warning: Assuming fixed start value for the following 11 variables: loadPQ.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = loadPQ.State0 fixed = true ) \"Load connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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 loadPQ.running:DISCRETE(flow=false start = loadPQ.Running0 fixed = true ) \"Indicates if the component is running or not\" 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: 20 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.loadPQ.state,loadPQ.state,$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,loadPQ.switchOffSignal2,loadPQ.switchOffSignal1,$PRE.line.running,$PRE.sVarCStandard.injector.running,$PRE.sVarCStandard.modeHandling.timerModeChangeUp,$PRE.sVarCStandard.modeHandling.timerModeChangeDown,$PRE.sVarCStandard.modeHandling.URefAuto,$PRE.loadPQ.running,$PRE.sVarCStandard.blockingFunction.blocked,$PRE.sVarCStandard.modeHandling.modeAuto,sVarCStandard.modeHandling.modeManual,loadPQ.running,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,$whenCondition17,$whenCondition16,$whenCondition18,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 (100): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0008023/0.08712, allocations: 337.8 kB / 465.2 MB, free: 5.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003365/0.08745, allocations: 131.4 kB / 465.3 MB, free: 5.051 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/0.09086, allocations: 1.241 MB / 466.5 MB, free: 3.793 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.09087, allocations: 3.984 kB / 466.5 MB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.09087, allocations: 0 / 466.5 MB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.09114, allocations: 107.3 kB / 466.6 MB, free: 3.684 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.0913, allocations: 27.92 kB / 466.7 MB, free: 3.656 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005656/0.09186, allocations: 67.94 kB / 466.7 MB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/0.09214, allocations: 96.42 kB / 466.8 MB, free: 3.492 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004285/0.09642, allocations: 1.524 MB / 468.3 MB, free: 1.957 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003471/0.09989, allocations: 1.642 MB / 470 MB, free: 304 kB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2529/0.3528, allocations: 387.5 kB / 470.4 MB, free: 82.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007686/0.3535, allocations: 479.1 kB / 470.8 MB, free: 82.8 MB / 442.7 MB Notification: Performance of Backend: time 6.82e-07/0.3535, allocations: 0 / 470.8 MB, free: 82.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003781/0.3573, allocations: 1.216 MB / 472.1 MB, free: 82.4 MB / 442.7 MB Notification: Performance of SimCode: time 0.003006/0.3603, allocations: 2.112 MB / 474.2 MB, free: 81.2 MB / 442.7 MB Notification: Performance of Templates: time 0.02833/0.3887, allocations: 18.01 MB / 492.2 MB, free: 79.46 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.sim & ./Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SVarC.SVarCLoadVarQ_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.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.768540657008998]