Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.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.001467/0.001467, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001617/0.001617, allocations: 218.2 kB / 22.25 MB, free: 5.125 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.355/1.355, allocations: 230.6 MB / 256 MB, free: 7.988 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.08018/0.08018, allocations: 16.94 MB / 329.4 MB, free: 2.574 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.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") [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.001871/0.001871, allocations: 63.89 kB / 460.5 MB, free: 1.969 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09712/0.09899, allocations: 57.75 MB / 0.5061 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.005556/0.1045, allocations: 4.645 MB / 0.5106 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003548/0.1081, allocations: 2.59 MB / 0.5132 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.1083, allocations: 15.88 kB / 0.5132 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000555/0.1088, allocations: 258.4 kB / 0.5134 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1833/0.2921, allocations: 1.17 MB / 0.5146 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008941/0.293, allocations: 485.3 kB / 0.515 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.294, allocations: 1.042 MB / 0.516 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.2942, allocations: 47.3 kB / 0.5161 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003493/0.2945, allocations: 382.4 kB / 0.5165 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003791/0.2949, allocations: 385.5 kB / 0.5168 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.272e-05/0.295, allocations: 42.41 kB / 0.5169 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005034/0.2955, allocations: 319 kB / 0.5172 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.567e-05/0.2955, allocations: 111.2 kB / 0.5173 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.2957, allocations: 357 kB / 0.5176 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008179/0.2966, allocations: 0.917 MB / 0.5185 GB, free: 9.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2966, allocations: 0.5312 kB / 0.5185 GB, free: 9.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2966, allocations: 2.375 kB / 0.5185 GB, free: 9.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2966, allocations: 0.625 kB / 0.5185 GB, free: 9.887 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002852/0.2994, allocations: 1.217 MB / 0.5197 GB, free: 9.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.2994, allocations: 9.875 kB / 0.5197 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004753/0.2999, allocations: 102.8 kB / 0.5198 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/0.3006, allocations: 464.9 kB / 0.5203 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.3007, allocations: 36.89 kB / 0.5203 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.3007, allocations: 40.44 kB / 0.5203 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005694/0.3013, allocations: 0.5241 MB / 0.5208 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3013, allocations: 5.344 kB / 0.5208 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.3013, allocations: 17.47 kB / 0.5209 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.3013, allocations: 13.09 kB / 0.5209 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.3018, allocations: 381.2 kB / 0.5212 GB, free: 8.863 MB / 382.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.002679/0.3045, allocations: 3.39 MB / 0.5245 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/0.3051, allocations: 284.6 kB / 0.5248 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.3052, allocations: 96.95 kB / 0.5249 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.3052, allocations: 9.141 kB / 0.5249 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.3053, allocations: 41.64 kB / 0.525 GB, free: 5.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.362e-06/0.3053, allocations: 0 / 0.525 GB, free: 5.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008146/0.3061, allocations: 432.5 kB / 0.5254 GB, free: 5.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.3061, allocations: 65.16 kB / 0.5254 GB, free: 5.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005909/0.3067, allocations: 0.5938 MB / 0.526 GB, free: 5.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.3067, allocations: 36.48 kB / 0.526 GB, free: 5.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.3069, allocations: 315.7 kB / 0.5263 GB, free: 5.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.6e-05/0.307, allocations: 143.3 kB / 0.5265 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.3072, allocations: 254.1 kB / 0.5267 GB, free: 4.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.3073, allocations: 377.1 kB / 0.5271 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.3078, allocations: 321.5 kB / 0.5274 GB, free: 4.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.3083, allocations: 435.1 kB / 0.5278 GB, free: 4.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006896/0.3089, allocations: 0.6022 MB / 0.5284 GB, free: 3.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3089, allocations: 0 / 0.5284 GB, free: 3.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001323/0.3103, allocations: 1.037 MB / 0.5294 GB, free: 3.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3103, allocations: 5.594 kB / 0.5294 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3103, allocations: 1.156 kB / 0.5294 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/0.3105, allocations: 46.66 kB / 0.5295 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009767/0.3114, allocations: 256.6 kB / 0.5297 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007808/0.3122, allocations: 1.332 MB / 0.531 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007244/0.3129, allocations: 80.86 kB / 0.5311 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/0.313, allocations: 43.48 kB / 0.5311 GB, free: 1.984 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (load.isSlackBus,slack.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.3132, allocations: 205.3 kB / 0.5313 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.544e-05/0.3133, allocations: 65.88 kB / 0.5314 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005265/0.3138, allocations: 352.9 kB / 0.5317 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3138, allocations: 4.25 kB / 0.5317 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.3138, allocations: 4.547 kB / 0.5317 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3138, allocations: 1.969 kB / 0.5317 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009442/0.3148, allocations: 0.9616 MB / 0.5327 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3148, allocations: 6.594 kB / 0.5327 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.315, allocations: 53.16 kB / 0.5327 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.109e-05/0.3151, allocations: 29.08 kB / 0.5328 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.3151, allocations: 8.531 kB / 0.5328 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007591/0.3159, allocations: 1.321 MB / 0.5341 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3159, allocations: 2.469 kB / 0.5341 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00057/0.3164, allocations: 458 kB / 0.5345 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.3167, allocations: 112.5 kB / 0.5346 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.511e-05/0.3168, allocations: 7.016 kB / 0.5346 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.3172, allocations: 31.52 kB / 0.5346 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.3172, allocations: 19.83 kB / 0.5347 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.3173, allocations: 12.42 kB / 0.5347 GB, free: 15.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004702/0.3177, allocations: 390.5 kB / 0.535 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3177, allocations: 0 / 0.535 GB, free: 15.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006207/0.3183, allocations: 249.2 kB / 0.5353 GB, free: 15.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002213/0.3186, allocations: 152.9 kB / 0.5354 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.3197, allocations: 0.681 MB / 0.5361 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3197, allocations: 1.156 kB / 0.5361 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003382/0.32, allocations: 239.9 kB / 0.5363 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.3205, allocations: 58.42 kB / 0.5364 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3218, allocations: 0.8572 MB / 0.5372 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.3223, allocations: 0.8466 MB / 0.538 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002956/0.3226, allocations: 98.83 kB / 0.5381 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.3227, allocations: 48.58 kB / 0.5382 GB, free: 13.2 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3227, allocations: 0 / 0.5382 GB, free: 13.2 MB / 398.1 MB Notification: Performance of Templates: time 0.01415/0.3369, allocations: 7.875 MB / 0.5459 GB, free: 11.06 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 4.606206639997254] Failed to read output from testmodel.py, exit status != 0: 0.3448951520040282 0.357782588 0.05837275200000001 Calling exit ...