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.004849/0.004849, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001116/0.001116, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.224/1.224, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1609/0.1609, allocations: 16.76 MB / 307.3 MB, free: 14.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 65.62 kB / 426.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08832/0.08951, allocations: 53.57 MB / 480.2 MB, free: 10.48 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.01259/0.1021, allocations: 17.57 MB / 497.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00736/0.1095, allocations: 4.895 MB / 0.4908 GB, free: 6.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.1108, allocations: 35.81 kB / 0.4909 GB, free: 6.141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.1124, allocations: 0.6556 MB / 0.4915 GB, free: 5.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004401/0.1168, allocations: 2.184 MB / 0.4937 GB, free: 3.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.1185, allocations: 0.8589 MB / 0.4945 GB, free: 2.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003396/0.1219, allocations: 3.316 MB / 0.4977 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007581/0.1227, allocations: 0.5754 MB / 0.4983 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.1241, allocations: 1.136 MB / 0.4994 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.1252, allocations: 1.14 MB / 0.5005 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.1254, allocations: 152 kB / 0.5007 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.1264, allocations: 499.7 kB / 0.5011 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.1267, allocations: 358.3 kB / 0.5015 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009095/0.1276, allocations: 1.053 MB / 0.5025 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002595/0.1302, allocations: 2.741 MB / 0.5052 GB, free: 7.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1302, allocations: 0 / 0.5052 GB, free: 7.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1302, allocations: 0 / 0.5052 GB, free: 7.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.1302, allocations: 0 / 0.5052 GB, free: 7.453 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.007256/0.1375, allocations: 2.763 MB / 0.5079 GB, free: 4.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1376, allocations: 16.02 kB / 0.5079 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/0.1398, allocations: 446.3 kB / 0.5083 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/0.1417, allocations: 1.264 MB / 0.5096 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.117e-05/0.1418, allocations: 98.83 kB / 0.5097 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.142, allocations: 131.9 kB / 0.5098 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.1439, allocations: 1.46 MB / 0.5112 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.1439, allocations: 7.938 kB / 0.5112 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.144, allocations: 56 kB / 0.5113 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.1441, allocations: 39.98 kB / 0.5113 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.1456, 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.01028/0.1559, allocations: 9.844 MB / 0.522 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.1578, allocations: 1.28 MB / 0.5232 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/0.1584, allocations: 392.6 kB / 0.5236 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.981e-05/0.1585, allocations: 21 kB / 0.5236 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.1585, allocations: 47.56 kB / 0.5237 GB, free: 3.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=106): time 4.198e-06/0.1585, allocations: 4.109 kB / 0.5237 GB, free: 3.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.004634/0.1632, allocations: 1.896 MB / 0.5255 GB, free: 1.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.1632, allocations: 90.11 kB / 0.5256 GB, free: 1.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.165, allocations: 1.424 MB / 0.527 GB, free: 76 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.051e-05/0.1651, allocations: 45.7 kB / 0.527 GB, free: 24 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004823/0.1656, allocations: 0.694 MB / 0.5277 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003851/0.166, allocations: 442.4 kB / 0.5281 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007912/0.1668, allocations: 0.6327 MB / 0.5288 GB, free: 14.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.1669, allocations: 305.1 kB / 0.529 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.1682, allocations: 0.905 MB / 0.5299 GB, free: 13.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.1699, allocations: 1.187 MB / 0.5311 GB, free: 11.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.1721, allocations: 1.695 MB / 0.5327 GB, free: 10.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.1722, allocations: 0 / 0.5327 GB, free: 10.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.004898/0.1771, allocations: 3.018 MB / 0.5357 GB, free: 7.023 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1771, allocations: 4 kB / 0.5357 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.1771, allocations: 7.938 kB / 0.5357 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002852/0.18, allocations: 0.5247 MB / 0.5362 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00249/0.1825, allocations: 0.7022 MB / 0.5369 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005594/0.1881, allocations: 4.803 MB / 0.5416 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/0.1904, allocations: 230 kB / 0.5418 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.1906, allocations: 108 kB / 0.5419 GB, free: 380 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.0006558/0.1912, allocations: 400.7 kB / 0.5423 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.1915, allocations: 158.1 kB / 0.5424 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.1937, allocations: 1.188 MB / 0.5436 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.1937, allocations: 3.984 kB / 0.5436 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1937, allocations: 0 / 0.5436 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000553/0.1943, allocations: 386.9 kB / 0.544 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.1944, allocations: 24 kB / 0.544 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009621/0.1954, allocations: 51.95 kB / 0.5441 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.1955, allocations: 80.81 kB / 0.5441 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002379/0.1979, allocations: 1.252 MB / 0.5454 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001761/0.1997, allocations: 1.461 MB / 0.5468 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004246/0.2001, allocations: 331.9 kB / 0.5471 GB, free: 10.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001092/0.2012, allocations: 0.8905 MB / 0.548 GB, free: 10.09 MB / 430.1 MB Notification: Performance of Backend: time 4.11e-07/0.2012, allocations: 0 / 0.548 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004307/0.2055, allocations: 2.453 MB / 0.5504 GB, free: 7.609 MB / 430.1 MB Notification: Performance of SimCode: time 0.003578/0.2091, allocations: 2.887 MB / 0.5532 GB, free: 4.688 MB / 430.1 MB Notification: Performance of Templates: time 0.03766/0.2468, allocations: 25.65 MB / 0.5782 GB, free: 11.05 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)