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.001464/0.001464, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001748/0.001748, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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 0.9392/0.9392, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.0595/0.0595, allocations: 12.99 MB / 274 MB, free: 312 kB / 250.7 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: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 348.3 MB, free: 1.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.728e-05, allocations: 2.312 kB / 348.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.01325/0.01326, allocations: 20.47 MB / 368.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.02473, allocations: 7.886 MB / 376.7 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.02733, allocations: 79.44 kB / 376.8 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.02943, allocations: 1.043 MB / 377.8 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007127/0.03656, allocations: 3.88 MB / 381.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.03845, allocations: 1.337 MB / 383 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006679/0.04513, allocations: 7.17 MB / 390.2 MB, free: 7.242 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006443/0.04577, allocations: 265.4 kB / 390.4 MB, free: 6.949 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005121/0.0509, allocations: 3.362 MB / 393.8 MB, free: 3.578 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.05327, allocations: 1.866 MB / 395.7 MB, free: 1.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000479/0.05374, allocations: 244 kB / 395.9 MB, free: 1.469 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.05545, allocations: 0.7024 MB / 396.6 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003999/0.05585, allocations: 0.6606 MB / 397.3 MB, free: 104 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.05726, allocations: 1.417 MB / 398.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.06025, allocations: 3.035 MB / 401.7 MB, free: 11.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.06025, allocations: 0 / 401.7 MB, free: 11.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.06025, allocations: 0 / 401.7 MB, free: 11.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.637e-05/0.0603, allocations: 0 / 401.7 MB, free: 11.63 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.009806/0.0701, allocations: 6.253 MB / 408 MB, free: 5.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.07013, allocations: 12.03 kB / 408 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.07144, allocations: 0.7873 MB / 408.8 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.07333, allocations: 1.936 MB / 410.7 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-05/0.07342, allocations: 209.5 kB / 410.9 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/0.07365, allocations: 276.4 kB / 411.2 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1304/0.2041, allocations: 3.352 MB / 414.5 MB, free: 38.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.214e-05/0.2041, allocations: 23 kB / 414.6 MB, free: 38.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.2043, allocations: 120 kB / 414.7 MB, free: 38.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.827e-05/0.2044, allocations: 72.45 kB / 414.7 MB, free: 38.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.2061, allocations: 1.302 MB / 416 MB, free: 38.67 MB / 330.7 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.01085/0.2169, allocations: 22.86 MB / 438.9 MB, free: 20.99 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.2186, allocations: 1.559 MB / 440.5 MB, free: 20.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.219, allocations: 458.4 kB / 440.9 MB, free: 20.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.169e-05/0.2191, allocations: 57.19 kB / 441 MB, free: 20.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.2191, allocations: 63.73 kB / 441 MB, free: 20.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=252): time 3.797e-06/0.2191, allocations: 3.594 kB / 441 MB, free: 20.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=252): time 0.01036/0.2295, allocations: 4.92 MB / 446 MB, free: 20.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.2295, allocations: 78 kB / 446 MB, free: 20.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.2312, allocations: 2.486 MB / 448.5 MB, free: 19.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.538e-05/0.2313, allocations: 78.8 kB / 448.6 MB, free: 19.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006501/0.2319, allocations: 1.623 MB / 450.2 MB, free: 19.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005549/0.2325, allocations: 1.084 MB / 451.3 MB, free: 18.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.2337, allocations: 1.53 MB / 452.8 MB, free: 18.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.5e-05/0.2338, allocations: 480.7 kB / 453.3 MB, free: 18.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.2352, allocations: 1.211 MB / 454.5 MB, free: 17.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.237, allocations: 2.028 MB / 456.5 MB, free: 17.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/0.2396, allocations: 2.909 MB / 459.4 MB, free: 15.65 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/0.2396, allocations: 4 kB / 459.5 MB, free: 15.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=1045) (initialization): time 0.005312/0.2449, allocations: 5.469 MB / 464.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.2449, allocations: 8 kB / 464.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.2449, allocations: 8 kB / 464.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.2465, allocations: 0.9234 MB / 465.9 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/0.2491, allocations: 1.518 MB / 467.4 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004348/0.2534, allocations: 5.328 MB / 472.7 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/0.2559, allocations: 0.6418 MB / 473.3 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.2561, allocations: 184 kB / 473.5 MB, free: 1.863 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 (bus2.isReferenceBus,bus2.isSlackBus,load1.isSlackBus,load2.isSlackBus,load3.isSlackBus,load4.isSlackBus,slack.isSlackBus,bus.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (981): * Single equations (assignments): 979 * 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.0006267/0.2567, allocations: 473.7 kB / 474 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003613/0.2571, allocations: 425.8 kB / 474.4 MB, free: 1.062 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.2592, allocations: 1.809 MB / 476.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.2592, allocations: 24 kB / 476.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2592, allocations: 2.516 kB / 476.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.2593, allocations: 11.95 kB / 476.3 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003918/0.2632, allocations: 3.408 MB / 479.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.2632, allocations: 4 kB / 479.7 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007015/0.2639, allocations: 313.8 kB / 480 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001498/0.2654, allocations: 0.7303 MB / 480.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/0.2655, allocations: 47.8 kB / 480.7 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00485/0.2704, allocations: 5.121 MB / 485.9 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2704, allocations: 6.828 kB / 485.9 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.273, allocations: 2.047 MB / 487.9 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008808/0.2739, allocations: 0.6636 MB / 488.6 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/0.2742, allocations: 40 kB / 488.6 MB, free: 3.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.2752, allocations: 87.91 kB / 488.7 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.2754, allocations: 165.6 kB / 488.9 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.685e-05/0.2754, allocations: 63.97 kB / 488.9 MB, free: 2.891 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000991/0.2764, allocations: 1.24 MB / 490.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2764, allocations: 8 kB / 490.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002453/0.2789, allocations: 1.655 MB / 491.8 MB, free: 112 kB / 346.7 MB 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.0004164/0.2793, allocations: 298.7 kB / 492.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00437/0.2837, allocations: 3.649 MB / 495.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2837, allocations: 1.312 kB / 495.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.2848, allocations: 1.193 MB / 497 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.2859, allocations: 315.2 kB / 497.3 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004697/0.2906, allocations: 4.282 MB / 0.4898 GB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.291, allocations: 488.4 kB / 0.4903 GB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001341/0.2924, allocations: 0.5418 MB / 0.4908 GB, free: 5.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009473/0.2933, allocations: 0.6464 MB / 0.4914 GB, free: 4.875 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2933, allocations: 0 / 0.4914 GB, free: 4.875 MB / 362.7 MB Notification: Performance of Templates: time 0.05552/0.3488, allocations: 50.67 MB / 0.5409 GB, free: 2.738 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.526648043189198]