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.001523/0.001523, 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.001781/0.001781, allocations: 216.4 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.364/1.364, 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.07732/0.07732, allocations: 16.95 MB / 329.4 MB, free: 2.578 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.001948/0.001948, allocations: 71.91 kB / 460.5 MB, free: 1.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1104, allocations: 57.74 MB / 0.5061 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.005889/0.1163, allocations: 4.597 MB / 0.5106 GB, free: 3.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003848/0.1202, allocations: 2.431 MB / 0.513 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004702/0.1207, allocations: 15.88 kB / 0.513 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007078/0.1214, allocations: 242.6 kB / 0.5132 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1988/0.3202, allocations: 1.164 MB / 0.5143 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000741/0.3209, allocations: 355.3 kB / 0.5147 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00122/0.3221, allocations: 1.032 MB / 0.5157 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.3223, allocations: 49.81 kB / 0.5157 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004231/0.3227, allocations: 377.4 kB / 0.5161 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.3231, allocations: 378.6 kB / 0.5165 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.3231, allocations: 43.25 kB / 0.5165 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005267/0.3237, allocations: 262.3 kB / 0.5167 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.3237, allocations: 113.8 kB / 0.5169 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.3239, allocations: 347.5 kB / 0.5172 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008149/0.3248, allocations: 0.8833 MB / 0.518 GB, free: 9.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3248, allocations: 3.438 kB / 0.5181 GB, free: 9.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3248, allocations: 0 / 0.5181 GB, free: 9.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.3248, allocations: 1.781 kB / 0.5181 GB, free: 9.34 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.002739/0.3275, allocations: 1.16 MB / 0.5192 GB, free: 8.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.3276, allocations: 9.469 kB / 0.5192 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004761/0.328, allocations: 110.9 kB / 0.5193 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007217/0.3287, allocations: 462.2 kB / 0.5197 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.3288, allocations: 32.09 kB / 0.5198 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.3288, allocations: 44.19 kB / 0.5198 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005921/0.3294, allocations: 0.5158 MB / 0.5203 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.3294, allocations: 7.688 kB / 0.5203 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.3295, allocations: 18.59 kB / 0.5203 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.3295, allocations: 15.41 kB / 0.5204 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.33, allocations: 354.8 kB / 0.5207 GB, free: 8.328 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.002788/0.3328, allocations: 3.371 MB / 0.524 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005114/0.3333, allocations: 261.6 kB / 0.5242 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.3334, allocations: 94 kB / 0.5243 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.3334, allocations: 8.781 kB / 0.5243 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.3335, allocations: 38.25 kB / 0.5244 GB, free: 5.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.924e-06/0.3335, allocations: 0 / 0.5244 GB, free: 5.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008829/0.3343, allocations: 403.6 kB / 0.5248 GB, free: 5.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.3344, allocations: 58.81 kB / 0.5248 GB, free: 5.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006371/0.335, allocations: 0.6083 MB / 0.5254 GB, free: 5.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.335, allocations: 30.86 kB / 0.5254 GB, free: 5.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.3352, allocations: 329.9 kB / 0.5258 GB, free: 4.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.891e-05/0.3353, allocations: 126.4 kB / 0.5259 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/0.3356, allocations: 243.5 kB / 0.5261 GB, free: 4.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.791e-05/0.3357, allocations: 381 kB / 0.5265 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.3361, allocations: 300.2 kB / 0.5268 GB, free: 4.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/0.3366, allocations: 419.5 kB / 0.5272 GB, free: 4.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.3373, allocations: 0.5632 MB / 0.5277 GB, free: 3.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3373, allocations: 0 / 0.5277 GB, free: 3.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001337/0.3386, allocations: 0.9891 MB / 0.5287 GB, free: 3.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3386, allocations: 9.859 kB / 0.5287 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3386, allocations: 1.406 kB / 0.5287 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002198/0.3388, allocations: 43.81 kB / 0.5287 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009032/0.3397, allocations: 258.7 kB / 0.529 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.3398, allocations: 12.2 kB / 0.529 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007032/0.3405, allocations: 83.55 kB / 0.5291 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/0.3405, allocations: 42.62 kB / 0.5291 GB, free: 3.297 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.000205/0.3407, allocations: 195.7 kB / 0.5293 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.3408, allocations: 65.22 kB / 0.5294 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005614/0.3414, allocations: 333.1 kB / 0.5297 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3414, allocations: 3.125 kB / 0.5297 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.3414, allocations: 1.188 kB / 0.5297 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3414, allocations: 1.734 kB / 0.5297 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.3425, allocations: 0.9176 MB / 0.5306 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3425, allocations: 3.094 kB / 0.5306 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.3427, allocations: 51.56 kB / 0.5306 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.3428, allocations: 33.45 kB / 0.5307 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.3428, allocations: 6.156 kB / 0.5307 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.3428, allocations: 7.031 kB / 0.5307 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3428, allocations: 4.625 kB / 0.5307 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.3433, allocations: 423.8 kB / 0.5311 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.3435, allocations: 104.3 kB / 0.5312 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.912e-05/0.3436, allocations: 18.38 kB / 0.5312 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000408/0.344, allocations: 24.77 kB / 0.5312 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.3441, allocations: 21.14 kB / 0.5312 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.3441, allocations: 11.12 kB / 0.5312 GB, free: 1.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003833/0.3445, allocations: 406.4 kB / 0.5316 GB, free: 1.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3445, allocations: 0 / 0.5316 GB, free: 1.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005768/0.345, allocations: 237.9 kB / 0.5319 GB, free: 1.75 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.0001898/0.3452, allocations: 152.5 kB / 0.532 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008197/0.3461, allocations: 0.5491 MB / 0.5325 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3461, allocations: 0 / 0.5325 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.3462, allocations: 114.5 kB / 0.5327 GB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.3467, allocations: 63.78 kB / 0.5327 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.3478, allocations: 0.8242 MB / 0.5335 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.348, allocations: 0.8458 MB / 0.5343 GB, free: 184 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000291/0.3483, allocations: 98.28 kB / 0.5344 GB, free: 168 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.3484, allocations: 54.3 kB / 0.5345 GB, free: 152 kB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3484, allocations: 0 / 0.5345 GB, free: 152 kB / 382.1 MB Notification: Performance of Templates: time 0.01422/0.3627, allocations: 7.412 MB / 0.5417 GB, free: 14.46 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.679358154069632] Failed to read output from testmodel.py, exit status != 0: 0.3710496141575277 0.38426083599999994 0.056556129000000004 Calling exit ...