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.001349/0.001349, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001372/0.001372, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.08548/0.08548, allocations: 16.96 MB / 330.2 MB, free: 2.398 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.001977/0.001977, allocations: 69.72 kB / 461.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.134, allocations: 57.74 MB / 0.5068 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ): time 0.3509/0.4849, allocations: 15.23 MB / 0.5217 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009261/0.4942, allocations: 4.619 MB / 0.5262 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002634/0.4968, allocations: 49.97 kB / 0.5263 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.4996, allocations: 0.6241 MB / 0.5269 GB, free: 6.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007823/0.5074, allocations: 2.116 MB / 0.5289 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.51, allocations: 0.843 MB / 0.5298 GB, free: 4.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006398/0.5164, allocations: 3.329 MB / 0.533 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.5182, allocations: 0.8039 MB / 0.5338 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002534/0.5207, allocations: 1.168 MB / 0.5349 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/0.5232, allocations: 1.136 MB / 0.536 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004078/0.5236, allocations: 148.8 kB / 0.5362 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.5255, allocations: 0.5039 MB / 0.5367 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000352/0.5259, allocations: 355.4 kB / 0.537 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001418/0.5273, allocations: 0.8683 MB / 0.5379 GB, free: 16 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005831/0.5331, allocations: 2.774 MB / 0.5406 GB, free: 14.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5331, allocations: 0 / 0.5406 GB, free: 14.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5331, allocations: 0 / 0.5406 GB, free: 14.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.271e-05/0.5332, allocations: 1.344 kB / 0.5406 GB, free: 14.91 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.01053/0.5437, allocations: 2.758 MB / 0.5433 GB, free: 13.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.5438, allocations: 8.562 kB / 0.5433 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003475/0.5473, allocations: 475.2 kB / 0.5437 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003655/0.5509, allocations: 1.204 MB / 0.5449 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.551, allocations: 99.95 kB / 0.545 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.5512, allocations: 128.8 kB / 0.5451 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002943/0.5541, allocations: 1.767 MB / 0.5468 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.5542, allocations: 8.062 kB / 0.5469 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.5543, allocations: 56.25 kB / 0.5469 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.5543, allocations: 37.09 kB / 0.5469 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.5564, allocations: 1.083 MB / 0.548 GB, free: 10.06 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.01522/0.5716, allocations: 7.847 MB / 0.5557 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.5739, allocations: 0.9607 MB / 0.5566 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006772/0.5746, allocations: 351.8 kB / 0.5569 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.599e-05/0.5747, allocations: 17.86 kB / 0.557 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.227e-05/0.5748, allocations: 50.28 kB / 0.557 GB, free: 2.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=106): time 3.968e-06/0.5748, allocations: 0 / 0.557 GB, free: 2.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.005804/0.5806, allocations: 1.733 MB / 0.5587 GB, free: 1.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.5806, allocations: 88.52 kB / 0.5588 GB, free: 1.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002863/0.5835, allocations: 1.319 MB / 0.5601 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002328/0.5837, allocations: 47.86 kB / 0.5601 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009185/0.5846, allocations: 0.7372 MB / 0.5608 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009698/0.5856, allocations: 454 kB / 0.5613 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/0.5871, allocations: 0.6145 MB / 0.5619 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003235/0.5874, allocations: 308.9 kB / 0.5622 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.5892, allocations: 0.8853 MB / 0.563 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.591, allocations: 1.164 MB / 0.5642 GB, free: 13.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/0.594, allocations: 1.67 MB / 0.5658 GB, free: 12.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.594, allocations: 1.375 kB / 0.5658 GB, free: 12.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=437) (initialization): time 0.006475/0.6005, allocations: 2.965 MB / 0.5687 GB, free: 10.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.6005, allocations: 8 kB / 0.5687 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.6005, allocations: 1.672 kB / 0.5687 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003073/0.6036, allocations: 0.5246 MB / 0.5692 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/0.6066, allocations: 0.6943 MB / 0.5699 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007849/0.6144, allocations: 4.47 MB / 0.5743 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003829/0.6183, allocations: 215.5 kB / 0.5745 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002873/0.6186, allocations: 108 kB / 0.5746 GB, free: 4.168 MB / 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 (417): * Single equations (assignments): 415 * 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.001155/0.6197, allocations: 413.1 kB / 0.575 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005533/0.6203, allocations: 155.1 kB / 0.5751 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003176/0.6234, allocations: 1.155 MB / 0.5762 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.6235, allocations: 7.969 kB / 0.5762 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.6235, allocations: 7.875 kB / 0.5762 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.6246, allocations: 302.8 kB / 0.5765 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/0.6248, allocations: 16 kB / 0.5766 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.626, allocations: 64.78 kB / 0.5766 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.6261, allocations: 80.77 kB / 0.5767 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002953/0.6291, allocations: 1.242 MB / 0.5779 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002465/0.6316, allocations: 1.468 MB / 0.5793 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005727/0.6321, allocations: 315.3 kB / 0.5796 GB, free: 14.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001517/0.6337, allocations: 0.8218 MB / 0.5804 GB, free: 14.09 MB / 430.1 MB Notification: Performance of Backend: time 9.41e-07/0.6337, allocations: 0 / 0.5804 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006374/0.64, allocations: 2.155 MB / 0.5825 GB, free: 11.91 MB / 430.1 MB Notification: Performance of SimCode: time 0.005138/0.6452, allocations: 2.928 MB / 0.5854 GB, free: 8.957 MB / 430.1 MB Notification: Performance of Templates: time 0.05325/0.6984, allocations: 29.07 MB / 0.6138 GB, free: 12.07 MB / 462.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.311525392928161] Failed to read output from testmodel.py, exit status != 0: 0.7081014110008255 0.7316176409999999 0.193559261 Calling exit ...