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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) 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=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget") translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006497/0.006497, allocations: 99.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 197.5 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.711/1.711, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0804/0.0804, allocations: 16.68 MB / 307.2 MB, free: 14.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 67.89 kB / 426.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0946/0.09645, allocations: 53.55 MB / 480.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.03166/0.1281, allocations: 31.63 MB / 0.4997 GB, free: 5.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2624/0.3906, allocations: 24.21 MB / 0.5233 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.393, allocations: 46.91 kB / 0.5234 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002687/0.3958, allocations: 0.8876 MB / 0.5243 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006999/0.4028, allocations: 2.679 MB / 0.5269 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003382/0.4062, allocations: 1.352 MB / 0.5282 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007302/0.4135, allocations: 4.916 MB / 0.533 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.4149, allocations: 0.8517 MB / 0.5338 GB, free: 4.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002717/0.4176, allocations: 1.66 MB / 0.5354 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.4203, allocations: 1.753 MB / 0.5372 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00054/0.4208, allocations: 242 kB / 0.5374 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.4232, allocations: 0.7032 MB / 0.5381 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004089/0.4236, allocations: 0.5814 MB / 0.5386 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001936/0.4255, allocations: 1.602 MB / 0.5402 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005584/0.4311, allocations: 3.964 MB / 0.5441 GB, free: 14.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4312, allocations: 0 / 0.5441 GB, free: 14.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4312, allocations: 0 / 0.5441 GB, free: 14.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.977e-05/0.4313, allocations: 0 / 0.5441 GB, free: 14.77 MB / 398.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.01537/0.4467, allocations: 4.41 MB / 0.5484 GB, free: 11.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.4467, allocations: 7.938 kB / 0.5484 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003455/0.4502, allocations: 0.6361 MB / 0.549 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003727/0.4539, allocations: 1.764 MB / 0.5507 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.4541, allocations: 163.4 kB / 0.5509 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/0.4544, allocations: 222.6 kB / 0.5511 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004403/0.4588, allocations: 2.721 MB / 0.5538 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-05/0.4588, allocations: 11.88 kB / 0.5538 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/0.4591, allocations: 104 kB / 0.5539 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.473e-05/0.4591, allocations: 48 kB / 0.5539 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.4627, allocations: 1.936 MB / 0.5558 GB, free: 5.453 MB / 398.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.022/0.4847, allocations: 14.2 MB / 0.5697 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00461/0.4894, allocations: 2.587 MB / 0.5722 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001801/0.4912, allocations: 1.188 MB / 0.5734 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.4913, allocations: 32.56 kB / 0.5734 GB, free: 2.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002765/0.4941, allocations: 1.638 MB / 0.575 GB, free: 1.117 MB / 414.1 MB Notification: Performance of pre-optimization done (n=224): time 4.017e-06/0.4941, allocations: 0 / 0.575 GB, free: 1.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=224): time 0.01148/0.5056, allocations: 4.275 MB / 0.5792 GB, free: 12.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.5058, allocations: 107.1 kB / 0.5793 GB, free: 12.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003498/0.5093, allocations: 1.86 MB / 0.5811 GB, free: 10.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000384/0.5097, allocations: 97.69 kB / 0.5812 GB, free: 10.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.5107, allocations: 0.9442 MB / 0.5821 GB, free: 9.734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001068/0.5118, allocations: 0.8478 MB / 0.5829 GB, free: 8.902 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001613/0.5134, allocations: 0.9595 MB / 0.5839 GB, free: 7.934 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002225/0.5136, allocations: 305.1 kB / 0.5842 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002809/0.5164, allocations: 1.491 MB / 0.5856 GB, free: 6.137 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0032/0.5196, allocations: 1.995 MB / 0.5876 GB, free: 4.047 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04345/0.5631, allocations: 8.858 MB / 0.5962 GB, free: 11.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.5632, allocations: 0 / 0.5962 GB, free: 11.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.009951/0.5731, allocations: 4.746 MB / 0.6008 GB, free: 6.227 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/0.5732, allocations: 8 kB / 0.6009 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/0.5732, allocations: 7.938 kB / 0.6009 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002625/0.5759, allocations: 0.5431 MB / 0.6014 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004539/0.5804, allocations: 1.034 MB / 0.6024 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.5906, allocations: 6.181 MB / 0.6084 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005064/0.5957, allocations: 382 kB / 0.6088 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00043/0.5962, allocations: 168 kB / 0.609 GB, free: 13.64 MB / 462.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.00163/0.5978, allocations: 0.5872 MB / 0.6095 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006686/0.5985, allocations: 270.4 kB / 0.6098 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00522/0.6037, allocations: 2.738 MB / 0.6125 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.387e-05/0.6037, allocations: 15.95 kB / 0.6125 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.6038, allocations: 0 / 0.6125 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/0.6052, allocations: 0.6005 MB / 0.6131 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000447/0.6057, allocations: 75.94 kB / 0.6131 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/0.6075, allocations: 135.8 kB / 0.6133 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000584/0.6081, allocations: 269.9 kB / 0.6135 GB, free: 8.922 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006261/0.6144, allocations: 2.868 MB / 0.6163 GB, free: 6.082 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005761/0.6202, allocations: 3.448 MB / 0.6197 GB, free: 2.609 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002159/0.6224, allocations: 1.92 MB / 0.6216 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001959/0.6243, allocations: 1.145 MB / 0.6227 GB, free: 15.52 MB / 478.1 MB Notification: Performance of Backend: time 3.41e-07/0.6243, allocations: 7.938 kB / 0.6227 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008962/0.6333, allocations: 3.857 MB / 0.6265 GB, free: 11.65 MB / 478.1 MB Notification: Performance of SimCode: time 0.007089/0.6404, allocations: 4.213 MB / 0.6306 GB, free: 7.41 MB / 478.1 MB Notification: Performance of Templates: time 0.07386/0.7143, allocations: 39.17 MB / 0.6688 GB, free: 392 kB / 0.4981 GB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.makefile (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)