Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 119.4 kB / 18.41 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002192/0.002192, allocations: 196.3 kB / 21.35 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2853/0.2853, allocations: 37.99 MB / 337.2 MB, free: 12.95 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 63.94 kB / 467.5 MB, free: 27.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1023, allocations: 58.08 MB / 0.5133 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.00506/0.1074, allocations: 3.426 MB / 0.5166 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.1095, allocations: 1.438 MB / 0.518 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1096, allocations: 7.938 kB / 0.518 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008356/0.1105, allocations: 255 kB / 0.5183 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005627/0.111, allocations: 291 kB / 0.5186 GB, free: 4.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.1113, allocations: 111.7 kB / 0.5187 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.1117, allocations: 338.9 kB / 0.519 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.112, allocations: 125.9 kB / 0.5191 GB, free: 3.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.1123, allocations: 155.4 kB / 0.5192 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.1126, allocations: 159.4 kB / 0.5194 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.1126, allocations: 12 kB / 0.5194 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004816/0.1131, allocations: 303.2 kB / 0.5197 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.1132, allocations: 103.8 kB / 0.5198 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.1134, allocations: 103.5 kB / 0.5199 GB, free: 2.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.1138, allocations: 346.7 kB / 0.5202 GB, free: 2.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1139, allocations: 8 kB / 0.5202 GB, free: 2.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1139, allocations: 4 kB / 0.5202 GB, free: 2.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1139, allocations: 3.938 kB / 0.5202 GB, free: 2.578 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007554/0.1146, allocations: 0.506 MB / 0.5207 GB, free: 2.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1147, allocations: 11.89 kB / 0.5208 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008109/0.1155, allocations: 96.67 kB / 0.5208 GB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.1159, allocations: 260.6 kB / 0.5211 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.1159, allocations: 12.38 kB / 0.5211 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.1159, allocations: 24.12 kB / 0.5211 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.1164, allocations: 310.3 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.1165, allocations: 0 / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.1165, allocations: 12 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-05/0.1165, allocations: 19.98 kB / 0.5215 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.117, allocations: 291.6 kB / 0.5217 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.1188, allocations: 1.289 MB / 0.523 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.1192, allocations: 234.3 kB / 0.5232 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.707e-05/0.1193, allocations: 61.8 kB / 0.5233 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.1194, allocations: 11.92 kB / 0.5233 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.1194, allocations: 30.56 kB / 0.5233 GB, free: 15.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.1194, allocations: 0 / 0.5233 GB, free: 15.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006216/0.12, allocations: 296.7 kB / 0.5236 GB, free: 14.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.649e-05/0.1201, allocations: 77.11 kB / 0.5237 GB, free: 14.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1203, allocations: 202.4 kB / 0.5239 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1203, allocations: 29.7 kB / 0.5239 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.1205, allocations: 164.1 kB / 0.524 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.1205, allocations: 51.53 kB / 0.5241 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.1206, allocations: 41.7 kB / 0.5241 GB, free: 14.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1208, allocations: 326.8 kB / 0.5244 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-05/0.1209, allocations: 47.97 kB / 0.5245 GB, free: 13.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.121, allocations: 144.8 kB / 0.5246 GB, free: 13.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.1213, allocations: 217.2 kB / 0.5248 GB, free: 13.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1213, allocations: 0 / 0.5248 GB, free: 13.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003632/0.1217, allocations: 237.2 kB / 0.5251 GB, free: 13.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1217, allocations: 8 kB / 0.5251 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.1217, allocations: 4 kB / 0.5251 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1218, allocations: 4 kB / 0.5251 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.1219, allocations: 43.92 kB / 0.5251 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1219, allocations: 7.984 kB / 0.5251 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.122, allocations: 8 kB / 0.5251 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.1221, allocations: 12 kB / 0.5251 GB, free: 13.13 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.1222, allocations: 162 kB / 0.5253 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.1223, allocations: 23.8 kB / 0.5253 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.1226, allocations: 155.1 kB / 0.5255 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1226, allocations: 4 kB / 0.5255 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1226, allocations: 0 / 0.5255 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1226, allocations: 3.984 kB / 0.5255 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000911/0.1235, allocations: 0.6616 MB / 0.5261 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.1235, allocations: 8.062 kB / 0.5261 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.1236, allocations: 27.92 kB / 0.5262 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.1237, allocations: 7.938 kB / 0.5262 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1237, allocations: 4 kB / 0.5262 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.1237, allocations: 8 kB / 0.5262 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.1237, allocations: 11.92 kB / 0.5262 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.1241, allocations: 339.4 kB / 0.5265 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.1242, allocations: 104.9 kB / 0.5266 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.1242, allocations: 4 kB / 0.5266 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.1244, allocations: 8 kB / 0.5266 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.1244, allocations: 27.86 kB / 0.5267 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1244, allocations: 11.94 kB / 0.5267 GB, free: 11.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.1246, allocations: 148.3 kB / 0.5268 GB, free: 11.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1246, allocations: 0 / 0.5268 GB, free: 11.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.1249, allocations: 40 kB / 0.5268 GB, free: 11.2 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001203/0.125, allocations: 99.25 kB / 0.5269 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.1253, allocations: 147.7 kB / 0.5271 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1253, allocations: 0 / 0.5271 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.1255, allocations: 68.97 kB / 0.5271 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.1259, allocations: 41.7 kB / 0.5272 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008218/0.1267, allocations: 0.5362 MB / 0.5277 GB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.1272, allocations: 0.7593 MB / 0.5285 GB, free: 9.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.1272, allocations: 23.44 kB / 0.5285 GB, free: 9.43 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1272, allocations: 0 / 0.5285 GB, free: 9.43 MB / 398.1 MB Notification: Performance of Templates: time 0.004503/0.1317, allocations: 2.28 MB / 0.5307 GB, free: 7.145 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.15571625798475] Failed to read output from testmodel.py, exit status != 0: 0.13835233903955668 0.152374578 0.03586073 Calling exit ...