Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3.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 -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.ENTSOE.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3") translateModel(PowerGrids.Examples.ENTSOE.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 99.86 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.001116/0.001116, 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.577/1.577, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06367/0.06367, allocations: 14.15 MB / 284.5 MB, free: 7.027 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.0005805/0.0005806, allocations: 12 kB / 348.8 MB, free: 17.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1109, allocations: 51.11 MB / 399.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.TestCase3): time 0.01522/0.1262, allocations: 13.62 MB / 413.6 MB, free: 380 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.1397, allocations: 6.435 MB / 420 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003841/0.1436, allocations: 67.56 kB / 420.1 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003217/0.1468, allocations: 0.555 MB / 420.6 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008612/0.1555, allocations: 2.267 MB / 422.9 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.1592, allocations: 1.142 MB / 424 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007813/0.167, allocations: 3.375 MB / 427.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.1687, allocations: 0.6086 MB / 428 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003098/0.1718, allocations: 1.327 MB / 429.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2498/0.4216, allocations: 1.358 MB / 430.7 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001242/0.4229, allocations: 91.84 kB / 430.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.4259, allocations: 453.9 kB / 431.2 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.427, allocations: 389.8 kB / 431.6 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00189/0.4289, allocations: 0.5412 MB / 432.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005689/0.4346, allocations: 2.883 MB / 435 MB, free: 14.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4346, allocations: 0 / 435 MB, free: 14.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4347, allocations: 3.438 kB / 435 MB, free: 14.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001342/0.4348, allocations: 0 / 435 MB, free: 14.2 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01312/0.4479, allocations: 3.675 MB / 438.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.448, allocations: 12.8 kB / 438.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002469/0.4505, allocations: 428.9 kB / 439.1 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004162/0.4546, allocations: 1.717 MB / 440.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.4548, allocations: 173 kB / 441 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004072/0.4552, allocations: 229.2 kB / 441.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004112/0.4593, allocations: 2.126 MB / 443.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.4594, allocations: 5.719 kB / 443.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.4596, allocations: 82.41 kB / 443.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/0.4596, allocations: 49.75 kB / 443.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003675/0.4633, allocations: 2.002 MB / 445.5 MB, free: 11.77 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.0151/0.4784, allocations: 11.73 MB / 457.2 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/0.4822, allocations: 2.814 MB / 460 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.4823, allocations: 26.55 kB / 460.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001719/0.484, allocations: 1.125 MB / 461.2 MB, free: 1.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=213): time 4.528e-06/0.484, allocations: 0 / 461.2 MB, free: 1.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=214): time 0.01467/0.4987, allocations: 6.401 MB / 467.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/0.4989, allocations: 366.9 kB / 468 MB, free: 15.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/0.5018, allocations: 1.678 MB / 469.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002579/0.5021, allocations: 75.05 kB / 469.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009371/0.5031, allocations: 1.059 MB / 470.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008533/0.5039, allocations: 0.7419 MB / 471.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.5041, allocations: 52 kB / 471.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003612/0.5045, allocations: 407.5 kB / 472 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.5064, allocations: 0.833 MB / 472.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.5086, allocations: 1.388 MB / 474.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/0.5107, allocations: 1.068 MB / 475.3 MB, free: 8.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.5108, allocations: 4 kB / 475.3 MB, free: 8.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.009114/0.5199, allocations: 3.767 MB / 479 MB, free: 5.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002726/0.5226, allocations: 5.049 MB / 484.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.802e-05/0.5227, allocations: 15.98 kB / 484.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008225/0.5309, allocations: 1.631 MB / 485.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/0.5333, allocations: 0.5293 MB / 486.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0252/0.5586, allocations: 21.11 MB / 0.4955 GB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/0.562, allocations: 171.5 kB / 0.4956 GB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005879/0.5626, allocations: 95.98 kB / 0.4957 GB, free: 6.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.5627, allocations: 4.938 kB / 0.4957 GB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007179/0.5699, allocations: 2.873 MB / 0.4985 GB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.658e-05/0.5699, allocations: 12 kB / 0.4985 GB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007436/0.5774, allocations: 1.458 MB / 0.5 GB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/0.5799, allocations: 0.5379 MB / 0.5005 GB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01925/0.5992, allocations: 17.73 MB / 0.5178 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003057/0.6023, allocations: 115.7 kB / 0.5179 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004174/0.6027, allocations: 95.98 kB / 0.518 GB, free: 14.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition4,$PRE.NTHV.fault,NTHV.fault,$whenCondition1,$whenCondition2,$PRE.NTHV.Y.re,NTHV.Y.re,$PRE.NTHV.Y.im,NTHV.Y.im,PSS.firstWashoutVsi2.integrator.local_reset,PSS.secondWashoutVsi1.integrator.local_reset,PSS.firstWashoutVsi1.integrator.local_reset,AVR.firstOrderLim.I.local_reset,TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (288): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,66.7%) 0,(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0,(2,100.0%) 0} * Non-linear torn systems: 6 {38 0,2 0,2 0,2 0,2 0,4 0} Notification: Performance of prepare postOptimizeDAE: time 0.00178/0.6045, allocations: 0.6258 MB / 0.5186 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008055/0.6053, allocations: 249 kB / 0.5189 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005348/0.6107, allocations: 2.42 MB / 0.5212 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/0.6107, allocations: 11.95 kB / 0.5212 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.6108, allocations: 8 kB / 0.5212 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/0.6122, allocations: 466 kB / 0.5217 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000673/0.6129, allocations: 44 kB / 0.5217 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/0.6147, allocations: 108.7 kB / 0.5218 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003192/0.615, allocations: 172.8 kB / 0.522 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00644/0.6215, allocations: 2.513 MB / 0.5244 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005353/0.6269, allocations: 2.984 MB / 0.5274 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001381/0.6283, allocations: 0.7926 MB / 0.5281 GB, free: 4.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002077/0.6304, allocations: 1.079 MB / 0.5292 GB, free: 2.961 MB / 398.1 MB Notification: Performance of Backend: time 5.62e-07/0.6304, allocations: 0 / 0.5292 GB, free: 2.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01507/0.6455, allocations: 7.517 MB / 0.5365 GB, free: 11.23 MB / 414.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: time 0.0101/0.6556, allocations: 6.245 MB / 0.5426 GB, free: 4.938 MB / 414.1 MB Notification: Performance of Templates: time 0.07546/0.7311, allocations: 43.4 MB / 0.585 GB, free: 9.641 MB / 462.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3.pipe ; mkfifo PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3.pipe >> ../files/PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3.sim & ./PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3 -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.ENTSOE.TestCase3.pipe 2>&1) Environment - environmentSimulation: