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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.583/1.583, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08178/0.08178, allocations: 16.95 MB / 326.5 MB, free: 8.605 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ") translateModel(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ") [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 72.66 kB / 456 MB, free: 35.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1395, allocations: 57.71 MB / 0.5017 GB, free: 9.176 MB / 366.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.02104/0.1605, allocations: 17.62 MB / 0.5189 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.1721, allocations: 4.981 MB / 0.5238 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00322/0.1753, allocations: 47.62 kB / 0.5238 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002942/0.1783, allocations: 0.6601 MB / 0.5245 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007471/0.1858, allocations: 2.162 MB / 0.5266 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.1884, allocations: 0.8675 MB / 0.5274 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006006/0.1944, allocations: 3.327 MB / 0.5307 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.1955, allocations: 441.2 kB / 0.5311 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.1979, allocations: 1.16 MB / 0.5322 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002413/0.2003, allocations: 1.151 MB / 0.5334 GB, free: 8.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003626/0.2007, allocations: 152 kB / 0.5335 GB, free: 8.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.2023, allocations: 0.4959 MB / 0.534 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003685/0.2027, allocations: 358.3 kB / 0.5343 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.2042, allocations: 1.061 MB / 0.5354 GB, free: 6.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004363/0.2086, allocations: 2.752 MB / 0.538 GB, free: 3.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2086, allocations: 0 / 0.538 GB, free: 3.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2086, allocations: 0 / 0.538 GB, free: 3.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.884e-05/0.2086, allocations: 0 / 0.538 GB, free: 3.832 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.01028/0.2189, allocations: 2.83 MB / 0.5408 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.2189, allocations: 8.031 kB / 0.5408 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/0.222, allocations: 475.3 kB / 0.5413 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/0.2251, allocations: 1.284 MB / 0.5425 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.691e-05/0.2252, allocations: 94.83 kB / 0.5426 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.2254, allocations: 131.9 kB / 0.5427 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.2278, allocations: 1.46 MB / 0.5442 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.2278, allocations: 7.938 kB / 0.5442 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.228, allocations: 56 kB / 0.5442 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.228, allocations: 36 kB / 0.5443 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.2299, allocations: 1.09 MB / 0.5453 GB, free: 12.07 MB / 414.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.01463/0.2445, allocations: 9.857 MB / 0.555 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.2469, allocations: 1.186 MB / 0.5561 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006097/0.2475, allocations: 360.5 kB / 0.5565 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.078e-05/0.2475, allocations: 25.05 kB / 0.5565 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.52e-05/0.2476, allocations: 47.56 kB / 0.5565 GB, free: 15.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=106): time 2.996e-06/0.2476, allocations: 0 / 0.5565 GB, free: 15.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=106): time 0.005809/0.2534, allocations: 1.901 MB / 0.5584 GB, free: 14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.2535, allocations: 86.11 kB / 0.5585 GB, free: 13.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/0.2561, allocations: 1.432 MB / 0.5599 GB, free: 12.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001856/0.2563, allocations: 49.7 kB / 0.5599 GB, free: 12.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007614/0.257, allocations: 0.7115 MB / 0.5606 GB, free: 11.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006241/0.2576, allocations: 460.5 kB / 0.561 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/0.2587, allocations: 0.633 MB / 0.5617 GB, free: 10.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2588, allocations: 309.1 kB / 0.562 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.2605, allocations: 0.9011 MB / 0.5628 GB, free: 9.375 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.2625, allocations: 1.203 MB / 0.564 GB, free: 8.137 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/0.2653, allocations: 1.695 MB / 0.5657 GB, free: 6.395 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.2653, allocations: 0 / 0.5657 GB, free: 6.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.006048/0.2714, allocations: 3.023 MB / 0.5686 GB, free: 3.348 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.2714, allocations: 10.03 kB / 0.5686 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.2714, allocations: 0 / 0.5686 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003117/0.2745, allocations: 0.5246 MB / 0.5691 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00306/0.2776, allocations: 0.71 MB / 0.5698 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00721/0.2848, allocations: 4.813 MB / 0.5745 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/0.2877, allocations: 222.6 kB / 0.5747 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/0.2879, allocations: 112 kB / 0.5748 GB, free: 12.68 MB / 446.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.000882/0.2888, allocations: 401.2 kB / 0.5752 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003914/0.2892, allocations: 171 kB / 0.5754 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.2919, allocations: 1.169 MB / 0.5765 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.2919, allocations: 7.969 kB / 0.5765 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.2919, allocations: 0 / 0.5765 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008005/0.2927, allocations: 399.8 kB / 0.5769 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.2929, allocations: 16 kB / 0.5769 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.294, allocations: 59.95 kB / 0.577 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.2942, allocations: 76.88 kB / 0.5771 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003092/0.2973, allocations: 1.26 MB / 0.5783 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002227/0.2995, allocations: 1.462 MB / 0.5797 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005314/0.3001, allocations: 319.8 kB / 0.58 GB, free: 7.285 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001445/0.3015, allocations: 0.8868 MB / 0.5809 GB, free: 6.398 MB / 446.1 MB Notification: Performance of Backend: time 6.91e-07/0.3015, allocations: 0 / 0.5809 GB, free: 6.398 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005504/0.307, allocations: 2.208 MB / 0.5831 GB, free: 4.168 MB / 446.1 MB Notification: Performance of SimCode: time 0.004655/0.3117, allocations: 2.92 MB / 0.5859 GB, free: 1.199 MB / 446.1 MB Notification: Performance of Templates: time 0.3109/0.6226, allocations: 26.3 MB / 0.6116 GB, free: 68.14 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.makefile [Timeout 660] (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) [Timeout 50] [Calling sys.exit(0), Time elapsed: 6.371213803009596] Failed to read output from testmodel.py, exit status != 0: 0.6298417660291307 0.638391838 0.42762887000000005 Calling exit ...