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.001286/0.001286, allocations: 108 kB / 15.6 MB, free: 128 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.001156/0.001156, allocations: 198 kB / 16.53 MB, free: 6.672 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2507/0.2507, allocations: 16.77 MB / 307.2 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 63.89 kB / 371.8 MB, free: 3.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2704, allocations: 53.55 MB / 425.3 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.01959/0.29, allocations: 33.71 MB / 459 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.3009, allocations: 8.38 MB / 467.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002995/0.3039, allocations: 65.75 kB / 467.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003214/0.3072, allocations: 1.152 MB / 468.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008184/0.3154, allocations: 3.459 MB / 472.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00387/0.3192, allocations: 1.649 MB / 473.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007964/0.3272, allocations: 6.533 MB / 480.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001913/0.3292, allocations: 1.126 MB / 481.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003501/0.3327, allocations: 2.18 MB / 483.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004259/0.337, allocations: 2.332 MB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001175/0.3382, allocations: 303.3 kB / 486.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003369/0.3415, allocations: 0.8217 MB / 487 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.3427, allocations: 0.6926 MB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004573/0.3473, allocations: 2.077 MB / 489.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008598/0.3559, allocations: 5.229 MB / 495 MB, free: 11.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.356, allocations: 1.125 kB / 495 MB, free: 11.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.356, allocations: 0 / 495 MB, free: 11.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001559/0.3561, allocations: 0 / 495 MB, free: 11.49 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.02046/0.3766, allocations: 5.216 MB / 0.4885 GB, free: 8.387 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.3767, allocations: 12.19 kB / 0.4885 GB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005527/0.3822, allocations: 0.8572 MB / 0.4894 GB, free: 7.992 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005949/0.3882, allocations: 2.258 MB / 0.4916 GB, free: 6.242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/0.3884, allocations: 197.3 kB / 0.4918 GB, free: 6.148 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005751/0.389, allocations: 253.3 kB / 0.492 GB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005194/0.3942, allocations: 2.887 MB / 0.4948 GB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.123e-05/0.3943, allocations: 19.81 kB / 0.4948 GB, free: 3.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002877/0.3946, allocations: 112 kB / 0.495 GB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.737e-05/0.3946, allocations: 68 kB / 0.495 GB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003941/0.3986, allocations: 2.292 MB / 0.4973 GB, free: 0.9883 MB / 366.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.02664/0.4252, allocations: 19.44 MB / 0.5162 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004691/0.4299, allocations: 2.957 MB / 0.5191 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.4313, allocations: 0.8556 MB / 0.52 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.4315, allocations: 34.05 kB / 0.52 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/0.4315, allocations: 72.5 kB / 0.5201 GB, free: 8.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=227): time 5.51e-06/0.4316, allocations: 0 / 0.5201 GB, free: 8.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=227): time 0.0137/0.4453, allocations: 4.189 MB / 0.5242 GB, free: 4.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.4453, allocations: 103.1 kB / 0.5243 GB, free: 4.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005659/0.451, allocations: 2.568 MB / 0.5268 GB, free: 1.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003812/0.4514, allocations: 73.7 kB / 0.5268 GB, free: 1.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001358/0.4528, allocations: 1.291 MB / 0.5281 GB, free: 72 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001368/0.4542, allocations: 0.9025 MB / 0.529 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003064/0.4572, allocations: 1.273 MB / 0.5302 GB, free: 13.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.247e-05/0.4574, allocations: 309.1 kB / 0.5305 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003388/0.4607, allocations: 1.818 MB / 0.5323 GB, free: 11.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004121/0.4649, allocations: 2.485 MB / 0.5347 GB, free: 9.152 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006088/0.471, allocations: 3.564 MB / 0.5382 GB, free: 5.453 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.737e-05/0.4711, allocations: 8 kB / 0.5382 GB, free: 5.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.01669/0.4878, allocations: 6.157 MB / 0.5442 GB, free: 15.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.4878, allocations: 8 kB / 0.5442 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/0.4879, allocations: 8 kB / 0.5442 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006019/0.4939, allocations: 1.093 MB / 0.5453 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005822/0.4997, allocations: 1.358 MB / 0.5466 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01578/0.5155, allocations: 10.87 MB / 0.5572 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006259/0.5218, allocations: 440.1 kB / 0.5577 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009972/0.5228, allocations: 224 kB / 0.5579 GB, free: 0.6602 MB / 430.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.002176/0.525, allocations: 0.684 MB / 0.5585 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/0.5262, allocations: 308.3 kB / 0.5588 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004885/0.5311, allocations: 2.365 MB / 0.5612 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/0.5311, allocations: 11.95 kB / 0.5612 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.5312, allocations: 0 / 0.5612 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002334/0.5335, allocations: 0.6609 MB / 0.5618 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/0.5346, allocations: 40 kB / 0.5618 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003027/0.5376, allocations: 95.88 kB / 0.5619 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003771/0.538, allocations: 161.7 kB / 0.5621 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005873/0.5439, allocations: 2.424 MB / 0.5645 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004719/0.5486, allocations: 2.825 MB / 0.5672 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001065/0.5497, allocations: 0.6988 MB / 0.5679 GB, free: 6.305 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002873/0.5526, allocations: 1.566 MB / 0.5694 GB, free: 4.734 MB / 446.1 MB Notification: Performance of Backend: time 5.01e-07/0.5526, allocations: 0 / 0.5694 GB, free: 4.734 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01319/0.5658, allocations: 5.029 MB / 0.5743 GB, free: 15.66 MB / 462.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.009875/0.5757, allocations: 5.475 MB / 0.5797 GB, free: 10.16 MB / 462.1 MB Notification: Performance of Templates: time 0.2452/0.8209, allocations: 48.16 MB / 0.6267 GB, free: 126.9 MB / 462.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)