Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.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.001001/0.001001, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002361, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.001076/0.001076, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001378/0.002455, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8049/0.8049, allocations: 158.6 MB / 171 MB, free: 2.594 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1212/0.9261, allocations: 49.5 MB / 220.5 MB, free: 1.441 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.04824/0.04824, allocations: 10.64 MB / 231.9 MB, free: 6.07 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006168/0.05441, allocations: 4.147 MB / 236 MB, free: 1.914 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 237.4 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.094e-05, allocations: 6.312 kB / 237.4 MB, free: 0.582 MB / 234.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01239/0.01241, allocations: 17.47 MB / 254.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009173/0.02158, allocations: 7.533 MB / 262.4 MB, free: 7.477 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.0231, allocations: 59.69 kB / 262.4 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.02469, allocations: 1.009 MB / 263.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005112/0.0298, allocations: 3.382 MB / 266.8 MB, free: 3.004 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009933/0.03079, allocations: 0.7668 MB / 267.6 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005602/0.03639, allocations: 6.038 MB / 273.6 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005066/0.0369, allocations: 219.7 kB / 273.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003785/0.04069, allocations: 3.24 MB / 277.1 MB, free: 8.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.04232, allocations: 1.698 MB / 278.8 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002711/0.04259, allocations: 227.9 kB / 279 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.04395, allocations: 0.7922 MB / 279.8 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.04418, allocations: 390.4 kB / 280.2 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009505/0.04514, allocations: 1.014 MB / 281.2 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003045/0.04818, allocations: 2.713 MB / 283.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-05/0.0482, allocations: 0 / 283.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0482, allocations: 0 / 283.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.627e-05/0.04823, allocations: 0 / 283.9 MB, free: 1.789 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 560 * Number of variables: 560 Notification: Performance of Generate backend data structure: time 0.115/0.1632, allocations: 5.4 MB / 289.3 MB, free: 17.17 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1633, allocations: 14.55 kB / 289.3 MB, free: 17.17 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.1647, allocations: 0.6121 MB / 289.9 MB, free: 17.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.1666, allocations: 0.9762 MB / 290.9 MB, free: 16.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.1667, allocations: 160 kB / 291.1 MB, free: 16.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.1669, allocations: 214.3 kB / 291.3 MB, free: 16.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.1686, allocations: 1.491 MB / 292.8 MB, free: 16.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/0.1686, allocations: 3.75 kB / 292.8 MB, free: 16.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/0.1687, allocations: 90.56 kB / 292.9 MB, free: 16.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/0.1688, allocations: 54.28 kB / 292.9 MB, free: 16.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.17, allocations: 0.8631 MB / 293.8 MB, free: 16.51 MB / 282.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.008057/0.178, allocations: 6.652 MB / 300.4 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.1796, allocations: 1.511 MB / 301.9 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.1799, allocations: 352.3 kB / 302.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-05/0.18, allocations: 37.23 kB / 302.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.18, allocations: 58.06 kB / 302.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of pre-optimization done (n=217): time 3.847e-06/0.18, allocations: 2.516 kB / 302.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=217): time 0.003061/0.1831, allocations: 1.99 MB / 304.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.1831, allocations: 78.03 kB / 304.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008741/0.184, allocations: 1.408 MB / 305.8 MB, free: 13.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/0.184, allocations: 59.36 kB / 305.9 MB, free: 13.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.1843, allocations: 0.8912 MB / 306.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003794/0.1847, allocations: 0.8005 MB / 307.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/0.185, allocations: 444 kB / 308 MB, free: 12.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.647e-05/0.185, allocations: 304.1 kB / 308.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.1853, allocations: 245.9 kB / 308.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.1857, allocations: 0.8136 MB / 309.4 MB, free: 11.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008009/0.1865, allocations: 1.289 MB / 310.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.1865, allocations: 9.188 kB / 310.7 MB, free: 10.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.001555/0.188, allocations: 1.573 MB / 312.3 MB, free: 9.965 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1881, allocations: 12 kB / 312.3 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.1881, allocations: 16 kB / 312.3 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.1891, allocations: 0.5722 MB / 312.9 MB, free: 9.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009605/0.1901, allocations: 0.5872 MB / 313.4 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/0.1933, allocations: 5.528 MB / 319 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.1946, allocations: 254.5 kB / 319.2 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/0.1947, allocations: 74.06 kB / 319.3 MB, free: 3.406 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 initialization (285): * Single equations (assignments): 282 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,26), (2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003457/0.195, allocations: 253 kB / 319.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.1953, allocations: 221.5 kB / 319.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.1965, allocations: 1.259 MB / 321 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.1965, allocations: 20 kB / 321 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1965, allocations: 4 kB / 321 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.1965, allocations: 7.969 kB / 321 MB, free: 1.988 MB / 282.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 postOpt removeSimpleEquations (simulation): time 0.002715/0.1992, allocations: 2.647 MB / 323.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.1992, allocations: 4 kB / 323.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007389/0.1999, allocations: 377.8 kB / 324.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006292/0.2006, allocations: 276.2 kB / 324.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.2017, allocations: 0.5518 MB / 324.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/0.2017, allocations: 40.55 kB / 324.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003796/0.2055, allocations: 5.338 MB / 330.3 MB, free: 9.059 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.2055, allocations: 11.69 kB / 330.3 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.207, allocations: 1.411 MB / 331.7 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/0.2073, allocations: 40 kB / 331.7 MB, free: 7.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008227/0.2081, allocations: 55.98 kB / 331.8 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.2083, allocations: 153.3 kB / 331.9 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/0.2084, allocations: 44.88 kB / 332 MB, free: 7.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005674/0.2089, allocations: 0.6963 MB / 332.7 MB, free: 6.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2089, allocations: 0 / 332.7 MB, free: 6.746 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00215/0.2111, allocations: 1.042 MB / 333.7 MB, free: 5.703 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (176): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,10), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003397/0.2114, allocations: 271.2 kB / 334 MB, free: 5.461 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.2132, allocations: 1.624 MB / 335.6 MB, free: 3.902 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.777e-05/0.2133, allocations: 36.44 kB / 335.6 MB, free: 3.863 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.2145, allocations: 1.072 MB / 336.7 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.2158, allocations: 0.6259 MB / 337.3 MB, free: 2.188 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06854/0.2843, allocations: 3.533 MB / 340.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.2847, allocations: 381.9 kB / 341.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001032/0.2857, allocations: 254.5 kB / 341.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007827/0.2865, allocations: 379.3 kB / 341.9 MB, free: 13.58 MB / 314.7 MB Notification: Performance of SimCode: time 1.493e-06/0.2865, allocations: 0 / 341.9 MB, free: 13.58 MB / 314.7 MB Notification: Performance of Templates: time 0.04709/0.3336, allocations: 39.65 MB / 381.5 MB, free: 6.293 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow -lv=LOG_STATS -outputFormat=mat -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9040183536708355]