Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.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.001483/0.001483, allocations: 114.5 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.001661/0.001661, allocations: 217.1 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.338/1.338, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 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.07806/0.07806, allocations: 16.95 MB / 329.4 MB, free: 2.59 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.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") [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.001939/0.001939, allocations: 63.91 kB / 460.5 MB, free: 1.957 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09413/0.09607, allocations: 57.74 MB / 0.5061 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.005513/0.1016, allocations: 4.606 MB / 0.5106 GB, free: 3.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003206/0.1048, allocations: 2.431 MB / 0.513 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.105, allocations: 15.88 kB / 0.513 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.1055, allocations: 238.6 kB / 0.5132 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1733/0.2787, allocations: 1.169 MB / 0.5143 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000735/0.2795, allocations: 347.3 kB / 0.5147 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.2806, allocations: 1.038 MB / 0.5157 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.2807, allocations: 45.84 kB / 0.5157 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003697/0.2811, allocations: 378.1 kB / 0.5161 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003509/0.2814, allocations: 381.5 kB / 0.5165 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/0.2815, allocations: 41.31 kB / 0.5165 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004941/0.282, allocations: 261.6 kB / 0.5167 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.55e-05/0.282, allocations: 113.6 kB / 0.5169 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.2823, allocations: 346.9 kB / 0.5172 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007992/0.2831, allocations: 0.8867 MB / 0.5181 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2831, allocations: 1.5 kB / 0.5181 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2831, allocations: 0 / 0.5181 GB, free: 9.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.2831, allocations: 0.5625 kB / 0.5181 GB, free: 9.305 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.002693/0.2858, allocations: 1.163 MB / 0.5192 GB, free: 8.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.2858, allocations: 10.56 kB / 0.5192 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004794/0.2863, allocations: 106.6 kB / 0.5193 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000695/0.287, allocations: 461.9 kB / 0.5197 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.287, allocations: 34.72 kB / 0.5198 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.287, allocations: 42.41 kB / 0.5198 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008438/0.2879, allocations: 0.5161 MB / 0.5203 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.2879, allocations: 9.656 kB / 0.5203 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.204e-05/0.288, allocations: 22.19 kB / 0.5204 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.288, allocations: 10.19 kB / 0.5204 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008758/0.2889, allocations: 354.4 kB / 0.5207 GB, free: 8.297 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.004419/0.2933, allocations: 3.371 MB / 0.524 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008609/0.2941, allocations: 261.8 kB / 0.5242 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.2944, allocations: 88.41 kB / 0.5243 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.2944, allocations: 4.391 kB / 0.5243 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.2944, allocations: 40.5 kB / 0.5244 GB, free: 5.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.044e-06/0.2944, allocations: 4 kB / 0.5244 GB, free: 5.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.001438/0.2959, allocations: 402.1 kB / 0.5248 GB, free: 5.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.2959, allocations: 55.91 kB / 0.5248 GB, free: 5.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.2969, allocations: 0.6095 MB / 0.5254 GB, free: 5.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.297, allocations: 32.73 kB / 0.5254 GB, free: 5.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.2972, allocations: 332.2 kB / 0.5258 GB, free: 4.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.2974, allocations: 129.5 kB / 0.5259 GB, free: 4.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004363/0.2978, allocations: 242.4 kB / 0.5261 GB, free: 4.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.2979, allocations: 385.5 kB / 0.5265 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007551/0.2987, allocations: 299.9 kB / 0.5268 GB, free: 4.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008629/0.2995, allocations: 410.9 kB / 0.5272 GB, free: 4.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.3007, allocations: 0.5673 MB / 0.5277 GB, free: 3.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.3007, allocations: 3.844 kB / 0.5277 GB, free: 3.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002301/0.303, allocations: 0.9858 MB / 0.5287 GB, free: 3.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3031, allocations: 18.44 kB / 0.5287 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.3031, allocations: 1.5 kB / 0.5287 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003187/0.3034, allocations: 40.39 kB / 0.5287 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.3051, allocations: 254.7 kB / 0.529 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/0.3051, allocations: 6.172 kB / 0.529 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.3064, allocations: 91.69 kB / 0.5291 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.596e-05/0.3065, allocations: 40.89 kB / 0.5291 GB, free: 3.27 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 (159): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002972/0.3068, allocations: 196.9 kB / 0.5293 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.3069, allocations: 65.88 kB / 0.5294 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009145/0.3078, allocations: 329.7 kB / 0.5297 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3078, allocations: 2.75 kB / 0.5297 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3078, allocations: 4 kB / 0.5297 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.3079, allocations: 2.578 kB / 0.5297 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.3095, allocations: 0.9146 MB / 0.5306 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3095, allocations: 1.312 kB / 0.5306 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000388/0.3099, allocations: 53.42 kB / 0.5306 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/0.3101, allocations: 35.17 kB / 0.5307 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.3101, allocations: 6.312 kB / 0.5307 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.3101, allocations: 5.25 kB / 0.5307 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3101, allocations: 3.312 kB / 0.5307 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/0.311, allocations: 422.8 kB / 0.5311 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.3113, allocations: 105.1 kB / 0.5312 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.3114, allocations: 11.88 kB / 0.5312 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000765/0.3122, allocations: 20.89 kB / 0.5312 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.3123, allocations: 26.03 kB / 0.5312 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-05/0.3123, allocations: 11.42 kB / 0.5312 GB, free: 1.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006849/0.313, allocations: 407.9 kB / 0.5316 GB, free: 1.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.313, allocations: 2.719 kB / 0.5316 GB, free: 1.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009616/0.314, allocations: 234.7 kB / 0.5319 GB, free: 1.727 MB / 382.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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.000234/0.3142, allocations: 152.8 kB / 0.532 GB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.3156, allocations: 0.5475 MB / 0.5325 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.3156, allocations: 1.125 kB / 0.5325 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.3159, allocations: 112.7 kB / 0.5326 GB, free: 1.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/0.3167, allocations: 61.75 kB / 0.5327 GB, free: 1.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.3183, allocations: 0.8277 MB / 0.5335 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.3187, allocations: 0.844 MB / 0.5343 GB, free: 156 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005107/0.3192, allocations: 94.72 kB / 0.5344 GB, free: 144 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.3194, allocations: 50.19 kB / 0.5345 GB, free: 132 kB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3194, allocations: 1.375 kB / 0.5345 GB, free: 132 kB / 382.1 MB Notification: Performance of Templates: time 0.02311/0.3425, allocations: 7.413 MB / 0.5417 GB, free: 14.44 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 4.530573349999031] Failed to read output from testmodel.py, exit status != 0: 0.3520944139963831 0.36807582 0.082138269 Calling exit ...