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.001645/0.001645, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001896/0.001896, allocations: 187 kB / 17.34 MB, free: 5.762 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.335/1.335, 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.07423/0.07423, allocations: 16.77 MB / 308 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 427.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1036, 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 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.01485/0.1185, allocations: 17.55 MB / 498.4 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007796/0.1263, allocations: 4.907 MB / 0.4915 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.1281, allocations: 31.81 kB / 0.4915 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002002/0.1301, allocations: 0.6514 MB / 0.4922 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00529/0.1354, allocations: 2.078 MB / 0.4942 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.1375, allocations: 0.8611 MB / 0.495 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004599/0.1422, allocations: 3.319 MB / 0.4983 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.1432, allocations: 0.5715 MB / 0.4988 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.1451, allocations: 1.132 MB / 0.4999 GB, free: 5.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.1467, allocations: 1.152 MB / 0.5011 GB, free: 4.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002601/0.147, allocations: 151.9 kB / 0.5012 GB, free: 4.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.1482, allocations: 491.8 kB / 0.5017 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.1485, allocations: 362.3 kB / 0.502 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.1495, allocations: 1.061 MB / 0.5031 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2646/0.4141, allocations: 2.731 MB / 0.5057 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.4141, allocations: 1.531 kB / 0.5057 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4142, allocations: 0.7969 kB / 0.5057 GB, free: 14.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.786e-05/0.4142, allocations: 0 / 0.5057 GB, free: 14.09 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.009841/0.4241, allocations: 2.754 MB / 0.5084 GB, free: 13.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.4242, allocations: 9.031 kB / 0.5084 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002795/0.427, allocations: 445.8 kB / 0.5089 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/0.4297, allocations: 1.27 MB / 0.5101 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.968e-05/0.4298, allocations: 102.5 kB / 0.5102 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.4299, allocations: 129.3 kB / 0.5103 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.4322, allocations: 1.462 MB / 0.5117 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/0.4323, allocations: 12.28 kB / 0.5118 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.4324, allocations: 56.31 kB / 0.5118 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.4324, allocations: 36.69 kB / 0.5118 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.4342, allocations: 1.077 MB / 0.5129 GB, free: 12.09 MB / 382.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.01247/0.4466, allocations: 9.848 MB / 0.5225 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/0.4491, allocations: 1.275 MB / 0.5238 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006003/0.4497, allocations: 394 kB / 0.5241 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.958e-05/0.4498, allocations: 23.41 kB / 0.5242 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.4498, allocations: 51.55 kB / 0.5242 GB, free: 5.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=106): time 4.778e-06/0.4498, allocations: 1.453 kB / 0.5242 GB, free: 5.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.005404/0.4552, allocations: 1.904 MB / 0.5261 GB, free: 4.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.4553, allocations: 87.64 kB / 0.5261 GB, free: 4.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.4575, allocations: 1.417 MB / 0.5275 GB, free: 3.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.4577, allocations: 48.41 kB / 0.5276 GB, free: 3.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005919/0.4583, allocations: 0.696 MB / 0.5283 GB, free: 3.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005162/0.4589, allocations: 440.3 kB / 0.5287 GB, free: 2.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000892/0.4598, allocations: 0.6295 MB / 0.5293 GB, free: 2.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.4598, allocations: 312.4 kB / 0.5296 GB, free: 2.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.4612, allocations: 0.8951 MB / 0.5305 GB, free: 1.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.4628, allocations: 1.192 MB / 0.5316 GB, free: 1.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/0.4651, allocations: 1.706 MB / 0.5333 GB, free: 448 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.4651, allocations: 1.031 kB / 0.5333 GB, free: 448 kB / 382.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005453/0.4706, allocations: 3.025 MB / 0.5362 GB, free: 15.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.4706, allocations: 5.938 kB / 0.5363 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.4707, allocations: 3.062 kB / 0.5363 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002751/0.4734, allocations: 0.5201 MB / 0.5368 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/0.4761, allocations: 0.7137 MB / 0.5375 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006112/0.4822, allocations: 4.791 MB / 0.5421 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/0.4854, allocations: 234.5 kB / 0.5424 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/0.4857, allocations: 108.5 kB / 0.5425 GB, free: 11.21 MB / 398.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.0008934/0.4866, allocations: 400.4 kB / 0.5429 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003625/0.4869, allocations: 157.2 kB / 0.543 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.4893, allocations: 1.173 MB / 0.5441 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.4893, allocations: 8.719 kB / 0.5442 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.4893, allocations: 10.28 kB / 0.5442 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007255/0.4901, allocations: 388.5 kB / 0.5445 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.4903, allocations: 18.88 kB / 0.5446 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.4914, allocations: 52.94 kB / 0.5446 GB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.4915, allocations: 77.69 kB / 0.5447 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002513/0.494, allocations: 1.25 MB / 0.5459 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001903/0.496, allocations: 1.471 MB / 0.5473 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004528/0.4964, allocations: 331.5 kB / 0.5476 GB, free: 7.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001264/0.4977, allocations: 0.8907 MB / 0.5485 GB, free: 6.387 MB / 398.1 MB Notification: Performance of Backend: time 9.42e-07/0.4977, allocations: 0 / 0.5485 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005278/0.503, allocations: 2.439 MB / 0.5509 GB, free: 4 MB / 398.1 MB Notification: Performance of SimCode: time 0.004881/0.5079, allocations: 3.81 MB / 0.5546 GB, free: 172 kB / 398.1 MB Notification: Performance of Templates: time 0.03807/0.546, allocations: 30.43 MB / 0.5843 GB, free: 1.762 MB / 430.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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe 2>&1)