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.00128/0.00128, allocations: 111.7 kB / 16.42 MB, free: 6.496 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.001019/0.001019, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07491/0.07491, allocations: 16.77 MB / 308 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.91 kB / 427.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08189/0.08306, allocations: 53.56 MB / 480.8 MB, free: 4.945 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter GEN.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter GEN.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter GRIDL.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter GRIDL.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:4:3-5:21:writable] Warning: Parameter line.componentPF.UNomA has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:8:3-9:21:writable] Warning: Parameter line.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter bus.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter bus.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter infiniteBus.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter infiniteBus.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.SimpleGrid): time 0.02846/0.1116, allocations: 33.73 MB / 0.5025 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1953/0.3069, allocations: 8.349 MB / 0.5107 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/0.3094, allocations: 66.44 kB / 0.5107 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.312, allocations: 1.153 MB / 0.5118 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00778/0.3198, allocations: 3.667 MB / 0.5154 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.3231, allocations: 1.638 MB / 0.517 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007349/0.3304, allocations: 6.577 MB / 0.5235 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.3321, allocations: 1.125 MB / 0.5245 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003189/0.3353, allocations: 2.233 MB / 0.5267 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002899/0.3382, allocations: 2.335 MB / 0.529 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005243/0.3387, allocations: 298.8 kB / 0.5293 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002151/0.3409, allocations: 0.8239 MB / 0.5301 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004425/0.3413, allocations: 0.6915 MB / 0.5308 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002334/0.3437, allocations: 2.081 MB / 0.5328 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005518/0.3492, allocations: 5.329 MB / 0.538 GB, free: 15.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3492, allocations: 4 kB / 0.538 GB, free: 15.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3492, allocations: 1.375 kB / 0.538 GB, free: 15.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.896e-05/0.3493, allocations: 0 / 0.538 GB, free: 15.32 MB / 398.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.0159/0.3652, allocations: 5.296 MB / 0.5432 GB, free: 11.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.3653, allocations: 8.719 kB / 0.5432 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004506/0.3698, allocations: 0.8751 MB / 0.5441 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004005/0.3738, allocations: 2.335 MB / 0.5463 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.3739, allocations: 193.9 kB / 0.5465 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/0.3742, allocations: 260.1 kB / 0.5468 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003931/0.3782, allocations: 2.896 MB / 0.5496 GB, free: 6.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.755e-05/0.3782, allocations: 15.81 kB / 0.5496 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002108/0.3785, allocations: 112 kB / 0.5497 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.835e-05/0.3785, allocations: 64 kB / 0.5498 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003562/0.3821, allocations: 2.295 MB / 0.552 GB, free: 3.793 MB / 398.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.0221/0.4042, allocations: 19.39 MB / 0.571 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004036/0.4083, allocations: 2.957 MB / 0.5738 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.4095, allocations: 0.8581 MB / 0.5747 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.4096, allocations: 37.11 kB / 0.5747 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.4097, allocations: 56.56 kB / 0.5748 GB, free: 11.37 MB / 430.1 MB Notification: Performance of pre-optimization done (n=227): time 4.038e-06/0.4097, allocations: 0 / 0.5748 GB, free: 11.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.01221/0.4219, allocations: 4.211 MB / 0.5789 GB, free: 7.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.422, allocations: 99.11 kB / 0.579 GB, free: 7.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003383/0.4254, allocations: 2.585 MB / 0.5815 GB, free: 4.406 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002068/0.4256, allocations: 69.7 kB / 0.5816 GB, free: 4.332 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009792/0.4266, allocations: 1.332 MB / 0.5829 GB, free: 3.016 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009005/0.4275, allocations: 0.94 MB / 0.5838 GB, free: 2.086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/0.4292, allocations: 1.269 MB / 0.585 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4293, allocations: 305.1 kB / 0.5853 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002917/0.4323, allocations: 1.824 MB / 0.5871 GB, free: 14.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003433/0.4357, allocations: 2.493 MB / 0.5895 GB, free: 12.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005095/0.4408, allocations: 3.564 MB / 0.593 GB, free: 8.379 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.4408, allocations: 0 / 0.593 GB, free: 8.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.01069/0.4515, allocations: 6.182 MB / 0.599 GB, free: 2.156 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.4516, allocations: 12 kB / 0.5991 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.4516, allocations: 8 kB / 0.5991 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006017/0.4577, allocations: 1.087 MB / 0.6001 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00516/0.4628, allocations: 1.357 MB / 0.6015 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01512/0.478, allocations: 10.85 MB / 0.6121 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005848/0.4838, allocations: 469 kB / 0.6125 GB, free: 3.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006099/0.4845, allocations: 224 kB / 0.6127 GB, free: 3.602 MB / 462.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.0013/0.4858, allocations: 0.68 MB / 0.6134 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006573/0.4864, allocations: 318.1 kB / 0.6137 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004528/0.491, allocations: 2.364 MB / 0.616 GB, free: 220 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.491, allocations: 15.95 kB / 0.616 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.491, allocations: 0 / 0.616 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/0.4923, allocations: 0.6749 MB / 0.6167 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004978/0.4928, allocations: 40 kB / 0.6167 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/0.4949, allocations: 91.67 kB / 0.6168 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00029/0.4952, allocations: 169.7 kB / 0.617 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00554/0.5008, allocations: 2.411 MB / 0.6193 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004264/0.5051, allocations: 2.835 MB / 0.6221 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001027/0.5061, allocations: 0.7028 MB / 0.6228 GB, free: 9.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002533/0.5087, allocations: 1.566 MB / 0.6243 GB, free: 7.699 MB / 478.1 MB Notification: Performance of Backend: time 4.8e-07/0.5087, allocations: 0 / 0.6243 GB, free: 7.699 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01079/0.5195, allocations: 5.056 MB / 0.6292 GB, free: 2.633 MB / 478.1 MB Notification: Performance of SimCode: time 0.008558/0.528, allocations: 5.512 MB / 0.6346 GB, free: 13.1 MB / 494.1 MB Notification: Performance of Templates: time 0.07406/0.6021, allocations: 45.58 MB / 0.6791 GB, free: 15.68 MB / 0.5294 GB 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)