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.001452/0.001452, allocations: 105 kB / 16.41 MB, free: 6.465 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.001536/0.001536, allocations: 187 kB / 17.34 MB, free: 5.719 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1408/0.1408, allocations: 16.77 MB / 308 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.91 kB / 427.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1041, allocations: 53.56 MB / 480.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.01248/0.1167, allocations: 13.25 MB / 494.1 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007673/0.1244, allocations: 4.559 MB / 498.6 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/0.1265, allocations: 23.88 kB / 498.6 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.1285, allocations: 0.5472 MB / 499.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00585/0.1344, allocations: 2.039 MB / 0.4895 GB, free: 488 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.1366, allocations: 0.8933 MB / 0.4904 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004367/0.141, allocations: 3.006 MB / 0.4933 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006224/0.1416, allocations: 224.3 kB / 0.4935 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001912/0.1436, allocations: 1.023 MB / 0.4945 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/0.1457, allocations: 1.101 MB / 0.4956 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004847/0.1462, allocations: 120 kB / 0.4957 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.1481, allocations: 483.7 kB / 0.4962 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004907/0.1486, allocations: 322.4 kB / 0.4965 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001905/0.1505, allocations: 0.9599 MB / 0.4974 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003939/0.1545, allocations: 2.286 MB / 0.4996 GB, free: 6.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1545, allocations: 0 / 0.4996 GB, free: 6.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1545, allocations: 0 / 0.4996 GB, free: 6.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.819e-05/0.1546, allocations: 0 / 0.4996 GB, free: 6.047 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.01054/0.1652, allocations: 2.939 MB / 0.5025 GB, free: 3.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1652, allocations: 8.031 kB / 0.5025 GB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.1665, allocations: 258.6 kB / 0.5028 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/0.1691, allocations: 1.122 MB / 0.5038 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-05/0.1692, allocations: 94.77 kB / 0.5039 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.1694, allocations: 124.4 kB / 0.5041 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.243/0.4124, allocations: 1.469 MB / 0.5055 GB, free: 32.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/0.4125, allocations: 9.062 kB / 0.5055 GB, free: 32.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.4126, allocations: 59.56 kB / 0.5056 GB, free: 32.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.435e-05/0.4127, allocations: 33.95 kB / 0.5056 GB, free: 32.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.4148, allocations: 1.126 MB / 0.5067 GB, free: 32.39 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.01034/0.4251, allocations: 9.686 MB / 0.5161 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.4271, allocations: 0.9868 MB / 0.5171 GB, free: 24.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005419/0.4277, allocations: 367.7 kB / 0.5175 GB, free: 24.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/0.4277, allocations: 16.31 kB / 0.5175 GB, free: 24.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.4278, allocations: 54.09 kB / 0.5175 GB, free: 24.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 4.308e-06/0.4278, allocations: 0 / 0.5175 GB, free: 24.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=101): time 0.004407/0.4322, allocations: 1.707 MB / 0.5192 GB, free: 23.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.4323, allocations: 66.28 kB / 0.5193 GB, free: 23.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/0.4347, allocations: 1.494 MB / 0.5207 GB, free: 22.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.4349, allocations: 46.55 kB / 0.5208 GB, free: 22.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005877/0.4355, allocations: 0.7369 MB / 0.5215 GB, free: 22.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005174/0.436, allocations: 418.3 kB / 0.5219 GB, free: 22.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/0.4372, allocations: 0.707 MB / 0.5226 GB, free: 21.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4373, allocations: 359.4 kB / 0.5229 GB, free: 21.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.4388, allocations: 0.939 MB / 0.5238 GB, free: 21.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/0.4407, allocations: 1.262 MB / 0.5251 GB, free: 20.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002597/0.4433, allocations: 1.787 MB / 0.5268 GB, free: 19.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.4433, allocations: 1.094 kB / 0.5268 GB, free: 19.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.005858/0.4492, allocations: 3.096 MB / 0.5298 GB, free: 18.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.4493, allocations: 7.422 kB / 0.5298 GB, free: 18.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.4493, allocations: 3.344 kB / 0.5298 GB, free: 18.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/0.451, allocations: 323 kB / 0.5302 GB, free: 18.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/0.4539, allocations: 0.7597 MB / 0.5309 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00437/0.4583, allocations: 4.195 MB / 0.535 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/0.4615, allocations: 250.9 kB / 0.5352 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/0.4618, allocations: 123 kB / 0.5353 GB, free: 14.44 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 (485): * Single equations (assignments): 483 * 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.000735/0.4626, allocations: 375.5 kB / 0.5357 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003465/0.4629, allocations: 165.9 kB / 0.5359 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/0.4649, allocations: 1.036 MB / 0.5369 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.4649, allocations: 11.06 kB / 0.5369 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4649, allocations: 0 / 0.5369 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005981/0.4655, allocations: 376.4 kB / 0.5372 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.4657, allocations: 15.94 kB / 0.5373 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.4667, allocations: 46.58 kB / 0.5373 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.4668, allocations: 72.19 kB / 0.5374 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001962/0.4688, allocations: 1.049 MB / 0.5384 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001491/0.4703, allocations: 1.386 MB / 0.5398 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003713/0.4707, allocations: 324.6 kB / 0.5401 GB, free: 11.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001097/0.4718, allocations: 0.9215 MB / 0.541 GB, free: 11.24 MB / 382.1 MB Notification: Performance of Backend: time 5.41e-07/0.4718, allocations: 4 kB / 0.541 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00432/0.4761, allocations: 2.468 MB / 0.5434 GB, free: 9.355 MB / 382.1 MB Notification: Performance of SimCode: time 0.003548/0.4797, allocations: 3.638 MB / 0.5469 GB, free: 5.688 MB / 382.1 MB Notification: Performance of Templates: time 0.0383/0.518, allocations: 28.69 MB / 0.5749 GB, free: 9.004 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.pipe 2>&1)