Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.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.TestLoadPQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004811/0.004811, allocations: 102.7 kB / 15.74 MB, free: 6.5 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.001246/0.001246, allocations: 199 kB / 16.68 MB, free: 6.375 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.164/0.164, allocations: 16.77 MB / 307.3 MB, free: 14.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001143, allocations: 73.27 kB / 426.6 MB, free: 36.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07421/0.07537, allocations: 53.57 MB / 480.2 MB, free: 10.39 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 LOAD1.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 LOAD1.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 BUSINF.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 BUSINF.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 LOAD2.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 LOAD2.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.TestLoadPQ): time 0.01177/0.08717, allocations: 17.56 MB / 497.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007088/0.09428, allocations: 4.907 MB / 0.4908 GB, free: 6.262 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.09591, allocations: 27.88 kB / 0.4909 GB, free: 6.234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.09784, allocations: 0.6484 MB / 0.4915 GB, free: 5.582 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004967/0.1028, allocations: 2.198 MB / 0.4937 GB, free: 3.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.1046, allocations: 0.8518 MB / 0.4945 GB, free: 2.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003432/0.108, allocations: 3.323 MB / 0.4977 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007785/0.1088, allocations: 0.5832 MB / 0.4983 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.1101, allocations: 1.132 MB / 0.4994 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.1112, allocations: 1.144 MB / 0.5005 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.1114, allocations: 148 kB / 0.5007 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009919/0.1124, allocations: 0.4958 MB / 0.5012 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.1126, allocations: 354.4 kB / 0.5015 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008376/0.1135, allocations: 1.057 MB / 0.5025 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002524/0.116, allocations: 2.74 MB / 0.5052 GB, free: 7.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.116, allocations: 4 kB / 0.5052 GB, free: 7.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.116, allocations: 0 / 0.5052 GB, free: 7.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.1161, allocations: 0 / 0.5052 GB, free: 7.527 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.007368/0.1234, allocations: 2.824 MB / 0.508 GB, free: 4.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1235, allocations: 8.031 kB / 0.508 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/0.1257, allocations: 455.4 kB / 0.5084 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.1276, allocations: 1.273 MB / 0.5096 GB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.791e-05/0.1277, allocations: 98.83 kB / 0.5097 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.1278, allocations: 127.9 kB / 0.5099 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.1296, allocations: 1.464 MB / 0.5113 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.1297, allocations: 11.94 kB / 0.5113 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.1298, allocations: 56 kB / 0.5114 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.1298, allocations: 32 kB / 0.5114 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.1313, allocations: 1.082 MB / 0.5124 GB, free: 15.79 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.009477/0.1408, allocations: 9.861 MB / 0.5221 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.1426, allocations: 1.273 MB / 0.5233 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/0.1431, allocations: 396.7 kB / 0.5237 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.717e-05/0.1432, allocations: 20.94 kB / 0.5237 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1432, allocations: 47.56 kB / 0.5238 GB, free: 3.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=106): time 5.671e-06/0.1432, allocations: 3.984 kB / 0.5238 GB, free: 3.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.00449/0.1477, allocations: 1.912 MB / 0.5256 GB, free: 1.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.1478, allocations: 90.11 kB / 0.5257 GB, free: 1.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.1493, allocations: 1.42 MB / 0.5271 GB, free: 56 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.052e-05/0.1494, allocations: 49.7 kB / 0.5271 GB, free: 0 / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004648/0.1499, allocations: 0.7115 MB / 0.5278 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003316/0.1502, allocations: 456.5 kB / 0.5283 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007451/0.1509, allocations: 0.6369 MB / 0.5289 GB, free: 14.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.585e-05/0.151, allocations: 317 kB / 0.5292 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.1523, allocations: 0.8933 MB / 0.5301 GB, free: 12.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.1538, allocations: 1.195 MB / 0.5312 GB, free: 11.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.156, allocations: 1.691 MB / 0.5329 GB, free: 10.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.156, allocations: 0 / 0.5329 GB, free: 10.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.004513/0.1605, allocations: 3.031 MB / 0.5359 GB, free: 6.953 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1605, allocations: 4 kB / 0.5359 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.1606, allocations: 4 kB / 0.5359 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002774/0.1633, allocations: 0.5286 MB / 0.5364 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002426/0.1658, allocations: 0.706 MB / 0.5371 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00533/0.1711, allocations: 4.799 MB / 0.5418 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/0.1731, allocations: 234.5 kB / 0.542 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.1733, allocations: 108 kB / 0.5421 GB, free: 304 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 (LOAD2.componentPF.isSlackBus,BUSINF.componentPF.isSlackBus,LOAD1.componentPF.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (429): * Single equations (assignments): 427 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(8,0), (14,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0005708/0.1739, allocations: 405.3 kB / 0.5425 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.1741, allocations: 167 kB / 0.5426 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.1763, allocations: 1.18 MB / 0.5438 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.1763, allocations: 3.984 kB / 0.5438 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1763, allocations: 7.984 kB / 0.5438 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/0.1768, allocations: 395.8 kB / 0.5442 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.177, allocations: 16 kB / 0.5442 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.1781, allocations: 55.95 kB / 0.5442 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.1782, allocations: 76.81 kB / 0.5443 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002415/0.1806, allocations: 1.26 MB / 0.5455 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001689/0.1823, allocations: 1.477 MB / 0.547 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004154/0.1827, allocations: 331.9 kB / 0.5473 GB, free: 10.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001035/0.1838, allocations: 0.8868 MB / 0.5482 GB, free: 9.977 MB / 430.1 MB Notification: Performance of Backend: time 5.71e-07/0.1838, allocations: 0 / 0.5482 GB, free: 9.977 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004126/0.1879, allocations: 2.441 MB / 0.5505 GB, free: 7.508 MB / 430.1 MB Notification: Performance of SimCode: time 0.003282/0.1912, allocations: 2.935 MB / 0.5534 GB, free: 4.535 MB / 430.1 MB Notification: Performance of Templates: time 0.0335/0.2247, allocations: 25.65 MB / 0.5785 GB, free: 10.9 MB / 462.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe 2>&1)