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.001839/0.001839, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002324/0.002324, allocations: 218.3 kB / 23 MB, free: 4.914 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.08321/0.08321, allocations: 16.92 MB / 330.1 MB, free: 2.422 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.002138/0.002138, allocations: 59.91 kB / 461.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1144, allocations: 57.74 MB / 0.5067 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ): time 0.2343/0.3487, allocations: 12.57 MB / 0.519 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007361/0.356, allocations: 4.405 MB / 0.5233 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.3582, allocations: 41.94 kB / 0.5233 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.3604, allocations: 0.5872 MB / 0.5239 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005499/0.3659, allocations: 2.089 MB / 0.526 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.3677, allocations: 0.7185 MB / 0.5267 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004167/0.3719, allocations: 3.227 MB / 0.5298 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.3732, allocations: 0.7777 MB / 0.5306 GB, free: 4.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.3755, allocations: 1.125 MB / 0.5317 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.3775, allocations: 1.007 MB / 0.5327 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003339/0.3778, allocations: 145.7 kB / 0.5328 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.3794, allocations: 472.8 kB / 0.5332 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.3797, allocations: 348.5 kB / 0.5336 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.3807, allocations: 0.8311 MB / 0.5344 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003679/0.3844, allocations: 2.664 MB / 0.537 GB, free: 1.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.3844, allocations: 4 kB / 0.537 GB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3844, allocations: 0 / 0.537 GB, free: 1.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.037e-05/0.3845, allocations: 1.094 kB / 0.537 GB, free: 1.289 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.008674/0.3931, allocations: 2.627 MB / 0.5396 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.3932, allocations: 13.69 kB / 0.5396 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003017/0.3962, allocations: 465.2 kB / 0.54 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/0.3993, allocations: 1.171 MB / 0.5412 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-05/0.3994, allocations: 97.27 kB / 0.5413 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.3995, allocations: 120.3 kB / 0.5414 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/0.4021, allocations: 1.713 MB / 0.543 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.4021, allocations: 7.281 kB / 0.5431 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.4023, allocations: 56 kB / 0.5431 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.4023, allocations: 32.53 kB / 0.5431 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.404, allocations: 1.009 MB / 0.5441 GB, free: 12.96 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.01233/0.4163, allocations: 7.722 MB / 0.5517 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.4176, allocations: 0.6305 MB / 0.5523 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/0.4181, allocations: 293 kB / 0.5526 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.033e-05/0.4182, allocations: 18.55 kB / 0.5526 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/0.4182, allocations: 49 kB / 0.5526 GB, free: 5.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=88): time 3.256e-06/0.4182, allocations: 0 / 0.5526 GB, free: 5.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.003122/0.4214, allocations: 1.144 MB / 0.5537 GB, free: 4.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.4214, allocations: 90.61 kB / 0.5538 GB, free: 4.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.4236, allocations: 1.415 MB / 0.5552 GB, free: 4.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.4238, allocations: 46.42 kB / 0.5553 GB, free: 3.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007305/0.4245, allocations: 0.7726 MB / 0.556 GB, free: 3.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004978/0.425, allocations: 381.9 kB / 0.5564 GB, free: 2.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009936/0.426, allocations: 0.6267 MB / 0.557 GB, free: 2.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.4262, allocations: 354.7 kB / 0.5573 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.4278, allocations: 0.8645 MB / 0.5582 GB, free: 1.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.4296, allocations: 1.147 MB / 0.5593 GB, free: 1.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.4322, allocations: 1.604 MB / 0.5609 GB, free: 224 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.4322, allocations: 1.125 kB / 0.5609 GB, free: 224 kB / 398.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005141/0.4373, allocations: 2.785 MB / 0.5636 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.4373, allocations: 6.594 kB / 0.5636 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.4373, allocations: 2.625 kB / 0.5636 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.4387, allocations: 244 kB / 0.5638 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/0.4414, allocations: 0.6749 MB / 0.5645 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004976/0.4464, allocations: 5.298 MB / 0.5696 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003421/0.4498, allocations: 218.9 kB / 0.5699 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/0.45, allocations: 108.7 kB / 0.57 GB, free: 8.598 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 (430): * Single equations (assignments): 426 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000873/0.4509, allocations: 397.6 kB / 0.5703 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/0.4513, allocations: 155 kB / 0.5705 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.4531, allocations: 0.8804 MB / 0.5713 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.4531, allocations: 3.984 kB / 0.5714 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.4531, allocations: 4 kB / 0.5714 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008636/0.454, allocations: 294.8 kB / 0.5716 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.4542, allocations: 16 kB / 0.5717 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.4553, allocations: 55.58 kB / 0.5717 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4554, allocations: 56.27 kB / 0.5718 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001891/0.4573, allocations: 0.9432 MB / 0.5727 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001939/0.4593, allocations: 1.336 MB / 0.574 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004559/0.4597, allocations: 263.4 kB / 0.5742 GB, free: 4.156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001343/0.4611, allocations: 0.8657 MB / 0.5751 GB, free: 3.289 MB / 414.1 MB Notification: Performance of Backend: time 4.31e-07/0.4611, allocations: 0 / 0.5751 GB, free: 3.289 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004741/0.4658, allocations: 2.05 MB / 0.5771 GB, free: 1.184 MB / 414.1 MB Notification: Performance of SimCode: time 0.00475/0.4706, allocations: 2.961 MB / 0.58 GB, free: 14.18 MB / 430.1 MB Notification: Performance of Templates: time 0.04972/0.5203, allocations: 36.98 MB / 0.6161 GB, free: 9.191 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.HowToBuild.Examples.TestLoadPQ.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.273629569914192] Failed to read output from testmodel.py, exit status != 0: 0.5291774808429182 0.5440446840000001 0.156253983 Calling exit ...