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.002484/0.002484, allocations: 92.91 kB / 20.23 MB, free: 4.191 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.002736/0.002736, allocations: 165.3 kB / 23.55 MB, free: 0.8789 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.345/1.345, allocations: 158.6 MB / 185.3 MB, free: 2.895 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.6844/0.6844, allocations: 90.61 MB / 328.2 MB, free: 14.64 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 1.312e-06/1.312e-06, allocations: 0 / 427.4 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.45e-05, allocations: 9.625 kB / 427.4 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQ): time 0.008043/0.008067, allocations: 4.994 MB / 432.4 MB, free: 6.844 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005681/0.01375, allocations: 2.904 MB / 435.3 MB, free: 3.926 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007246/0.01447, allocations: 15.94 kB / 435.3 MB, free: 3.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006218/0.01509, allocations: 190.3 kB / 435.5 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.01615, allocations: 274 kB / 435.8 MB, free: 3.453 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.01843, allocations: 0.9543 MB / 436.7 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001935/0.02037, allocations: 1.221 MB / 438 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005616/0.02093, allocations: 279.3 kB / 438.2 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007151/0.02164, allocations: 450.6 kB / 438.7 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000545/0.02219, allocations: 374.7 kB / 439 MB, free: 176 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.02237, allocations: 120 kB / 439.1 MB, free: 56 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005693/0.02294, allocations: 255.7 kB / 439.4 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002833/0.02322, allocations: 267 kB / 439.7 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004273/0.02365, allocations: 343 kB / 440 MB, free: 15.21 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002181/0.02583, allocations: 1.511 MB / 441.5 MB, free: 13.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.02583, allocations: 0 / 441.5 MB, free: 13.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.02584, allocations: 0 / 441.5 MB, free: 13.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.02586, allocations: 0 / 441.5 MB, free: 13.69 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.004874/0.03073, allocations: 1.753 MB / 443.3 MB, free: 11.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.03078, allocations: 8.031 kB / 443.3 MB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/0.03265, allocations: 412 kB / 443.7 MB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.03388, allocations: 0.6451 MB / 444.3 MB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004872/0.03436, allocations: 0.5112 MB / 444.8 MB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.03451, allocations: 76.36 kB / 444.9 MB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.03647, allocations: 0.9921 MB / 445.9 MB, free: 9.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.03649, allocations: 0 / 445.9 MB, free: 9.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-05/0.03658, allocations: 35.92 kB / 445.9 MB, free: 9.035 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.03661, allocations: 20 kB / 445.9 MB, free: 9.016 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.03811, allocations: 0.6532 MB / 446.6 MB, free: 8.363 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.006378/0.04449, allocations: 3.777 MB / 450.4 MB, free: 4.488 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.04616, allocations: 0.6959 MB / 451.1 MB, free: 3.766 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007496/0.04691, allocations: 360.8 kB / 451.4 MB, free: 3.406 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.096e-05/0.04698, allocations: 8.5 kB / 451.4 MB, free: 3.398 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/0.04834, allocations: 0.7081 MB / 452.1 MB, free: 2.656 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 3.257e-06/0.04834, allocations: 0 / 452.1 MB, free: 2.656 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.005536/0.05388, allocations: 1.79 MB / 453.9 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.05398, allocations: 119.5 kB / 454 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.05541, allocations: 0.9289 MB / 455 MB, free: 15.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.05552, allocations: 49.7 kB / 455 MB, free: 15.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005354/0.05605, allocations: 0.4918 MB / 455.5 MB, free: 15.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000357/0.05641, allocations: 285.8 kB / 455.8 MB, free: 14.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004053/0.05682, allocations: 228.2 kB / 456 MB, free: 14.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004761/0.05729, allocations: 0.6445 MB / 456.7 MB, free: 14.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008587/0.05815, allocations: 387.9 kB / 457 MB, free: 13.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.05949, allocations: 0.6773 MB / 457.7 MB, free: 12.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/0.06204, allocations: 1.341 MB / 459.1 MB, free: 11.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.06205, allocations: 4 kB / 459.1 MB, free: 11.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003882/0.06593, allocations: 1.514 MB / 460.6 MB, free: 9.891 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.625e-05/0.066, allocations: 45.69 kB / 460.6 MB, free: 9.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.06601, allocations: 4 kB / 460.6 MB, free: 9.836 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/0.06786, allocations: 0.5343 MB / 461.2 MB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/0.06833, allocations: 111.8 kB / 461.3 MB, free: 9.184 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008798/0.07713, allocations: 5.947 MB / 467.2 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008762/0.07801, allocations: 91.53 kB / 467.3 MB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.07808, allocations: 36 kB / 467.3 MB, free: 2.859 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.0007092/0.07879, allocations: 407.7 kB / 467.7 MB, free: 2.465 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.07902, allocations: 119.4 kB / 467.9 MB, free: 2.348 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.08212, allocations: 1.228 MB / 469.1 MB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.08213, allocations: 7.984 kB / 469.1 MB, free: 1.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.08214, allocations: 0 / 469.1 MB, free: 1.098 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.08239, allocations: 103.3 kB / 469.2 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.0825, allocations: 19.94 kB / 469.2 MB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.08296, allocations: 47.95 kB / 469.3 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002621/0.08323, allocations: 96.48 kB / 469.4 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2168/0.3, allocations: 1.537 MB / 470.9 MB, free: 81.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00236/0.3024, allocations: 1.73 MB / 472.6 MB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006625/0.303, allocations: 412.5 kB / 473 MB, free: 81.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005983/0.3036, allocations: 0.557 MB / 473.6 MB, free: 81.2 MB / 442.7 MB Notification: Performance of Backend: time 4.91e-07/0.3036, allocations: 1.828 kB / 473.6 MB, free: 81.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002829/0.3065, allocations: 1.409 MB / 475 MB, free: 80.61 MB / 442.7 MB Notification: Performance of SimCode: time 0.002445/0.3089, allocations: 2.342 MB / 477.3 MB, free: 79.02 MB / 442.7 MB Notification: Performance of Templates: time 0.03042/0.3393, allocations: 18.25 MB / 495.6 MB, free: 77.01 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=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe 2>&1) [Timeout 240] 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.09183177689556]