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.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.001442/0.001442, allocations: 81.55 kB / 19.76 MB, free: 2.027 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.001591/0.001591, allocations: 160.5 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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.07905/0.07905, allocations: 12.53 MB / 272.3 MB, free: 4.543 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(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: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 74.2 kB / 403.4 MB, free: 108 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1155, allocations: 57.69 MB / 461.1 MB, free: 6.305 MB / 430.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.2643/0.3798, allocations: 34.57 MB / 495.6 MB, free: 43.46 MB / 446.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. Notification: Performance of NFInst.instExpressions: time 0.0251/0.4049, allocations: 23.32 MB / 0.5068 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002857/0.4078, allocations: 76.78 kB / 0.5069 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.4105, allocations: 1.137 MB / 0.508 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008598/0.4191, allocations: 3.645 MB / 0.5115 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.4224, allocations: 1.374 MB / 0.5129 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007069/0.4294, allocations: 6.856 MB / 0.5196 GB, free: 21.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002312/0.4317, allocations: 1.554 MB / 0.5211 GB, free: 20.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003172/0.4349, allocations: 2.373 MB / 0.5234 GB, free: 19.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003821/0.4387, allocations: 2.245 MB / 0.5256 GB, free: 18.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008471/0.4396, allocations: 326.5 kB / 0.5259 GB, free: 18.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/0.4424, allocations: 0.8474 MB / 0.5267 GB, free: 18.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005679/0.443, allocations: 0.7784 MB / 0.5275 GB, free: 17.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002749/0.4458, allocations: 1.835 MB / 0.5293 GB, free: 16.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008331/0.4541, allocations: 5.45 MB / 0.5346 GB, free: 14.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4541, allocations: 1 kB / 0.5346 GB, free: 14.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4541, allocations: 0 / 0.5346 GB, free: 14.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001501/0.4542, allocations: 3.938 kB / 0.5346 GB, free: 14.59 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 663 * Number of variables: 663 Notification: Performance of Generate backend data structure: time 0.02271/0.477, allocations: 5.891 MB / 0.5404 GB, free: 11.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.477, allocations: 8.875 kB / 0.5404 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006218/0.4832, allocations: 0.9341 MB / 0.5413 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005334/0.4886, allocations: 2.291 MB / 0.5435 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.4887, allocations: 227.4 kB / 0.5437 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004874/0.4892, allocations: 302.9 kB / 0.544 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00532/0.4945, allocations: 3.972 MB / 0.5479 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.581e-05/0.4946, allocations: 18.44 kB / 0.5479 GB, free: 7.492 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002965/0.4949, allocations: 138.6 kB / 0.5481 GB, free: 7.402 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.164e-05/0.495, allocations: 68.56 kB / 0.5481 GB, free: 7.402 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004512/0.4995, allocations: 2.715 MB / 0.5508 GB, free: 6.363 MB / 446.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.0266/0.5261, allocations: 16.08 MB / 0.5665 GB, free: 8.949 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004608/0.5307, allocations: 2.237 MB / 0.5687 GB, free: 7.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/0.5325, allocations: 1.032 MB / 0.5697 GB, free: 7.211 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.5327, allocations: 34.67 kB / 0.5697 GB, free: 7.207 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003189/0.5358, allocations: 2.315 MB / 0.572 GB, free: 5.477 MB / 462.1 MB Notification: Performance of pre-optimization done (n=284): time 6.111e-06/0.5358, allocations: 2.5 kB / 0.572 GB, free: 5.477 MB / 462.1 MB Notification: Performance of matching and sorting (n=284): time 0.01056/0.5464, allocations: 4.465 MB / 0.5763 GB, free: 1.969 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002863/0.5467, allocations: 479.2 kB / 0.5768 GB, free: 1.398 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004578/0.5513, allocations: 2.672 MB / 0.5794 GB, free: 14.71 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003962/0.5517, allocations: 109.7 kB / 0.5795 GB, free: 14.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001476/0.5531, allocations: 1.412 MB / 0.5809 GB, free: 13.17 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00138/0.5545, allocations: 1.101 MB / 0.582 GB, free: 12.06 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002256/0.5568, allocations: 1.369 MB / 0.5833 GB, free: 10.69 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5569, allocations: 301.1 kB / 0.5836 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003787/0.5607, allocations: 2.12 MB / 0.5857 GB, free: 8.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005103/0.5658, allocations: 3.002 MB / 0.5886 GB, free: 5.137 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06708/0.6329, allocations: 12.93 MB / 0.6012 GB, free: 8.102 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/0.6329, allocations: 0 / 0.6012 GB, free: 8.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=998) (initialization): time 0.01375/0.6467, allocations: 6.51 MB / 0.6076 GB, free: 1.574 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.6467, allocations: 10.88 kB / 0.6076 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.854e-05/0.6467, allocations: 13.88 kB / 0.6076 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002362/0.6491, allocations: 485.8 kB / 0.6081 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006522/0.6556, allocations: 1.451 MB / 0.6095 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00809/0.6637, allocations: 5.319 MB / 0.6147 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00712/0.6708, allocations: 0.4974 MB / 0.6152 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009202/0.6717, allocations: 236 kB / 0.6154 GB, free: 9.375 MB / 0.4981 GB 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: 23 * 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 (964): * Single equations (assignments): 962 * 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%), (20,0,13.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002193/0.6739, allocations: 0.7727 MB / 0.6161 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/0.6751, allocations: 350 kB / 0.6165 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005719/0.6808, allocations: 3.038 MB / 0.6194 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.4e-05/0.6808, allocations: 15.95 kB / 0.6195 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.6808, allocations: 9.062 kB / 0.6195 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002485/0.6833, allocations: 0.6809 MB / 0.6201 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008057/0.6841, allocations: 91.94 kB / 0.6202 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002726/0.6868, allocations: 155.8 kB / 0.6204 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006642/0.6875, allocations: 325.6 kB / 0.6207 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006971/0.6945, allocations: 4.045 MB / 0.6246 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008158/0.7026, allocations: 5.177 MB / 0.6297 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001903/0.7045, allocations: 1.025 MB / 0.6307 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003133/0.7077, allocations: 1.602 MB / 0.6322 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of Backend: time 5.31e-07/0.7077, allocations: 0 / 0.6322 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01359/0.7213, allocations: 4.274 MB / 0.6364 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of SimCode: time 0.01023/0.7315, allocations: 5.274 MB / 0.6416 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of Templates: time 0.2967/1.028, allocations: 54.52 MB / 0.6948 GB, free: 175.6 MB / 0.5606 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 -s ida -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.678498953930102] Failed to read output from testmodel.py, exit status != 0: 1.0381249099737033 1.055077512 0.597368429 Calling exit ...