Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase2.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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase2") translateModel(PowerGrids.Examples.ENTSOE.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 95.95 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 177.5 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06822/0.06822, allocations: 14.15 MB / 285.2 MB, free: 7.152 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.0005525/0.0005526, allocations: 15.98 kB / 349.5 MB, free: 17.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1165, allocations: 51.11 MB / 400.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.TestCase2): time 0.008559/0.1251, allocations: 7.079 MB / 407.6 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007737/0.1329, allocations: 3.757 MB / 411.4 MB, free: 3.184 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.1359, allocations: 23.88 kB / 411.4 MB, free: 3.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.1378, allocations: 294.2 kB / 411.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005682/0.1435, allocations: 1.303 MB / 413 MB, free: 1.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.1461, allocations: 0.6192 MB / 413.6 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005152/0.1512, allocations: 1.628 MB / 415.3 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008876/0.1522, allocations: 287.8 kB / 415.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.154, allocations: 0.6926 MB / 416.2 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.1552, allocations: 0.7041 MB / 416.9 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.1554, allocations: 56 kB / 417 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.1567, allocations: 295.7 kB / 417.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.1569, allocations: 219 kB / 417.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004036/0.1573, allocations: 281 kB / 417.8 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.1592, allocations: 1.496 MB / 419.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1592, allocations: 0 / 419.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1592, allocations: 4 kB / 419.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.1592, allocations: 0 / 419.3 MB, free: 11.28 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.005371/0.1646, allocations: 1.96 MB / 421.2 MB, free: 9.262 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.1647, allocations: 16 kB / 421.2 MB, free: 9.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006505/0.1653, allocations: 194.1 kB / 421.4 MB, free: 9.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.1671, allocations: 0.9462 MB / 422.4 MB, free: 8.055 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.355e-05/0.1672, allocations: 86 kB / 422.5 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.1673, allocations: 112 kB / 422.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.1692, allocations: 1.062 MB / 423.6 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.1692, allocations: 3.938 kB / 423.6 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.888e-05/0.1693, allocations: 43.98 kB / 423.7 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.1693, allocations: 24 kB / 423.7 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.1713, allocations: 1.023 MB / 424.7 MB, free: 5.668 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.2332/0.4045, allocations: 5.494 MB / 430.2 MB, free: 35.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/0.4071, allocations: 1.342 MB / 431.6 MB, free: 35.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.143e-05/0.4072, allocations: 14.77 kB / 431.6 MB, free: 35.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.4072, allocations: 45.39 kB / 431.6 MB, free: 35.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=106): time 5.62e-06/0.4073, allocations: 3.828 kB / 431.6 MB, free: 35.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=107): time 0.009834/0.4171, allocations: 3.43 MB / 435.1 MB, free: 34.49 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.4172, allocations: 140.8 kB / 435.2 MB, free: 34.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.4187, allocations: 0.9046 MB / 436.1 MB, free: 33.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.4188, allocations: 52.11 kB / 436.2 MB, free: 33.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.4192, allocations: 0.5019 MB / 436.7 MB, free: 33.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.4196, allocations: 387.4 kB / 437 MB, free: 33.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.548e-05/0.4197, allocations: 29.91 kB / 437.1 MB, free: 33.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4198, allocations: 364.3 kB / 437.4 MB, free: 32.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.4208, allocations: 0.5198 MB / 437.9 MB, free: 32.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.4219, allocations: 0.7494 MB / 438.7 MB, free: 32.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.4231, allocations: 0.5936 MB / 439.3 MB, free: 32.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.4231, allocations: 5.375 kB / 439.3 MB, free: 32.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.005522/0.4286, allocations: 2.216 MB / 441.5 MB, free: 31.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002732/0.4289, allocations: 1.323 MB / 442.8 MB, free: 29.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.429, allocations: 3.219 kB / 442.8 MB, free: 29.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005572/0.4345, allocations: 1.067 MB / 443.9 MB, free: 29.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.4361, allocations: 336.3 kB / 444.2 MB, free: 29.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/0.4497, allocations: 16.63 MB / 460.9 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.4513, allocations: 98.41 kB / 461 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.4514, allocations: 54.47 kB / 461 MB, free: 14.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.4514, allocations: 7.922 kB / 461 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002955/0.4544, allocations: 1.564 MB / 462.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4544, allocations: 3.969 kB / 462.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004447/0.4589, allocations: 0.9272 MB / 463.5 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.4603, allocations: 344.3 kB / 463.8 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007671/0.4679, allocations: 12.63 MB / 476.5 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.4694, allocations: 59.83 kB / 476.5 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.4695, allocations: 48.03 kB / 476.6 MB, free: 15.98 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (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 (165): * Single equations (assignments): 154 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,66.7%) 0,(2,100.0%) 0,(2,100.0%) 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.0008977/0.4704, allocations: 380.2 kB / 477 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/0.4707, allocations: 126.5 kB / 477.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002769/0.4734, allocations: 1.319 MB / 478.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.4735, allocations: 15.97 kB / 478.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4735, allocations: 0 / 478.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005817/0.4741, allocations: 271.5 kB / 478.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.4742, allocations: 20 kB / 478.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006826/0.4749, allocations: 79.8 kB / 478.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.4751, allocations: 100.8 kB / 478.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00337/0.4785, allocations: 1.368 MB / 480.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002864/0.4814, allocations: 1.676 MB / 481.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007924/0.4822, allocations: 447.7 kB / 482.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009015/0.4831, allocations: 0.5887 MB / 482.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of Backend: time 8.32e-07/0.4831, allocations: 0 / 482.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.008641/0.4917, allocations: 4.765 MB / 487.7 MB, free: 4.59 MB / 334.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.00532/0.4971, allocations: 3.485 MB / 491.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of Templates: time 0.04082/0.5379, allocations: 23.92 MB / 0.503 GB, free: 9.184 MB / 366.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase2.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase2.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase2.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase2.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase2.sim & ./PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase2 -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.ENTSOE.TestCase2.pipe 2>&1) Environment - environmentSimulation: