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.001326/0.001326, allocations: 106.7 kB / 16.45 MB, free: 6.035 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.001296/0.001296, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.437/1.437, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.08415/0.08415, allocations: 16.94 MB / 319.6 MB, free: 9.262 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.001984/0.001984, allocations: 67.89 kB / 446.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1259, allocations: 56.53 MB / 0.4916 GB, free: 2.906 MB / 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.2739/0.3998, allocations: 31.73 MB / 0.5226 GB, free: 7.543 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.03283/0.4326, allocations: 24.27 MB / 0.5463 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003415/0.4361, allocations: 48.47 kB / 0.5463 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003493/0.4395, allocations: 0.8959 MB / 0.5472 GB, free: 7.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008827/0.4484, allocations: 2.838 MB / 0.55 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003727/0.4521, allocations: 1.35 MB / 0.5513 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008116/0.4602, allocations: 4.932 MB / 0.5561 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.462, allocations: 0.6304 MB / 0.5567 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003555/0.4655, allocations: 1.692 MB / 0.5584 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003762/0.4693, allocations: 1.756 MB / 0.5601 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008406/0.4701, allocations: 239.2 kB / 0.5603 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.4733, allocations: 0.7034 MB / 0.561 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009779/0.4743, allocations: 0.5718 MB / 0.5615 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003708/0.478, allocations: 1.6 MB / 0.5631 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008369/0.4864, allocations: 3.963 MB / 0.567 GB, free: 10.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4864, allocations: 3.938 kB / 0.567 GB, free: 10.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4864, allocations: 0 / 0.567 GB, free: 10.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001357/0.4865, allocations: 0 / 0.567 GB, free: 10.97 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.01858/0.5051, allocations: 4.406 MB / 0.5713 GB, free: 7.664 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.5051, allocations: 8.031 kB / 0.5713 GB, free: 7.656 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004306/0.5095, allocations: 0.6394 MB / 0.5719 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005066/0.5145, allocations: 1.769 MB / 0.5736 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.5147, allocations: 171.6 kB / 0.5738 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005848/0.5153, allocations: 224 kB / 0.574 GB, free: 4.809 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004867/0.5202, allocations: 2.711 MB / 0.5767 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.914e-05/0.5202, allocations: 11.88 kB / 0.5767 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002534/0.5205, allocations: 96.95 kB / 0.5768 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.864e-05/0.5205, allocations: 52 kB / 0.5768 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/0.5242, allocations: 1.928 MB / 0.5787 GB, free: 15.78 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.02339/0.5475, allocations: 14.2 MB / 0.5926 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004553/0.5521, allocations: 2.145 MB / 0.5947 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.5538, allocations: 0.7805 MB / 0.5954 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.554, allocations: 30.12 kB / 0.5955 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00333/0.5573, allocations: 1.64 MB / 0.5971 GB, free: 12.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=224): time 6.643e-06/0.5573, allocations: 0 / 0.5971 GB, free: 12.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=224): time 0.0118/0.5691, allocations: 4.261 MB / 0.6012 GB, free: 7.918 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.653e-05/0.5692, allocations: 111.1 kB / 0.6013 GB, free: 7.789 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004196/0.5734, allocations: 1.864 MB / 0.6031 GB, free: 5.879 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004634/0.5739, allocations: 93.69 kB / 0.6032 GB, free: 5.781 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.5752, allocations: 0.9395 MB / 0.6042 GB, free: 4.832 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001527/0.5767, allocations: 0.8451 MB / 0.605 GB, free: 3.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002932/0.5796, allocations: 0.9634 MB / 0.6059 GB, free: 3.008 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.5798, allocations: 305.1 kB / 0.6062 GB, free: 2.707 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003256/0.5831, allocations: 1.491 MB / 0.6077 GB, free: 1.211 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003744/0.5868, allocations: 2.003 MB / 0.6096 GB, free: 15.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.044/0.6308, allocations: 8.85 MB / 0.6183 GB, free: 6.113 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.799e-05/0.6308, allocations: 0 / 0.6183 GB, free: 6.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01195/0.6428, allocations: 4.742 MB / 0.6229 GB, free: 1.301 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.6428, allocations: 8 kB / 0.6229 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.6429, allocations: 4 kB / 0.6229 GB, free: 1.289 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002581/0.6454, allocations: 0.5423 MB / 0.6234 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004629/0.6501, allocations: 1.026 MB / 0.6244 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009986/0.6601, allocations: 6.173 MB / 0.6305 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005215/0.6653, allocations: 378 kB / 0.6308 GB, free: 8.898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008398/0.6661, allocations: 164 kB / 0.631 GB, free: 8.738 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.002138/0.6682, allocations: 0.6055 MB / 0.6316 GB, free: 8.133 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/0.6695, allocations: 274.4 kB / 0.6318 GB, free: 7.863 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00619/0.6757, allocations: 2.715 MB / 0.6345 GB, free: 5.129 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.488e-05/0.6757, allocations: 7.969 kB / 0.6345 GB, free: 5.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.6757, allocations: 3.984 kB / 0.6345 GB, free: 5.117 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001736/0.6775, allocations: 0.5966 MB / 0.6351 GB, free: 4.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007126/0.6782, allocations: 83.94 kB / 0.6352 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/0.6804, allocations: 135.8 kB / 0.6353 GB, free: 4.285 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005675/0.681, allocations: 277.8 kB / 0.6356 GB, free: 4.016 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006354/0.6874, allocations: 2.868 MB / 0.6384 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006267/0.6936, allocations: 3.448 MB / 0.6417 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001492/0.6951, allocations: 0.7911 MB / 0.6425 GB, free: 12.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002402/0.6975, allocations: 1.152 MB / 0.6436 GB, free: 11.69 MB / 494.1 MB Notification: Performance of Backend: time 8.72e-07/0.6975, allocations: 0 / 0.6436 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01117/0.7087, allocations: 3.429 MB / 0.647 GB, free: 8.234 MB / 494.1 MB Notification: Performance of SimCode: time 0.01007/0.7188, allocations: 4.205 MB / 0.6511 GB, free: 3.984 MB / 494.1 MB Notification: Performance of Templates: time 0.07611/0.7949, allocations: 39.74 MB / 0.6899 GB, free: 12.31 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: 6.717846679966897] Failed to read output from testmodel.py, exit status != 0: 0.8043977641500533 0.820165681 0.33046873099999996 Calling exit ...