Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.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.001323/0.001323, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001443/0.001443, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 8.016 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.07912/0.07912, allocations: 16.95 MB / 329.4 MB, free: 2.68 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.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") translateModel(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") [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.001959/0.001959, allocations: 67.91 kB / 460.5 MB, free: 1.973 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1031, allocations: 57.74 MB / 0.5061 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.2045/0.3076, allocations: 28.84 MB / 0.5343 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.3219, allocations: 8.258 MB / 0.5423 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003471/0.3254, allocations: 77.06 kB / 0.5424 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00313/0.3285, allocations: 1.077 MB / 0.5435 GB, free: 8.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.3389, allocations: 3.706 MB / 0.5471 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003478/0.3423, allocations: 1.421 MB / 0.5485 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008929/0.3513, allocations: 6.488 MB / 0.5548 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006816/0.3519, allocations: 273.8 kB / 0.5551 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00367/0.3556, allocations: 2.225 MB / 0.5572 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003636/0.3592, allocations: 2.384 MB / 0.5596 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.3603, allocations: 255.9 kB / 0.5598 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003911/0.3642, allocations: 0.7586 MB / 0.5606 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007838/0.365, allocations: 0.6609 MB / 0.5612 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003431/0.3684, allocations: 2.072 MB / 0.5632 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0068/0.3752, allocations: 4.737 MB / 0.5678 GB, free: 9.562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3752, allocations: 0 / 0.5678 GB, free: 9.562 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3752, allocations: 0 / 0.5678 GB, free: 9.562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.795e-05/0.3753, allocations: 1.406 kB / 0.5678 GB, free: 9.562 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 664 * Number of variables: 664 Notification: Performance of Generate backend data structure: time 0.01991/0.3952, allocations: 6.024 MB / 0.5737 GB, free: 5.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3952, allocations: 8.031 kB / 0.5737 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/0.3982, allocations: 0.5967 MB / 0.5743 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004486/0.4027, allocations: 2.108 MB / 0.5764 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.4029, allocations: 201.6 kB / 0.5766 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003181/0.4032, allocations: 272.4 kB / 0.5768 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004533/0.4077, allocations: 3.176 MB / 0.5799 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.714e-05/0.4078, allocations: 22.02 kB / 0.58 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/0.408, allocations: 124 kB / 0.5801 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.324e-05/0.4081, allocations: 72 kB / 0.5801 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003997/0.4121, allocations: 2.537 MB / 0.5826 GB, free: 11.76 MB / 430.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.02388/0.436, allocations: 20.45 MB / 0.6026 GB, free: 6.371 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003911/0.4399, allocations: 2.195 MB / 0.6047 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.4413, allocations: 0.8349 MB / 0.6055 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.4415, allocations: 51.03 kB / 0.6056 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.496e-05/0.4415, allocations: 60.56 kB / 0.6057 GB, free: 3.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=252): time 4.479e-06/0.4415, allocations: 3.938 kB / 0.6057 GB, free: 3.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.02045/0.462, allocations: 5.804 MB / 0.6113 GB, free: 13.42 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.462, allocations: 81.41 kB / 0.6114 GB, free: 13.33 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004759/0.4668, allocations: 2.954 MB / 0.6143 GB, free: 10.37 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003264/0.4671, allocations: 77.7 kB / 0.6144 GB, free: 10.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/0.4685, allocations: 1.448 MB / 0.6158 GB, free: 8.828 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001399/0.4699, allocations: 1.054 MB / 0.6168 GB, free: 7.766 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002195/0.4721, allocations: 1.525 MB / 0.6183 GB, free: 6.227 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4723, allocations: 301.1 kB / 0.6186 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003444/0.4757, allocations: 2.078 MB / 0.6206 GB, free: 3.844 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004234/0.4799, allocations: 2.752 MB / 0.6233 GB, free: 1.012 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006742/0.4867, allocations: 3.979 MB / 0.6272 GB, free: 12.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.261e-05/0.4867, allocations: 4 kB / 0.6272 GB, free: 12.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01405/0.5008, allocations: 6.982 MB / 0.634 GB, free: 5.836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.5008, allocations: 8 kB / 0.634 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.682e-05/0.5008, allocations: 4 kB / 0.634 GB, free: 5.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002718/0.5035, allocations: 0.9301 MB / 0.6349 GB, free: 4.887 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006676/0.5102, allocations: 1.595 MB / 0.6365 GB, free: 3.289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/0.5219, allocations: 6.871 MB / 0.6432 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006209/0.5281, allocations: 0.5628 MB / 0.6437 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006943/0.5288, allocations: 260 kB / 0.644 GB, free: 11.48 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 7 (bus.isSlackBus,slack.isSlackBus,load4.isSlackBus,load3.isSlackBus,load2.isSlackBus,load1.isSlackBus,bus2.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1034): * Single equations (assignments): 1032 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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): 1 system {(8,56)} Notification: Performance of prepare postOptimizeDAE: time 0.001485/0.5303, allocations: 0.6811 MB / 0.6447 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007542/0.531, allocations: 353.8 kB / 0.645 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005491/0.5365, allocations: 2.655 MB / 0.6476 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.5366, allocations: 24 kB / 0.6476 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5366, allocations: 0 / 0.6476 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-05/0.5366, allocations: 11.95 kB / 0.6476 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.5468, allocations: 5.491 MB / 0.653 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.5468, allocations: 7.938 kB / 0.653 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.548, allocations: 311.5 kB / 0.6533 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002412/0.5505, allocations: 0.7464 MB / 0.654 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.5506, allocations: 39.98 kB / 0.6541 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.5613, allocations: 6.658 MB / 0.6606 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5613, allocations: 160 / 0.6606 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006096/0.5674, allocations: 2.745 MB / 0.6632 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002577/0.57, allocations: 0.6456 MB / 0.6639 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000912/0.5709, allocations: 36 kB / 0.6639 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002627/0.5735, allocations: 107.9 kB / 0.664 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000322/0.5738, allocations: 165.6 kB / 0.6642 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/0.574, allocations: 83.97 kB / 0.6642 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002775/0.5768, allocations: 1.766 MB / 0.666 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5768, allocations: 4 kB / 0.666 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004555/0.5813, allocations: 1.621 MB / 0.6676 GB, free: 3.059 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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): 1 system {(8,56)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005831/0.5819, allocations: 311.3 kB / 0.6679 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00862/0.5905, allocations: 4.373 MB / 0.6721 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.5905, allocations: 8.25 kB / 0.6721 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002728/0.5933, allocations: 1.385 MB / 0.6735 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/0.5958, allocations: 265.2 kB / 0.6737 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007893/0.6037, allocations: 4.631 MB / 0.6783 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.6051, allocations: 1.73 MB / 0.68 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002085/0.6072, allocations: 0.5544 MB / 0.6805 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007303/0.6079, allocations: 255.4 kB / 0.6807 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of SimCode: time 1.262e-06/0.6079, allocations: 0 / 0.6807 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of Templates: time 0.0858/0.6937, allocations: 48.71 MB / 0.7283 GB, free: 4.785 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 6.867982679999841] Failed to read output from testmodel.py, exit status != 0: 0.702605856997252 0.867972216 0.49038045 Calling exit ...