Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 190 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07994/0.07994, allocations: 16.95 MB / 323.2 MB, free: 8.133 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget") translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 67.89 kB / 452 MB, free: 8.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.115, allocations: 56.56 MB / 0.4967 GB, free: 72 kB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter infiniteBus.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter infiniteBus.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:4:3-5:21:writable] Warning: Parameter trafo.componentPF.UNomA has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:8:3-9:21:writable] Warning: Parameter trafo.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter busLoad.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter busLoad.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.2693/0.3843, allocations: 31.75 MB / 0.5277 GB, free: 5.918 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:4:3-5:21:writable] Warning: Parameter PowerGrids.Electrical.Branches.TransformerWithTapChangerInterval.UNomA has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:4:3-5:21:writable] Warning: Parameter PowerGrids.Electrical.Branches.TransformerWithTapChangerInterval.componentPF.UNomA has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:8:3-9:21:writable] Warning: Parameter PowerGrids.Electrical.Branches.TransformerWithTapChangerInterval.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. Notification: Performance of NFInst.instExpressions: time 0.03118/0.4155, allocations: 24.3 MB / 0.5514 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003626/0.4191, allocations: 55.5 kB / 0.5514 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003414/0.4225, allocations: 0.9056 MB / 0.5523 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008542/0.4311, allocations: 2.833 MB / 0.5551 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.4348, allocations: 1.366 MB / 0.5564 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00763/0.4424, allocations: 4.934 MB / 0.5612 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.4439, allocations: 0.6414 MB / 0.5619 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.4473, allocations: 1.71 MB / 0.5635 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003758/0.4511, allocations: 1.752 MB / 0.5653 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009464/0.4521, allocations: 244.7 kB / 0.5655 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003226/0.4553, allocations: 0.7022 MB / 0.5662 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.4563, allocations: 0.5757 MB / 0.5667 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00303/0.4594, allocations: 1.605 MB / 0.5683 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005556/0.4649, allocations: 3.965 MB / 0.5722 GB, free: 8.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4649, allocations: 4 kB / 0.5722 GB, free: 8.562 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4649, allocations: 0 / 0.5722 GB, free: 8.562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.38e-05/0.465, allocations: 0 / 0.5722 GB, free: 8.562 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 469 * Number of variables: 469 Notification: Performance of Generate backend data structure: time 0.01452/0.4795, allocations: 4.33 MB / 0.5764 GB, free: 5.145 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.4795, allocations: 16.88 kB / 0.5764 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/0.4829, allocations: 0.6355 MB / 0.577 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003591/0.4865, allocations: 1.693 MB / 0.5787 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.4866, allocations: 163.6 kB / 0.5789 GB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/0.4869, allocations: 224 kB / 0.5791 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004265/0.4912, allocations: 2.715 MB / 0.5817 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/0.4912, allocations: 7.938 kB / 0.5817 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002609/0.4915, allocations: 99.97 kB / 0.5818 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-05/0.4915, allocations: 48 kB / 0.5819 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003532/0.4951, allocations: 1.936 MB / 0.5838 GB, free: 13.34 MB / 430.1 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.02109/0.5162, allocations: 14.13 MB / 0.5976 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/0.52, allocations: 1.844 MB / 0.5994 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.5214, allocations: 0.785 MB / 0.6001 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.5215, allocations: 22 kB / 0.6001 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002716/0.5242, allocations: 1.638 MB / 0.6017 GB, free: 10.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=224): time 3.847e-06/0.5242, allocations: 4 kB / 0.6018 GB, free: 10.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=224): time 0.01039/0.5346, allocations: 4.103 MB / 0.6058 GB, free: 6.109 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.5347, allocations: 99.11 kB / 0.6059 GB, free: 5.996 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/0.5375, allocations: 1.867 MB / 0.6077 GB, free: 4.082 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002596/0.5378, allocations: 93.69 kB / 0.6078 GB, free: 3.984 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.5388, allocations: 0.9435 MB / 0.6087 GB, free: 3.031 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/0.5398, allocations: 0.849 MB / 0.6095 GB, free: 2.176 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001392/0.5412, allocations: 0.9634 MB / 0.6105 GB, free: 1.203 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5414, allocations: 305.1 kB / 0.6107 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00251/0.5439, allocations: 1.495 MB / 0.6122 GB, free: 15.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003008/0.5469, allocations: 1.995 MB / 0.6142 GB, free: 13.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0402/0.5871, allocations: 8.854 MB / 0.6228 GB, free: 4.305 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/0.5871, allocations: 4 kB / 0.6228 GB, free: 4.301 MB / 462.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.008636/0.5957, allocations: 4.731 MB / 0.6274 GB, free: 15.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.5958, allocations: 8 kB / 0.6274 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.5958, allocations: 4 kB / 0.6274 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002627/0.5984, allocations: 0.5431 MB / 0.628 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00381/0.6022, allocations: 1.03 MB / 0.629 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008563/0.6108, allocations: 5.979 MB / 0.6348 GB, free: 7.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003835/0.6146, allocations: 374.1 kB / 0.6352 GB, free: 7.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003206/0.6149, allocations: 168 kB / 0.6353 GB, free: 7.176 MB / 478.1 MB Warning: Assuming fixed start value for the following 7 variables: trafo.valueUnderMin:DISCRETE(start = false fixed = true protected = true ) \"true if the monitored signal is under the minimum limit\" type: Boolean trafo.valueAboveMax:DISCRETE(start = false fixed = true protected = true ) \"true if the monitored signal is above the maximum limit\" type: Boolean trafo.tValueUnderMinWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"time when the monitored signal went under the minimum limit and the tap-changer/phase-shifter is running\" type: Real trafo.tValueAboveMaxWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"time when the monitored signal went above the maximum limit and the tap-changer/phase-shifter is running\" type: Real trafo.tValueInRangeWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"time when the monitored signal comes back into the [valueMin ; valueMax] range and the tap-changer/phase-shifter is running\" type: Real trafo.locked:DISCRETE(start = trafo.lockedStart fixed = true ) \"whether the tap-changer/phase-shifter is locked\" type: Boolean trafo.running:DISCRETE(start = trafo.runningStart fixed = true ) \"whether the tap-changer/phase-shifter is running\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 54 (trafo.running,trafo.locked,busLoad.componentPF.isSlackBus,infiniteBus.componentPF.isSlackBus,$PRE.trafo.valueUnderMin,$PRE.trafo.valueAboveMax,$PRE.trafo.tValueUnderMinWhileRunning,$PRE.trafo.tValueAboveMaxWhileRunning,$PRE.trafo.tValueInRangeWhileRunning,$PRE.trafo.locked,$PRE.trafo.running,trafo.tValueInRangeWhileRunning,trafo.tValueAboveMaxWhileRunning,trafo.tValueUnderMinWhileRunning,trafo.valueInRange,trafo.valueAboveMax,trafo.valueUnderMin,trafo.tTapMoved,$PRE.trafo.tTapMoved,trafo.lookingToDecreaseTap,trafo.lookingToIncreaseTap,trafo.tap,$PRE.trafo.tap,trafo.state,$PRE.trafo.state,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(16,0,17.2%), (24,0,11.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00126/0.6162, allocations: 0.593 MB / 0.6359 GB, free: 6.578 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005178/0.6167, allocations: 266.4 kB / 0.6362 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004864/0.6216, allocations: 2.726 MB / 0.6388 GB, free: 3.574 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.6216, allocations: 11.95 kB / 0.6388 GB, free: 3.562 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.6216, allocations: 0 / 0.6388 GB, free: 3.562 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.6229, allocations: 0.5252 MB / 0.6393 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003965/0.6233, allocations: 79.94 kB / 0.6394 GB, free: 2.957 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/0.6249, allocations: 127.9 kB / 0.6395 GB, free: 2.832 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005441/0.6255, allocations: 281.7 kB / 0.6398 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00578/0.6313, allocations: 2.868 MB / 0.6426 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005317/0.6366, allocations: 3.456 MB / 0.646 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001294/0.6379, allocations: 0.7872 MB / 0.6468 GB, free: 11.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001828/0.6397, allocations: 1.152 MB / 0.6479 GB, free: 10.23 MB / 494.1 MB Notification: Performance of Backend: time 3.41e-07/0.6397, allocations: 4 kB / 0.6479 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008501/0.6482, allocations: 3.432 MB / 0.6512 GB, free: 6.766 MB / 494.1 MB Notification: Performance of SimCode: time 0.006583/0.6548, allocations: 4.202 MB / 0.6553 GB, free: 2.52 MB / 494.1 MB Notification: Performance of Templates: time 0.07381/0.7286, allocations: 41.67 MB / 0.696 GB, free: 8.918 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.418795733712614] Failed to read output from testmodel.py, exit status != 0: 0.7383173005655408 0.7519296980000001 0.283918355 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff61c50d7b0>