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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, 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.001108/0.001108, 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.625/1.625, allocations: 205.4 MB / 222.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06263/0.06263, allocations: 14.17 MB / 284.5 MB, free: 7.246 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.000554/0.000554, allocations: 16 kB / 348.8 MB, free: 17.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1121, allocations: 51.1 MB / 399.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.TestCase1): time 0.008153/0.1203, allocations: 7.569 MB / 407.5 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007264/0.1276, allocations: 3.901 MB / 411.4 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.1291, allocations: 47.62 kB / 411.4 MB, free: 2.527 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009248/0.13, allocations: 278 kB / 411.7 MB, free: 2.254 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.1332, allocations: 1.277 MB / 413 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.1349, allocations: 0.6383 MB / 413.6 MB, free: 348 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00273/0.1376, allocations: 1.682 MB / 415.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006686/0.1383, allocations: 463 kB / 415.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000972/0.1393, allocations: 0.7235 MB / 416.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007698/0.1401, allocations: 0.7309 MB / 417.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.1402, allocations: 63.98 kB / 417.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006141/0.1408, allocations: 235.8 kB / 417.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.1411, allocations: 250.8 kB / 417.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.1413, allocations: 324.8 kB / 418.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.1429, allocations: 1.73 MB / 419.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1429, allocations: 0 / 419.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1429, allocations: 0 / 419.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.294e-05/0.143, allocations: 0 / 419.8 MB, free: 10.12 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004953/0.1479, allocations: 2.078 MB / 421.9 MB, free: 7.988 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.525e-05/0.148, allocations: 12.02 kB / 421.9 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006004/0.1486, allocations: 229.6 kB / 422.1 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.1505, allocations: 1.134 MB / 423.2 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-05/0.1506, allocations: 106.2 kB / 423.3 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.1508, allocations: 135.9 kB / 423.5 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.1529, allocations: 1.23 MB / 424.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.153, allocations: 0 / 424.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-05/0.1531, allocations: 48 kB / 424.8 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.1531, allocations: 28 kB / 424.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.1552, allocations: 1.09 MB / 425.9 MB, free: 3.84 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.2236/0.3789, allocations: 5.898 MB / 431.8 MB, free: 34.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002961/0.3819, allocations: 1.321 MB / 433.1 MB, free: 33.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.487e-05/0.382, allocations: 17.48 kB / 433.1 MB, free: 33.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.382, allocations: 48.19 kB / 433.2 MB, free: 33.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=109): time 4.459e-06/0.382, allocations: 0.9688 kB / 433.2 MB, free: 33.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=110): time 0.009598/0.3916, allocations: 3.541 MB / 436.7 MB, free: 32.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.3917, allocations: 170 kB / 436.9 MB, free: 32.51 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.3936, allocations: 1.14 MB / 438 MB, free: 32.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.3938, allocations: 57.61 kB / 438.1 MB, free: 31.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005396/0.3944, allocations: 0.6355 MB / 438.7 MB, free: 31.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/0.3947, allocations: 405 kB / 439.1 MB, free: 31.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.3948, allocations: 31.22 kB / 439.1 MB, free: 31.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3949, allocations: 365.8 kB / 439.5 MB, free: 30.85 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.3961, allocations: 0.5578 MB / 440 MB, free: 30.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.3975, allocations: 0.8235 MB / 440.9 MB, free: 30.17 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.3988, allocations: 0.6473 MB / 441.5 MB, free: 29.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.3988, allocations: 1.062 kB / 441.5 MB, free: 29.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006048/0.4049, allocations: 2.391 MB / 443.9 MB, free: 28.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003331/0.4052, allocations: 1.427 MB / 445.3 MB, free: 27.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.4053, allocations: 2.844 kB / 445.3 MB, free: 27.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006153/0.4114, allocations: 1.172 MB / 446.5 MB, free: 27.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.4131, allocations: 344.5 kB / 446.8 MB, free: 27.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/0.4281, allocations: 19.42 MB / 466.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.4298, allocations: 96.61 kB / 466.4 MB, free: 8.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.4299, allocations: 53.14 kB / 466.4 MB, free: 8.805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.4299, allocations: 3.688 kB / 466.4 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003426/0.4334, allocations: 1.684 MB / 468.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4334, allocations: 3.969 kB / 468.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005076/0.4385, allocations: 1.036 MB / 469.1 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.4399, allocations: 346.2 kB / 469.5 MB, free: 7.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.4516, allocations: 15.42 MB / 484.9 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.4533, allocations: 55.83 kB / 484.9 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.731e-05/0.4534, allocations: 62.06 kB / 485 MB, free: 6.203 MB / 334.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 13 * 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,(3,66.7%) 0} * Non-linear torn systems: 7 {7 0,2 0,2 0,4 0,2 0,2 0,4 0} Notification: Performance of prepare postOptimizeDAE: time 0.00103/0.4544, allocations: 413.1 kB / 485.4 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/0.4547, allocations: 142.2 kB / 485.6 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/0.4578, allocations: 1.386 MB / 486.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.4578, allocations: 3.984 kB / 486.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.4578, allocations: 4 kB / 486.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005958/0.4584, allocations: 311.2 kB / 487.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.4586, allocations: 20 kB / 487.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007656/0.4594, allocations: 75.86 kB / 487.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.4596, allocations: 96.83 kB / 487.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003805/0.4634, allocations: 1.464 MB / 488.9 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003338/0.4668, allocations: 1.844 MB / 490.7 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009413/0.4677, allocations: 497 kB / 491.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001162/0.4689, allocations: 0.7448 MB / 492 MB, free: 15.2 MB / 350.1 MB Notification: Performance of Backend: time 4.71e-07/0.4689, allocations: 3.938 kB / 492 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.009866/0.4788, allocations: 5.371 MB / 497.3 MB, free: 9.543 MB / 350.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.006687/0.4855, allocations: 4.112 MB / 0.4897 GB, free: 5.391 MB / 350.1 MB Notification: Performance of Templates: time 0.04581/0.5313, allocations: 26.83 MB / 0.5159 GB, free: 10.58 MB / 382.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.ENTSOE.TestCase1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: