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.00134/0.00134, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001627/0.001627, allocations: 212.3 kB / 23.03 MB, free: 4.926 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.08219/0.08219, allocations: 16.95 MB / 330.2 MB, free: 2.371 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.003156/0.003156, allocations: 63.91 kB / 461.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1479, allocations: 57.75 MB / 0.5068 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.3188/0.4667, allocations: 27.34 MB / 0.5335 GB, free: 1.328 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. Notification: Performance of NFInst.instExpressions: time 0.04546/0.5121, allocations: 21.55 MB / 0.5546 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004521/0.5167, allocations: 59.19 kB / 0.5546 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005126/0.5218, allocations: 0.8539 MB / 0.5555 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01155/0.5333, allocations: 2.768 MB / 0.5582 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00434/0.5377, allocations: 1.331 MB / 0.5595 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00884/0.5465, allocations: 4.929 MB / 0.5643 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002507/0.549, allocations: 1.108 MB / 0.5654 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004193/0.5532, allocations: 1.725 MB / 0.567 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004238/0.5575, allocations: 1.755 MB / 0.5688 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007702/0.5582, allocations: 239.8 kB / 0.569 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002995/0.5612, allocations: 0.7191 MB / 0.5697 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007518/0.562, allocations: 0.5752 MB / 0.5703 GB, free: 7.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003244/0.5652, allocations: 1.329 MB / 0.5715 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006931/0.5722, allocations: 3.999 MB / 0.5755 GB, free: 4.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5722, allocations: 0 / 0.5755 GB, free: 4.184 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5722, allocations: 0 / 0.5755 GB, free: 4.184 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001064/0.5723, allocations: 0 / 0.5755 GB, free: 4.184 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.01632/0.5886, allocations: 4.369 MB / 0.5797 GB, free: 15.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.5886, allocations: 8.031 kB / 0.5797 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004225/0.5929, allocations: 0.6473 MB / 0.5804 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004882/0.5977, allocations: 1.705 MB / 0.582 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.5979, allocations: 164.5 kB / 0.5822 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000448/0.5984, allocations: 222.2 kB / 0.5824 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005309/0.6037, allocations: 3.096 MB / 0.5854 GB, free: 9.566 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.666e-05/0.6037, allocations: 11.88 kB / 0.5854 GB, free: 9.555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/0.604, allocations: 99.97 kB / 0.5855 GB, free: 9.457 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.9e-05/0.604, allocations: 48 kB / 0.5856 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003626/0.6077, allocations: 1.943 MB / 0.5875 GB, free: 7.465 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.02097/0.6286, allocations: 11.43 MB / 0.5986 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.6329, allocations: 1.8 MB / 0.6004 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.6344, allocations: 0.7934 MB / 0.6012 GB, free: 9.121 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.6345, allocations: 25.98 kB / 0.6012 GB, free: 9.094 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003044/0.6376, allocations: 2.02 MB / 0.6032 GB, free: 6.973 MB / 446.1 MB Notification: Performance of pre-optimization done (n=224): time 5.821e-06/0.6376, allocations: 0 / 0.6032 GB, free: 6.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=224): time 0.01106/0.6486, allocations: 4.087 MB / 0.6072 GB, free: 2.879 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.607e-05/0.6487, allocations: 111.1 kB / 0.6073 GB, free: 2.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003019/0.6518, allocations: 1.749 MB / 0.609 GB, free: 1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003273/0.6521, allocations: 93.69 kB / 0.6091 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.6531, allocations: 0.9627 MB / 0.61 GB, free: 15.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001099/0.6542, allocations: 0.8451 MB / 0.6108 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001558/0.6557, allocations: 0.9318 MB / 0.6117 GB, free: 14.13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6559, allocations: 301.1 kB / 0.612 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002709/0.6586, allocations: 1.475 MB / 0.6135 GB, free: 12.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003441/0.662, allocations: 2.163 MB / 0.6156 GB, free: 10.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04471/0.7067, allocations: 8.836 MB / 0.6242 GB, free: 1.059 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/0.7068, allocations: 8 kB / 0.6242 GB, free: 1.051 MB / 462.1 MB Notification: Performance of matching and sorting (n=686) (initialization): time 0.008973/0.7157, allocations: 4.65 MB / 0.6287 GB, free: 12.32 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.7158, allocations: 11.94 kB / 0.6288 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.7158, allocations: 4 kB / 0.6288 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002764/0.7186, allocations: 0.5404 MB / 0.6293 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004289/0.7228, allocations: 1.006 MB / 0.6303 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009255/0.7321, allocations: 5.816 MB / 0.636 GB, free: 4.746 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004634/0.7367, allocations: 354.3 kB / 0.6363 GB, free: 4.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004196/0.7371, allocations: 168 kB / 0.6365 GB, free: 4.234 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 (648): * Single equations (assignments): 646 * 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.001476/0.7386, allocations: 0.5928 MB / 0.637 GB, free: 3.637 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006058/0.7392, allocations: 258.5 kB / 0.6373 GB, free: 3.383 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00507/0.7443, allocations: 2.722 MB / 0.6399 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/0.7443, allocations: 15.89 kB / 0.64 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.7443, allocations: 4 kB / 0.64 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/0.7461, allocations: 0.5097 MB / 0.6405 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000509/0.7466, allocations: 83.94 kB / 0.6405 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/0.7484, allocations: 135.8 kB / 0.6407 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006235/0.7491, allocations: 277.8 kB / 0.6409 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006186/0.7553, allocations: 2.876 MB / 0.6437 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006062/0.7613, allocations: 3.472 MB / 0.6471 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00149/0.7628, allocations: 0.7911 MB / 0.6479 GB, free: 8.441 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001936/0.7647, allocations: 1.083 MB / 0.649 GB, free: 7.367 MB / 494.1 MB Notification: Performance of Backend: time 1.7e-07/0.7647, allocations: 0 / 0.649 GB, free: 7.367 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008894/0.7736, allocations: 3.408 MB / 0.6523 GB, free: 3.93 MB / 494.1 MB Notification: Performance of SimCode: time 0.00749/0.7811, allocations: 4.189 MB / 0.6564 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.07964/0.8608, allocations: 44.73 MB / 0.7001 GB, free: 3.258 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 7.038369179004803] Failed to read output from testmodel.py, exit status != 0: 0.8714248649775982 0.885201826 0.309467733 Calling exit ...