Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.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 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 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 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) Ignoring simflag -noemit -emit_protected=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax") translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001485/0.001486, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05959/0.05959, allocations: 14.15 MB / 284.5 MB, free: 7.012 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008294/0.0008296, allocations: 20 kB / 348.8 MB, free: 17.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1347, allocations: 51.12 MB / 399.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax): time 0.009715/0.1444, allocations: 6.295 MB / 406.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0145/0.159, allocations: 7.446 MB / 413.7 MB, free: 276 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.1602, allocations: 15.94 kB / 413.7 MB, free: 260 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.1615, allocations: 318.3 kB / 414 MB, free: 15.94 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004802/0.1663, allocations: 1.36 MB / 415.3 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.168, allocations: 0.5569 MB / 415.9 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002972/0.1709, allocations: 1.459 MB / 417.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.1712, allocations: 126.6 kB / 417.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007709/0.172, allocations: 0.5995 MB / 418.1 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.1726, allocations: 0.5721 MB / 418.7 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.738e-05/0.1727, allocations: 36 kB / 418.7 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008061/0.1735, allocations: 347.6 kB / 419 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.1737, allocations: 155.3 kB / 419.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.174, allocations: 253.1 kB / 419.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.1751, allocations: 1.138 MB / 420.6 MB, free: 9.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1751, allocations: 4 kB / 420.6 MB, free: 9.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1751, allocations: 0 / 420.6 MB, free: 9.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1751, allocations: 0 / 420.6 MB, free: 9.332 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.005294/0.1804, allocations: 1.729 MB / 422.3 MB, free: 7.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1805, allocations: 12.03 kB / 422.3 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000684/0.1812, allocations: 178.5 kB / 422.5 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.1825, allocations: 0.7066 MB / 423.2 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/0.1825, allocations: 69.97 kB / 423.3 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.1827, allocations: 103.9 kB / 423.4 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.1845, allocations: 1.163 MB / 424.5 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.1845, allocations: 3.938 kB / 424.5 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.1846, allocations: 47.98 kB / 424.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.1847, allocations: 20 kB / 424.6 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.1859, allocations: 0.7728 MB / 425.4 MB, free: 4.391 MB / 318.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.1829/0.3689, allocations: 5.319 MB / 430.7 MB, free: 35.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.3707, allocations: 1.085 MB / 431.8 MB, free: 34.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/0.3708, allocations: 13.12 kB / 431.8 MB, free: 34.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001442/0.3723, allocations: 0.8467 MB / 432.6 MB, free: 34.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=107): time 3.717e-06/0.3723, allocations: 0 / 432.6 MB, free: 34.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=107): time 0.003934/0.3762, allocations: 1.84 MB / 434.5 MB, free: 34.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.3763, allocations: 72.14 kB / 434.5 MB, free: 34.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007006/0.377, allocations: 0.5647 MB / 435.1 MB, free: 34.33 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.138e-05/0.3771, allocations: 65.06 kB / 435.2 MB, free: 34.28 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.3774, allocations: 401.8 kB / 435.6 MB, free: 34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.3776, allocations: 339.7 kB / 435.9 MB, free: 33.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.3776, allocations: 21 kB / 435.9 MB, free: 33.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3778, allocations: 391.8 kB / 436.3 MB, free: 33.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.3783, allocations: 303.2 kB / 436.6 MB, free: 33.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006064/0.3789, allocations: 0.506 MB / 437.1 MB, free: 32.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005047/0.3794, allocations: 328.5 kB / 437.4 MB, free: 32.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3794, allocations: 1.375 kB / 437.4 MB, free: 32.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001752/0.3812, allocations: 1.063 MB / 438.5 MB, free: 32.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.3812, allocations: 6.469 kB / 438.5 MB, free: 32.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.3812, allocations: 4.781 kB / 438.5 MB, free: 32.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005459/0.3818, allocations: 163.6 kB / 438.7 MB, free: 32.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000953/0.3828, allocations: 217.9 kB / 438.9 MB, free: 32.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.3853, allocations: 2.327 MB / 441.2 MB, free: 30.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000949/0.3863, allocations: 104.3 kB / 441.3 MB, free: 30.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.853e-05/0.3864, allocations: 36.67 kB / 441.3 MB, free: 30.4 MB / 318.1 MB Warning: Assuming fixed start value for the following 4 variables: trafo.valueUnderStop:DISCRETE(start = false fixed = true protected = true ) "whether the monitored signal is under the stop limit" type: Boolean trafo.valueAboveMax:DISCRETE(start = false fixed = true protected = true ) "wheter the monitored signal is above the maximum limit" type: Boolean 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: 20 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition19,$whenCondition20,$whenCondition21,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$PRE.trafo.state,trafo.state,$PRE.trafo.tap,trafo.tap,trafo.lookingToIncreaseTap,trafo.lookingToDecreaseTap,$PRE.trafo.tTapMoved,trafo.tTapMoved,$PRE.trafo.valueUnderStop,trafo.valueUnderStop,$PRE.trafo.valueAboveMax,trafo.valueAboveMax,$PRE.trafo.tValueAboveMaxWhileRunning,trafo.tValueAboveMaxWhileRunning,$PRE.trafo.locked,$PRE.trafo.running,trafo.running,trafo.locked) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,93.8%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000577/0.387, allocations: 282.3 kB / 441.6 MB, free: 30.19 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.3872, allocations: 109.2 kB / 441.7 MB, free: 30.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.3894, allocations: 1.314 MB / 443 MB, free: 29.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.3894, allocations: 10.19 kB / 443 MB, free: 29.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3894, allocations: 6.797 kB / 443 MB, free: 29.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.3895, allocations: 6.078 kB / 443.1 MB, free: 29.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/0.3933, allocations: 2.408 MB / 445.5 MB, free: 28.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/0.3933, allocations: 2.438 kB / 445.5 MB, free: 28.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007457/0.3941, allocations: 172 kB / 445.6 MB, free: 28.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/0.3945, allocations: 147 kB / 445.8 MB, free: 28.26 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.049e-05/0.3946, allocations: 40.89 kB / 445.8 MB, free: 28.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/0.3969, allocations: 2.305 MB / 448.1 MB, free: 26.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.397, allocations: 1.375 kB / 448.1 MB, free: 26.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.3991, allocations: 1.354 MB / 449.5 MB, free: 25.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/0.3995, allocations: 254.7 kB / 449.7 MB, free: 25.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.3997, allocations: 44.98 kB / 449.8 MB, free: 25.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006657/0.4004, allocations: 84.91 kB / 449.9 MB, free: 25.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003437/0.4007, allocations: 169.7 kB / 450 MB, free: 25.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.4009, allocations: 67.47 kB / 450.1 MB, free: 25.51 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005781/0.4014, allocations: 392.6 kB / 450.5 MB, free: 25.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4015, allocations: 0 / 450.5 MB, free: 25.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001729/0.4032, allocations: 353.2 kB / 450.8 MB, free: 25.29 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition19,$whenCondition20,$whenCondition21,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,trafo.state,trafo.tap,trafo.lookingToIncreaseTap,trafo.lookingToDecreaseTap,trafo.tTapMoved,trafo.valueUnderStop,trafo.valueAboveMax,trafo.tValueAboveMaxWhileRunning) * Number of discrete states: 5 (trafo.valueUnderStop,trafo.valueAboveMax,trafo.state,trafo.tTapMoved,trafo.tap) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000388/0.4036, allocations: 219 kB / 451 MB, free: 25.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.4054, allocations: 1.105 MB / 452.1 MB, free: 24.67 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4054, allocations: 0 / 452.1 MB, free: 24.67 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.4065, allocations: 1.238 MB / 453.4 MB, free: 23.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006301/0.4071, allocations: 115.9 kB / 453.5 MB, free: 23.86 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.4102, allocations: 1.992 MB / 455.5 MB, free: 22.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.4106, allocations: 1.013 MB / 456.5 MB, free: 21.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006048/0.4112, allocations: 129.6 kB / 456.6 MB, free: 21.67 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.4115, allocations: 80.03 kB / 456.7 MB, free: 21.65 MB / 318.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4115, allocations: 0 / 456.7 MB, free: 21.65 MB / 318.1 MB Notification: Performance of Templates: time 0.01681/0.4283, allocations: 10.72 MB / 467.4 MB, free: 11.39 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.pipe 2>&1) Environment - environmentSimulation: