Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.ENTSOE.TestCase1.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 -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.ENTSOE.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.ENTSOE.TestCase1") translateModel(PowerGrids.Examples.ENTSOE.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.ENTSOE.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001386/0.001387, allocations: 183.1 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.382/1.382, allocations: 205.1 MB / 221.8 MB, free: 8.484 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.001029/0.001029, allocations: 102 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0609/0.0609, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009762/0.0009763, allocations: 51.92 kB / 394.4 MB, free: 62.13 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07914/0.08014, allocations: 50.13 MB / 444.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.TestCase1): time 0.007233/0.08742, allocations: 8.998 MB / 453.5 MB, free: 2.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006319/0.09378, allocations: 4.113 MB / 457.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.09499, allocations: 55.62 kB / 457.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.09613, allocations: 369.6 kB / 458 MB, free: 14.37 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003493/0.09969, allocations: 1.313 MB / 459.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.1017, allocations: 0.8581 MB / 460.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003031/0.1047, allocations: 2.576 MB / 462.8 MB, free: 9.621 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008157/0.1055, allocations: 0.5887 MB / 463.4 MB, free: 8.996 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.1066, allocations: 0.7775 MB / 464.2 MB, free: 8.215 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00084/0.1074, allocations: 0.851 MB / 465 MB, free: 7.359 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.1076, allocations: 84 kB / 465.1 MB, free: 7.277 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006796/0.1083, allocations: 283.8 kB / 465.4 MB, free: 7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.1085, allocations: 302.4 kB / 465.7 MB, free: 6.703 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007064/0.1093, allocations: 0.8193 MB / 466.5 MB, free: 5.879 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.1113, allocations: 2.239 MB / 468.7 MB, free: 3.633 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1114, allocations: 0 / 468.7 MB, free: 3.633 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1114, allocations: 0 / 468.7 MB, free: 3.633 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.1114, allocations: 0 / 468.7 MB, free: 3.633 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005149/0.1165, allocations: 2.354 MB / 471.1 MB, free: 1.223 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1166, allocations: 12.03 kB / 471.1 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00051/0.1171, allocations: 230.5 kB / 471.3 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.119, allocations: 1.177 MB / 472.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.31e-05/0.1191, allocations: 98.59 kB / 472.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.1193, allocations: 144.3 kB / 472.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.1213, allocations: 1.23 MB / 474 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.1213, allocations: 0 / 474 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.1215, allocations: 48 kB / 474 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.229e-05/0.1215, allocations: 28 kB / 474 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/0.1243, allocations: 1.039 MB / 475.1 MB, free: 13.08 MB / 330.7 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.00798/0.1323, allocations: 5.862 MB / 480.9 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/0.1348, allocations: 1.259 MB / 482.2 MB, free: 5.539 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009064/0.1357, allocations: 499.7 kB / 482.7 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.848e-05/0.1358, allocations: 20.97 kB / 482.7 MB, free: 5.027 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1359, allocations: 47.56 kB / 482.7 MB, free: 4.969 MB / 330.7 MB Notification: Performance of pre-optimization done (n=109): time 2.846e-06/0.1359, allocations: 0 / 482.7 MB, free: 4.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=110): time 0.008746/0.1446, allocations: 3.417 MB / 486.2 MB, free: 1.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.578e-05/0.1448, allocations: 167.2 kB / 486.3 MB, free: 1.277 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.1462, allocations: 1.152 MB / 487.5 MB, free: 112 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.58e-05/0.1463, allocations: 49.7 kB / 487.5 MB, free: 56 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2021/0.3484, allocations: 0.6365 MB / 488.2 MB, free: 49.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006578/0.3491, allocations: 400.7 kB / 488.6 MB, free: 49.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005305/0.3496, allocations: 290.2 kB / 488.8 MB, free: 49.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.727e-05/0.3497, allocations: 301.6 kB / 489.1 MB, free: 49.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.351, allocations: 0.5485 MB / 489.7 MB, free: 49.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.3524, allocations: 0.8114 MB / 490.5 MB, free: 48.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002376/0.3547, allocations: 1.21 MB / 491.7 MB, free: 48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.3548, allocations: 1.578 kB / 491.7 MB, free: 48 MB / 330.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006304/0.3611, allocations: 2.267 MB / 494 MB, free: 47.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.3611, allocations: 6.328 kB / 494 MB, free: 47.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.3612, allocations: 3.844 kB / 494 MB, free: 47.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006636/0.3678, allocations: 1.234 MB / 495.2 MB, free: 46.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.3693, allocations: 345.5 kB / 495.6 MB, free: 46.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/0.3856, allocations: 18.96 MB / 0.5025 GB, free: 29.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.3872, allocations: 83.3 kB / 0.5025 GB, free: 29.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-05/0.3873, allocations: 51.39 kB / 0.5026 GB, free: 29.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001394/0.3888, allocations: 0.7056 MB / 0.5033 GB, free: 28.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009619/0.3897, allocations: 0.7256 MB / 0.504 GB, free: 28.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001533/0.3913, allocations: 1.07 MB / 0.505 GB, free: 27.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.709e-06/0.3913, allocations: 1.344 kB / 0.505 GB, free: 27.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003959/0.3953, allocations: 1.854 MB / 0.5068 GB, free: 26.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3953, allocations: 6.312 kB / 0.5068 GB, free: 26.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3953, allocations: 3.5 kB / 0.5068 GB, free: 26.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005398/0.4007, allocations: 1.036 MB / 0.5079 GB, free: 26.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.4021, allocations: 343.8 kB / 0.5082 GB, free: 26.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009877/0.412, allocations: 15.36 MB / 0.5232 GB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.4138, allocations: 62.22 kB / 0.5232 GB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002603/0.4141, allocations: 53.69 kB / 0.5233 GB, free: 10.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 (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 (171): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,0,66.7%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(7,0), (2,0), (2,0), (4,0), (2,0), (2,0), (4,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0006613/0.4147, allocations: 275.5 kB / 0.5236 GB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004736/0.4152, allocations: 150.8 kB / 0.5237 GB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/0.4184, allocations: 1.326 MB / 0.525 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.4184, allocations: 3.984 kB / 0.525 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4184, allocations: 3.938 kB / 0.525 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006854/0.4191, allocations: 307.2 kB / 0.5253 GB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.4194, allocations: 24.19 kB / 0.5253 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007409/0.4201, allocations: 67.84 kB / 0.5254 GB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.4204, allocations: 92.78 kB / 0.5255 GB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003344/0.4237, allocations: 1.389 MB / 0.5268 GB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01782/0.4416, allocations: 9.973 MB / 0.5366 GB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001029/0.4426, allocations: 475.7 kB / 0.537 GB, free: 12.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001166/0.4438, allocations: 0.7565 MB / 0.5378 GB, free: 11.98 MB / 346.7 MB Notification: Performance of Backend: time 5.41e-07/0.4438, allocations: 0 / 0.5378 GB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01051/0.4543, allocations: 5.287 MB / 0.5429 GB, free: 6.418 MB / 346.7 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.007681/0.462, allocations: 5.529 MB / 0.5483 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of Templates: time 0.06048/0.5225, allocations: 33.43 MB / 0.581 GB, free: 15.44 MB / 394.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.ENTSOE.TestCase1.makefile (rm -f PowerGrids_PowerGrids.Examples.ENTSOE.TestCase1.pipe ; mkfifo PowerGrids_PowerGrids.Examples.ENTSOE.TestCase1.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.ENTSOE.TestCase1.pipe >> ../files/PowerGrids_PowerGrids.Examples.ENTSOE.TestCase1.sim & ./PowerGrids_PowerGrids.Examples.ENTSOE.TestCase1 -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.ENTSOE.TestCase1.pipe 2>&1)