Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.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.Tutorial.HowToBuild.Examples.SimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 106.9 kB / 16.27 MB, free: 6.414 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.001264/0.001264, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0787/0.0787, allocations: 16.77 MB / 307.8 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 63.86 kB / 372.4 MB, free: 48.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1041, allocations: 53.57 MB / 426 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.02767/0.1318, allocations: 33.72 MB / 459.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01633/0.1482, allocations: 8.361 MB / 468.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004733/0.153, allocations: 67.69 kB / 468.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004875/0.1579, allocations: 1.153 MB / 469.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.169, allocations: 3.471 MB / 472.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00499/0.174, allocations: 1.639 MB / 474.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01067/0.1847, allocations: 6.532 MB / 480.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/0.1876, allocations: 1.122 MB / 482.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004397/0.192, allocations: 2.183 MB / 484.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004635/0.1967, allocations: 2.334 MB / 486.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001423/0.1982, allocations: 296 kB / 486.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/0.2017, allocations: 0.8278 MB / 487.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.2029, allocations: 0.6883 MB / 488.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00454/0.2075, allocations: 2.088 MB / 490.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007961/0.2155, allocations: 5.226 MB / 495.7 MB, free: 6.652 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.2155, allocations: 0 / 495.7 MB, free: 6.652 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2155, allocations: 0 / 495.7 MB, free: 6.652 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001316/0.2157, allocations: 0 / 495.7 MB, free: 6.652 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 623 * Number of variables: 623 Notification: Performance of Generate backend data structure: time 0.01881/0.2345, allocations: 5.213 MB / 0.4892 GB, free: 1.367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.2346, allocations: 8.031 kB / 0.4892 GB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004892/0.2395, allocations: 0.8593 MB / 0.49 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005374/0.2449, allocations: 2.256 MB / 0.4922 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.2451, allocations: 201 kB / 0.4924 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004574/0.2455, allocations: 252 kB / 0.4927 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004437/0.25, allocations: 2.888 MB / 0.4955 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.366e-05/0.2501, allocations: 19.81 kB / 0.4955 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/0.2503, allocations: 112 kB / 0.4956 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.223e-05/0.2504, allocations: 64 kB / 0.4957 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003672/0.254, allocations: 2.295 MB / 0.4979 GB, free: 7.973 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.2305/0.4846, allocations: 19.43 MB / 0.5169 GB, free: 65.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004146/0.4888, allocations: 2.954 MB / 0.5198 GB, free: 64.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.49, allocations: 0.8603 MB / 0.5206 GB, free: 64.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.4902, allocations: 32.72 kB / 0.5206 GB, free: 64.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.4902, allocations: 61.08 kB / 0.5207 GB, free: 64.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=227): time 5.31e-06/0.4902, allocations: 0 / 0.5207 GB, free: 64.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=227): time 0.01302/0.5033, allocations: 4.194 MB / 0.5248 GB, free: 63.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.5033, allocations: 104 kB / 0.5249 GB, free: 63.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004388/0.5077, allocations: 2.578 MB / 0.5274 GB, free: 62.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003941/0.5082, allocations: 74.17 kB / 0.5275 GB, free: 62.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009129/0.5091, allocations: 1.294 MB / 0.5287 GB, free: 61.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001013/0.5101, allocations: 0.9065 MB / 0.5296 GB, free: 60.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001847/0.512, allocations: 1.266 MB / 0.5309 GB, free: 60.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.512, allocations: 305.1 kB / 0.5312 GB, free: 59.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002561/0.5146, allocations: 1.818 MB / 0.5329 GB, free: 58.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003015/0.5176, allocations: 2.484 MB / 0.5354 GB, free: 57.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004911/0.5225, allocations: 3.569 MB / 0.5388 GB, free: 55.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.77e-05/0.5226, allocations: 3.875 kB / 0.5388 GB, free: 55.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.01112/0.5337, allocations: 6.157 MB / 0.5449 GB, free: 50.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.5338, allocations: 9.219 kB / 0.5449 GB, free: 50.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/0.5338, allocations: 8.219 kB / 0.5449 GB, free: 50.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005523/0.5394, allocations: 1.084 MB / 0.5459 GB, free: 49.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005373/0.5448, allocations: 1.358 MB / 0.5473 GB, free: 47.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/0.5576, allocations: 10.86 MB / 0.5579 GB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006551/0.5642, allocations: 448 kB / 0.5583 GB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000704/0.5649, allocations: 222.6 kB / 0.5585 GB, free: 35.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 5 (infiniteBus.componentPF.isSlackBus,bus.componentPF.isSlackBus,GRIDL.componentPF.isSlackBus,GEN.componentPF.isSlackBus,GEN.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (851): * Single equations (assignments): 847 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(23,0), (32,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001466/0.5664, allocations: 0.687 MB / 0.5592 GB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007128/0.5671, allocations: 300.4 kB / 0.5595 GB, free: 34.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0041/0.5712, allocations: 2.364 MB / 0.5618 GB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.303e-05/0.5712, allocations: 19.83 kB / 0.5618 GB, free: 32.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.5713, allocations: 0.75 kB / 0.5618 GB, free: 32.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/0.5729, allocations: 0.6609 MB / 0.5624 GB, free: 31.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005518/0.5735, allocations: 40 kB / 0.5625 GB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/0.5756, allocations: 87.94 kB / 0.5626 GB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002822/0.5759, allocations: 169.7 kB / 0.5627 GB, free: 31.54 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00491/0.5808, allocations: 2.412 MB / 0.5651 GB, free: 29.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003787/0.5846, allocations: 2.829 MB / 0.5678 GB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000854/0.5855, allocations: 0.6994 MB / 0.5685 GB, free: 25.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002221/0.5877, allocations: 1.57 MB / 0.5701 GB, free: 24.04 MB / 382.1 MB Notification: Performance of Backend: time 1.102e-06/0.5877, allocations: 0 / 0.5701 GB, free: 24.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01005/0.5978, allocations: 5.043 MB / 0.575 GB, free: 19.02 MB / 382.1 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.008921/0.6068, allocations: 6.706 MB / 0.5815 GB, free: 12.31 MB / 382.1 MB Notification: Performance of Templates: time 0.08602/0.6928, allocations: 70.7 MB / 0.6506 GB, free: 5.539 MB / 446.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe 2>&1)