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.001024/0.001024, allocations: 114.7 kB / 16.42 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.001064/0.001064, allocations: 185.7 kB / 17.34 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.275/1.275, allocations: 222.9 MB / 241.1 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.07578/0.07578, allocations: 16.78 MB / 308 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.91 kB / 427.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08721/0.08847, allocations: 53.55 MB / 480.8 MB, free: 4.977 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.01577/0.1043, allocations: 17.56 MB / 498.4 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007252/0.1116, allocations: 4.903 MB / 0.4915 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.1127, allocations: 31.88 kB / 0.4915 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.1145, allocations: 0.6562 MB / 0.4922 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004719/0.1193, allocations: 2.185 MB / 0.4943 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.1211, allocations: 0.8567 MB / 0.4951 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003589/0.1247, allocations: 3.325 MB / 0.4984 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008869/0.1256, allocations: 0.5754 MB / 0.499 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.1271, allocations: 1.14 MB / 0.5001 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.1286, allocations: 1.152 MB / 0.5012 GB, free: 4.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002935/0.129, allocations: 151.9 kB / 0.5013 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.13, allocations: 499.8 kB / 0.5018 GB, free: 3.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003154/0.1304, allocations: 354.4 kB / 0.5021 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.1316, allocations: 1.057 MB / 0.5032 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1929/0.3245, allocations: 2.738 MB / 0.5059 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3245, allocations: 0 / 0.5059 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3245, allocations: 0.6562 kB / 0.5059 GB, free: 14.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.032e-05/0.3246, allocations: 3.469 kB / 0.5059 GB, free: 14.1 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.008806/0.3334, allocations: 2.807 MB / 0.5086 GB, free: 13.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3335, allocations: 9.094 kB / 0.5086 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002505/0.336, allocations: 464.9 kB / 0.5091 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.3382, allocations: 1.28 MB / 0.5103 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.3383, allocations: 104.5 kB / 0.5104 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.3384, allocations: 124 kB / 0.5105 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.3402, allocations: 1.462 MB / 0.5119 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.3402, allocations: 7.562 kB / 0.512 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.3404, allocations: 55.12 kB / 0.512 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.3404, allocations: 33.03 kB / 0.512 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.342, allocations: 1.087 MB / 0.5131 GB, free: 11.94 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.009541/0.3515, allocations: 9.853 MB / 0.5227 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.3535, allocations: 1.271 MB / 0.524 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004956/0.354, allocations: 392.2 kB / 0.5243 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.275e-05/0.3541, allocations: 28.89 kB / 0.5244 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.3542, allocations: 45.5 kB / 0.5244 GB, free: 5.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=106): time 2.765e-06/0.3542, allocations: 0 / 0.5244 GB, free: 5.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.004737/0.3589, allocations: 1.91 MB / 0.5263 GB, free: 4.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.359, allocations: 89.17 kB / 0.5264 GB, free: 4.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.3606, allocations: 1.426 MB / 0.5278 GB, free: 3.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.619e-05/0.3607, allocations: 51.45 kB / 0.5278 GB, free: 3.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.3611, allocations: 0.7138 MB / 0.5285 GB, free: 3.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.3614, allocations: 449.5 kB / 0.5289 GB, free: 2.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007736/0.3622, allocations: 0.6374 MB / 0.5295 GB, free: 2.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.003e-05/0.3622, allocations: 302.3 kB / 0.5298 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.3635, allocations: 0.8973 MB / 0.5307 GB, free: 1.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.365, allocations: 1.195 MB / 0.5319 GB, free: 1.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.3671, allocations: 1.699 MB / 0.5335 GB, free: 280 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.3671, allocations: 6.188 kB / 0.5335 GB, free: 276 kB / 382.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005292/0.3724, allocations: 3.081 MB / 0.5366 GB, free: 15.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3724, allocations: 8.656 kB / 0.5366 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.3725, allocations: 2.75 kB / 0.5366 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002736/0.3752, allocations: 0.522 MB / 0.5371 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/0.3776, allocations: 0.7086 MB / 0.5378 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005714/0.3833, allocations: 4.805 MB / 0.5425 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.3857, allocations: 230.8 kB / 0.5427 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/0.3858, allocations: 114.2 kB / 0.5428 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.0006288/0.3865, allocations: 399.3 kB / 0.5432 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/0.3868, allocations: 166 kB / 0.5433 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.389, allocations: 1.174 MB / 0.5445 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.3891, allocations: 9.328 kB / 0.5445 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3891, allocations: 0 / 0.5445 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006146/0.3897, allocations: 395.5 kB / 0.5449 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/0.3899, allocations: 19.75 kB / 0.5449 GB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.391, allocations: 56.86 kB / 0.5449 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.3911, allocations: 84.44 kB / 0.545 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002484/0.3936, allocations: 1.254 MB / 0.5462 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001807/0.3955, allocations: 1.479 MB / 0.5477 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004614/0.3959, allocations: 330.2 kB / 0.548 GB, free: 7.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001142/0.3971, allocations: 0.8946 MB / 0.5489 GB, free: 6.312 MB / 398.1 MB Notification: Performance of Backend: time 2.6e-07/0.3971, allocations: 0 / 0.5489 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004596/0.4017, allocations: 2.451 MB / 0.5513 GB, free: 3.918 MB / 398.1 MB Notification: Performance of SimCode: time 0.003698/0.4054, allocations: 2.929 MB / 0.5541 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of Templates: time 0.03796/0.4434, allocations: 25.64 MB / 0.5792 GB, free: 7.434 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)