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.001239/0.001239, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001227/0.001227, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1937/0.1937, allocations: 16.78 MB / 306.9 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001528, allocations: 59.91 kB / 371.3 MB, free: 3.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3166, allocations: 53.55 MB / 424.8 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.02344/0.3401, allocations: 33.26 MB / 458.1 MB, free: 16.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02796/0.3681, allocations: 24.51 MB / 482.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003324/0.3714, allocations: 52.62 kB / 482.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.3749, allocations: 0.7689 MB / 483.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009619/0.3845, allocations: 2.451 MB / 485.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004354/0.3889, allocations: 1.273 MB / 487.1 MB, free: 11.46 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘infiniteBus.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘infiniteBus.componentPF.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘trafo.UStartAPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘trafo.UStartBPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘trafo.componentPF.UStartAPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘trafo.componentPF.UStartBPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘busLoad.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘busLoad.componentPF.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.009814/0.3987, allocations: 4.636 MB / 491.8 MB, free: 9.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.4006, allocations: 0.9298 MB / 492.7 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00342/0.4041, allocations: 1.584 MB / 494.3 MB, free: 7.727 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.4066, allocations: 1.679 MB / 496 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004366/0.4071, allocations: 219.3 kB / 496.2 MB, free: 6.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.4089, allocations: 0.6769 MB / 496.9 MB, free: 6.766 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005036/0.4094, allocations: 0.5432 MB / 497.4 MB, free: 6.387 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.4113, allocations: 1.589 MB / 499 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00745/0.4188, allocations: 3.822 MB / 0.491 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.4188, allocations: 6.375 kB / 0.491 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.4188, allocations: 0 / 0.491 GB, free: 3.797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001291/0.419, allocations: 0 / 0.491 GB, free: 3.797 MB / 366.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.02021/0.4392, allocations: 4.814 MB / 0.4957 GB, free: 1.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4392, allocations: 12.89 kB / 0.4958 GB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003508/0.4428, allocations: 0.6214 MB / 0.4964 GB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003204/0.446, allocations: 1.621 MB / 0.4979 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.4461, allocations: 168.8 kB / 0.4981 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003853/0.4465, allocations: 235.3 kB / 0.4983 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004174/0.4507, allocations: 2.711 MB / 0.501 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/0.4507, allocations: 15.81 kB / 0.501 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/0.451, allocations: 95.97 kB / 0.5011 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/0.451, allocations: 48 kB / 0.5011 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003106/0.4542, allocations: 1.94 MB / 0.503 GB, free: 10.97 MB / 382.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.01715/0.4713, allocations: 14.01 MB / 0.5167 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00438/0.4757, allocations: 2.582 MB / 0.5192 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.4774, allocations: 1.193 MB / 0.5204 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.4775, allocations: 26.14 kB / 0.5204 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002719/0.4803, allocations: 1.633 MB / 0.522 GB, free: 6.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=224): time 3.977e-06/0.4803, allocations: 0 / 0.522 GB, free: 6.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=224): time 0.0106/0.4909, allocations: 4.274 MB / 0.5262 GB, free: 2.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.491, allocations: 107 kB / 0.5263 GB, free: 2.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/0.4936, allocations: 1.699 MB / 0.5279 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004003/0.494, allocations: 101.7 kB / 0.528 GB, free: 464 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008583/0.4949, allocations: 0.9176 MB / 0.5289 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/0.4959, allocations: 0.8139 MB / 0.5297 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/0.4973, allocations: 0.9437 MB / 0.5307 GB, free: 13.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.4975, allocations: 309.1 kB / 0.531 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002317/0.4998, allocations: 1.487 MB / 0.5324 GB, free: 11.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002692/0.5025, allocations: 1.991 MB / 0.5343 GB, free: 9.863 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04246/0.545, allocations: 9.071 MB / 0.5432 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.792e-05/0.545, allocations: 4 kB / 0.5432 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.008964/0.554, allocations: 4.729 MB / 0.5478 GB, free: 11.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.5541, allocations: 8 kB / 0.5478 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/0.5541, allocations: 4 kB / 0.5478 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002731/0.5569, allocations: 0.549 MB / 0.5484 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004403/0.5613, allocations: 1.026 MB / 0.5494 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009467/0.5708, allocations: 6.178 MB / 0.5554 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004599/0.5754, allocations: 384.9 kB / 0.5558 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004915/0.5759, allocations: 172 kB / 0.5559 GB, free: 3.215 MB / 430.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 = 9.999999999999999e+59 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 = 9.999999999999999e+59 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 = 9.999999999999999e+59 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.001801/0.5777, allocations: 0.5875 MB / 0.5565 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007121/0.5784, allocations: 253.2 kB / 0.5568 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004899/0.5834, allocations: 2.741 MB / 0.5594 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.402e-05/0.5834, allocations: 7.969 kB / 0.5594 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.5834, allocations: 3.938 kB / 0.5594 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/0.5851, allocations: 0.5524 MB / 0.56 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005787/0.5857, allocations: 83.94 kB / 0.5601 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.5873, allocations: 131.7 kB / 0.5602 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005476/0.5879, allocations: 273.8 kB / 0.5605 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006331/0.5942, allocations: 2.867 MB / 0.5633 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005764/0.6, allocations: 3.435 MB / 0.5666 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002199/0.6023, allocations: 1.92 MB / 0.5685 GB, free: 6.281 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002422/0.6047, allocations: 1.035 MB / 0.5695 GB, free: 5.223 MB / 446.1 MB Notification: Performance of Backend: time 3.91e-07/0.6047, allocations: 0 / 0.5695 GB, free: 5.223 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0117/0.6164, allocations: 3.853 MB / 0.5733 GB, free: 1.34 MB / 446.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.008768/0.6253, allocations: 5.005 MB / 0.5781 GB, free: 12.31 MB / 462.1 MB Notification: Performance of Templates: time 0.259/0.8843, allocations: 41.28 MB / 0.6185 GB, free: 132.7 MB / 462.1 MB 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)