Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Ignoring simflag -noemit -emit_protected=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Electrical.Test.TestTapChangerLogicInterval,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval") translateModel(PowerGrids.Electrical.Test.TestTapChangerLogicInterval,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001206, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 221.8 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009962/0.0009962, allocations: 104.2 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06007/0.06007, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009949/0.0009952, allocations: 51.92 kB / 393 MB, free: 63.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07771/0.07872, allocations: 50.14 MB / 443.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicInterval): time 0.002288/0.08105, allocations: 1.568 MB / 444.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008099/0.08188, allocations: 0.6092 MB / 445.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.08194, allocations: 0 / 445.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.08197, allocations: 3.938 kB / 445.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.08216, allocations: 19.84 kB / 445.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.08232, allocations: 87.81 kB / 445.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.08247, allocations: 267.5 kB / 445.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.032e-05/0.08254, allocations: 4 kB / 445.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.08271, allocations: 151.6 kB / 445.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.08283, allocations: 139.6 kB / 446 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.7e-05/0.08289, allocations: 20 kB / 446 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.896e-05/0.08293, allocations: 20 kB / 446 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.08299, allocations: 75.81 kB / 446.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.08311, allocations: 123.7 kB / 446.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.08327, allocations: 187.7 kB / 446.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.08328, allocations: 0 / 446.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.08328, allocations: 4 kB / 446.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.08329, allocations: 0 / 446.4 MB, free: 10.07 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001034/0.08433, allocations: 0.6745 MB / 447.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.08437, allocations: 8.031 kB / 447.1 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.08448, allocations: 28.83 kB / 447.1 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.953e-05/0.08458, allocations: 184.2 kB / 447.3 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.08461, allocations: 20.34 kB / 447.3 MB, free: 9.078 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.987e-05/0.0847, allocations: 40.34 kB / 447.3 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006865/0.08539, allocations: 0.548 MB / 447.9 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.08541, allocations: 4 kB / 447.9 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.975e-05/0.08547, allocations: 23.95 kB / 447.9 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.08549, allocations: 3.938 kB / 447.9 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.08578, allocations: 139.8 kB / 448.1 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.08642, allocations: 488.2 kB / 448.5 MB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.08692, allocations: 482.5 kB / 449 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/0.08733, allocations: 473.1 kB / 449.5 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.08737, allocations: 0 / 449.5 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008722/0.08825, allocations: 0.7368 MB / 450.2 MB, free: 6.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.08826, allocations: 0 / 450.2 MB, free: 6.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.001129/0.08939, allocations: 0.9926 MB / 451.2 MB, free: 5.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.08943, allocations: 59.39 kB / 451.3 MB, free: 5.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/0.08952, allocations: 137.8 kB / 451.4 MB, free: 4.879 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.08957, allocations: 49.69 kB / 451.4 MB, free: 4.824 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.08962, allocations: 96.95 kB / 451.5 MB, free: 4.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.08969, allocations: 111 kB / 451.6 MB, free: 4.617 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.941e-05/0.08979, allocations: 78.06 kB / 451.7 MB, free: 4.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.08985, allocations: 330.8 kB / 452 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.09003, allocations: 129 kB / 452.2 MB, free: 4.074 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.09025, allocations: 216.7 kB / 452.4 MB, free: 3.828 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.09064, allocations: 332.4 kB / 452.7 MB, free: 3.484 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.09065, allocations: 0 / 452.7 MB, free: 3.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004124/0.09107, allocations: 331.8 kB / 453 MB, free: 3.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.0911, allocations: 8 kB / 453 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.09111, allocations: 3.984 kB / 453 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.09114, allocations: 4 kB / 453 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.09126, allocations: 31.86 kB / 453.1 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.09128, allocations: 4 kB / 453.1 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.09161, allocations: 59.97 kB / 453.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.09165, allocations: 16 kB / 453.1 MB, free: 3.031 MB / 298.7 MB Warning: Assuming fixed start value for the following 7 variables: locked:DISCRETE(start = lockedStart fixed = true ) "whether the tap-changer/phase-shifter is locked" type: Boolean valueUnderMin:DISCRETE(start = false fixed = true protected = true ) "true if the monitored signal is under the minimum limit" type: Boolean valueAboveMax:DISCRETE(start = false fixed = true protected = true ) "true if the monitored signal is above the maximum limit" type: Boolean 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 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 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 running:DISCRETE(start = 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: 6 * Number of states: 0 () * Number of discrete variables: 52 (locked,$PRE.locked,$PRE.valueUnderMin,$PRE.valueAboveMax,$PRE.tValueUnderMinWhileRunning,$PRE.tValueAboveMaxWhileRunning,$PRE.tValueInRangeWhileRunning,$PRE.running,tValueInRangeWhileRunning,tValueAboveMaxWhileRunning,tValueUnderMinWhileRunning,valueInRange,tTapMoved,$PRE.tTapMoved,lookingToDecreaseTap,lookingToIncreaseTap,tap,$PRE.tap,state,$PRE.state,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,valueAboveMax,valueUnderMin,running) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002134/0.09187, allocations: 207.5 kB / 453.4 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.09194, allocations: 43.7 kB / 453.4 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009132/0.09286, allocations: 0.8309 MB / 454.2 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.09288, allocations: 8 kB / 454.2 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.09289, allocations: 0 / 454.2 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.0929, allocations: 0 / 454.2 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.09311, allocations: 333.3 kB / 454.6 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.09312, allocations: 0 / 454.6 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.09318, allocations: 15.94 kB / 454.6 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.0932, allocations: 4 kB / 454.6 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.09325, allocations: 39.92 kB / 454.6 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.09326, allocations: 0 / 454.6 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.09326, allocations: 4 kB / 454.6 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.09456, allocations: 1.646 MB / 456.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.09473, allocations: 132.8 kB / 456.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.09484, allocations: 43.88 kB / 456.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.09514, allocations: 63.92 kB / 456.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002887/0.09544, allocations: 115.8 kB / 456.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.561e-05/0.09555, allocations: 67.88 kB / 456.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.782e-05/0.09561, allocations: 100.6 kB / 456.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09562, allocations: 0 / 456.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004414/0.09606, allocations: 116 kB / 456.9 MB, free: 15.15 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 41 ($whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition29,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,state,locked,tap,lookingToIncreaseTap,lookingToDecreaseTap,tTapMoved,valueUnderMin,valueAboveMax,valueInRange,tValueUnderMinWhileRunning,tValueAboveMaxWhileRunning,tValueInRangeWhileRunning) * Number of discrete states: 9 (tValueInRangeWhileRunning,tValueAboveMaxWhileRunning,tValueUnderMinWhileRunning,tap,valueUnderMin,valueAboveMax,locked,state,tTapMoved) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001915/0.09626, allocations: 155.1 kB / 457 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006991/0.09697, allocations: 454.1 kB / 457.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.09698, allocations: 0 / 457.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.09803, allocations: 1.347 MB / 458.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.09837, allocations: 63.86 kB / 458.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.09976, allocations: 0.7594 MB / 459.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.1, allocations: 0.739 MB / 460.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.1002, allocations: 46.36 kB / 460.4 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.1004, allocations: 51.38 kB / 460.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of SimCode: time 4.3e-07/0.1004, allocations: 0 / 460.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of Templates: time 0.009286/0.1097, allocations: 5.039 MB / 465.5 MB, free: 6.453 MB / 314.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.pipe 2>&1)