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.001193/0.001193, allocations: 108 kB / 15.61 MB, free: 148 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.001159/0.001159, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1652/0.1652, allocations: 16.77 MB / 307.2 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.91 kB / 371.8 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2189, allocations: 53.55 MB / 425.3 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.01773/0.2367, allocations: 33.71 MB / 459.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009044/0.2458, allocations: 8.381 MB / 467.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.2471, allocations: 63.41 kB / 467.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.2489, allocations: 1.15 MB / 468.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.254, allocations: 3.467 MB / 472.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.2564, allocations: 1.638 MB / 473.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0047/0.2612, allocations: 6.532 MB / 480.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.2624, allocations: 1.121 MB / 481.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/0.2647, allocations: 2.187 MB / 483.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.2672, allocations: 2.336 MB / 485.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004072/0.2676, allocations: 298.4 kB / 486.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.2693, allocations: 0.819 MB / 487 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000541/0.2698, allocations: 0.6929 MB / 487.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001904/0.2718, allocations: 2.081 MB / 489.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005271/0.277, allocations: 5.229 MB / 495 MB, free: 11.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2771, allocations: 0 / 495 MB, free: 11.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2771, allocations: 0 / 495 MB, free: 11.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.529e-05/0.2771, allocations: 1.156 kB / 495 MB, free: 11.37 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.01569/0.2928, allocations: 5.217 MB / 0.4885 GB, free: 8.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2929, allocations: 9.438 kB / 0.4885 GB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004286/0.2972, allocations: 0.8573 MB / 0.4894 GB, free: 8.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003614/0.3008, allocations: 2.249 MB / 0.4916 GB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.3009, allocations: 201.5 kB / 0.4918 GB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002952/0.3012, allocations: 254.2 kB / 0.492 GB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003694/0.3049, allocations: 2.894 MB / 0.4948 GB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.413e-05/0.305, allocations: 11.88 kB / 0.4948 GB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002106/0.3052, allocations: 116 kB / 0.495 GB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/0.3053, allocations: 68 kB / 0.495 GB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003227/0.3085, allocations: 2.295 MB / 0.4973 GB, free: 1.02 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.02008/0.3286, allocations: 19.44 MB / 0.5162 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/0.3323, allocations: 2.965 MB / 0.5191 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.3334, allocations: 0.8551 MB / 0.52 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.3336, allocations: 42.05 kB / 0.52 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.3336, allocations: 64.5 kB / 0.5201 GB, free: 8.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=227): time 4.158e-06/0.3336, allocations: 0 / 0.5201 GB, free: 8.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=227): time 0.01086/0.3445, allocations: 4.187 MB / 0.5242 GB, free: 4.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.3445, allocations: 107.1 kB / 0.5243 GB, free: 4.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/0.3476, allocations: 2.568 MB / 0.5268 GB, free: 1.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.3477, allocations: 73.7 kB / 0.5268 GB, free: 1.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008916/0.3486, allocations: 1.288 MB / 0.5281 GB, free: 108 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007948/0.3494, allocations: 0.9064 MB / 0.529 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/0.351, allocations: 1.269 MB / 0.5302 GB, free: 13.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.3511, allocations: 309.1 kB / 0.5305 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002659/0.3538, allocations: 1.818 MB / 0.5323 GB, free: 11.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003168/0.357, allocations: 2.485 MB / 0.5347 GB, free: 9.188 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004682/0.3617, allocations: 3.568 MB / 0.5382 GB, free: 5.484 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.3617, allocations: 4 kB / 0.5382 GB, free: 5.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.009553/0.3713, allocations: 6.153 MB / 0.5442 GB, free: 15.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.3713, allocations: 8 kB / 0.5442 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.3713, allocations: 8 kB / 0.5442 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005426/0.3767, allocations: 1.092 MB / 0.5453 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004558/0.3813, allocations: 1.361 MB / 0.5466 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/0.3941, allocations: 10.87 MB / 0.5572 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004151/0.3982, allocations: 440.1 kB / 0.5577 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003193/0.3986, allocations: 231.9 kB / 0.5579 GB, free: 0.6914 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.001105/0.3997, allocations: 0.6879 MB / 0.5586 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004468/0.4001, allocations: 304.3 kB / 0.5589 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003916/0.4041, allocations: 2.365 MB / 0.5612 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.4041, allocations: 11.95 kB / 0.5612 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4041, allocations: 4 kB / 0.5612 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009767/0.4051, allocations: 0.6609 MB / 0.5618 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003808/0.4055, allocations: 40 kB / 0.5619 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/0.4073, allocations: 91.88 kB / 0.5619 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/0.4075, allocations: 165.7 kB / 0.5621 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004769/0.4123, allocations: 2.416 MB / 0.5645 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003534/0.4159, allocations: 2.829 MB / 0.5672 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000895/0.4168, allocations: 0.6989 MB / 0.5679 GB, free: 6.336 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001881/0.4186, allocations: 1.57 MB / 0.5694 GB, free: 4.762 MB / 446.1 MB Notification: Performance of Backend: time 4.11e-07/0.4187, allocations: 0 / 0.5694 GB, free: 4.762 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008341/0.427, allocations: 5.029 MB / 0.5744 GB, free: 15.69 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.006633/0.4336, allocations: 5.475 MB / 0.5797 GB, free: 10.19 MB / 462.1 MB Notification: Performance of Templates: time 0.1986/0.6322, allocations: 48.15 MB / 0.6267 GB, free: 127 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid.pipe 2>&1)