Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(PowerGrids.Examples.ENTSOE.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow") translateModel(PowerGrids.Examples.ENTSOE.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00468/0.00468, allocations: 101.9 kB / 15.73 MB, free: 6.02 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.001249/0.001249, allocations: 194.3 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08283/0.08283, allocations: 16.68 MB / 307.2 MB, free: 14.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 67.89 kB / 426.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09152/0.09341, allocations: 53.54 MB / 480 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.01368/0.1071, allocations: 13.25 MB / 493.3 MB, free: 7.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007287/0.1145, allocations: 4.559 MB / 497.8 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.1155, allocations: 31.81 kB / 497.8 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.1168, allocations: 0.5434 MB / 498.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004648/0.1215, allocations: 2.049 MB / 0.4887 GB, free: 0.582 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.1234, allocations: 0.8922 MB / 0.4896 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003724/0.1272, allocations: 3.003 MB / 0.4925 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004034/0.1276, allocations: 212.4 kB / 0.4927 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.129, allocations: 1.004 MB / 0.4937 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/0.1305, allocations: 1.109 MB / 0.4948 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002309/0.1307, allocations: 120 kB / 0.4949 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.1318, allocations: 479.7 kB / 0.4954 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.1322, allocations: 318.4 kB / 0.4957 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.1332, allocations: 0.9676 MB / 0.4966 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.1362, allocations: 2.3 MB / 0.4988 GB, free: 6.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1363, allocations: 0 / 0.4988 GB, free: 6.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1363, allocations: 0 / 0.4988 GB, free: 6.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.111e-05/0.1363, allocations: 0 / 0.4988 GB, free: 6.164 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.009994/0.1463, allocations: 2.984 MB / 0.5018 GB, free: 3.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1464, allocations: 8.031 kB / 0.5018 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.1476, allocations: 267.6 kB / 0.502 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/0.1499, allocations: 1.131 MB / 0.5031 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/0.1499, allocations: 98.77 kB / 0.5032 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.1501, allocations: 124.4 kB / 0.5033 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2003/0.3505, allocations: 1.468 MB / 0.5048 GB, free: 32.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/0.3505, allocations: 8.344 kB / 0.5048 GB, free: 32.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.3507, allocations: 57.59 kB / 0.5048 GB, free: 32.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.3507, allocations: 32.44 kB / 0.5049 GB, free: 32.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.3526, allocations: 1.129 MB / 0.506 GB, free: 32.48 MB / 382.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.008324/0.3609, allocations: 9.672 MB / 0.5154 GB, free: 25.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.3627, allocations: 0.9944 MB / 0.5164 GB, free: 24.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005811/0.3633, allocations: 370.3 kB / 0.5167 GB, free: 24.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.679e-05/0.3634, allocations: 16.2 kB / 0.5168 GB, free: 24.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.3634, allocations: 52.16 kB / 0.5168 GB, free: 24.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.156e-06/0.3635, allocations: 3.938 kB / 0.5168 GB, free: 24.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=101): time 0.004234/0.3677, allocations: 1.711 MB / 0.5185 GB, free: 23.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.3677, allocations: 67.72 kB / 0.5185 GB, free: 23.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.3697, allocations: 1.49 MB / 0.52 GB, free: 23.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.395e-05/0.3698, allocations: 47.17 kB / 0.52 GB, free: 23.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005629/0.3704, allocations: 0.7527 MB / 0.5208 GB, free: 22.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004759/0.3709, allocations: 444.8 kB / 0.5212 GB, free: 22.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009876/0.3719, allocations: 0.7068 MB / 0.5219 GB, free: 21.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.608e-05/0.372, allocations: 357.8 kB / 0.5222 GB, free: 21.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.3734, allocations: 0.9334 MB / 0.5231 GB, free: 21.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.3751, allocations: 1.258 MB / 0.5244 GB, free: 20.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/0.3774, allocations: 1.784 MB / 0.5261 GB, free: 19.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.3775, allocations: 0 / 0.5261 GB, free: 19.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.004947/0.3824, allocations: 3.104 MB / 0.5291 GB, free: 18.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.3825, allocations: 7.625 kB / 0.5292 GB, free: 18.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.3825, allocations: 2.281 kB / 0.5292 GB, free: 18.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/0.3842, allocations: 327.3 kB / 0.5295 GB, free: 18.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/0.3868, allocations: 0.7551 MB / 0.5302 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005413/0.3923, allocations: 4.192 MB / 0.5343 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.395, allocations: 271.1 kB / 0.5346 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/0.3951, allocations: 120.6 kB / 0.5347 GB, free: 14.63 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (GRIDL.isSlackBus,GRID.isSlackBus,NTLV.isSlackBus,GEN.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (483): * Single equations (assignments): 481 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(17,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0005572/0.3957, allocations: 376.5 kB / 0.535 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.396, allocations: 168.1 kB / 0.5352 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.3978, allocations: 1.046 MB / 0.5362 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.3978, allocations: 10.78 kB / 0.5362 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3978, allocations: 3.938 kB / 0.5362 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004536/0.3983, allocations: 380.8 kB / 0.5366 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/0.3985, allocations: 26 kB / 0.5366 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.3995, allocations: 43.08 kB / 0.5367 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3996, allocations: 72.48 kB / 0.5367 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001981/0.4016, allocations: 1.054 MB / 0.5378 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001486/0.4031, allocations: 1.399 MB / 0.5391 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003626/0.4035, allocations: 329.6 kB / 0.5394 GB, free: 11.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009386/0.4044, allocations: 0.9104 MB / 0.5403 GB, free: 11.46 MB / 382.1 MB Notification: Performance of Backend: time 5.11e-07/0.4044, allocations: 0.6562 kB / 0.5403 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003874/0.4083, allocations: 2.466 MB / 0.5427 GB, free: 9.602 MB / 382.1 MB Notification: Performance of SimCode: time 0.002706/0.411, allocations: 2.781 MB / 0.5455 GB, free: 6.789 MB / 382.1 MB Notification: Performance of Templates: time 0.1148/0.5259, allocations: 24.91 MB / 0.5698 GB, free: 13.95 MB / 414.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.sim & ./PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.pipe 2>&1)