Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.001621/0.001621, allocations: 105 kB / 20.49 MB, free: 1.457 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.001461/0.001461, allocations: 219.4 kB / 23.81 MB, free: 4.648 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.462/1.462, allocations: 230.6 MB / 257.6 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03637/0.03637, allocations: 6.13 MB / 320.1 MB, free: 12.95 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 55.92 kB / 445.8 MB, free: 4.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09249/0.09403, allocations: 55.02 MB / 0.489 GB, free: 13.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002788/0.09682, allocations: 1.544 MB / 0.4906 GB, free: 12.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.09893, allocations: 1.606 MB / 0.4921 GB, free: 10.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.85e-05/0.099, allocations: 4 kB / 0.4921 GB, free: 10.58 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.09933, allocations: 123.3 kB / 0.4922 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.09963, allocations: 103.3 kB / 0.4923 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.1014, allocations: 0.9182 MB / 0.4932 GB, free: 9.438 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.1017, allocations: 234.8 kB / 0.4935 GB, free: 9.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1018, allocations: 52.52 kB / 0.4935 GB, free: 9.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.102, allocations: 99.62 kB / 0.4936 GB, free: 9.055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.1022, allocations: 119.5 kB / 0.4937 GB, free: 8.938 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.1022, allocations: 20 kB / 0.4937 GB, free: 8.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003588/0.1026, allocations: 219.8 kB / 0.4939 GB, free: 8.703 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.1026, allocations: 43.84 kB / 0.494 GB, free: 8.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1027, allocations: 111.4 kB / 0.4941 GB, free: 8.551 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005439/0.1033, allocations: 394.7 kB / 0.4945 GB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1033, allocations: 0 / 0.4945 GB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1033, allocations: 0 / 0.4945 GB, free: 8.164 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.1033, allocations: 0 / 0.4945 GB, free: 8.164 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002545/0.1058, allocations: 0.7507 MB / 0.4952 GB, free: 7.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1059, allocations: 12.03 kB / 0.4952 GB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.1059, allocations: 24.8 kB / 0.4952 GB, free: 7.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.1062, allocations: 194.2 kB / 0.4954 GB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1062, allocations: 12.7 kB / 0.4954 GB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.1063, allocations: 20.38 kB / 0.4955 GB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.1067, allocations: 264.6 kB / 0.4957 GB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1067, allocations: 192 / 0.4957 GB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.1068, allocations: 11.94 kB / 0.4957 GB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.1068, allocations: 8 kB / 0.4957 GB, free: 6.812 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.1072, allocations: 256.5 kB / 0.496 GB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.1087, allocations: 0.8846 MB / 0.4968 GB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006833/0.1093, allocations: 286.5 kB / 0.4971 GB, free: 5.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.1096, allocations: 136.8 kB / 0.4972 GB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.718e-05/0.1096, allocations: 7.984 kB / 0.4972 GB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.1097, allocations: 42.5 kB / 0.4973 GB, free: 5.125 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.323e-06/0.1097, allocations: 4 kB / 0.4973 GB, free: 5.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003191/0.1128, allocations: 0.8806 MB / 0.4982 GB, free: 4.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1129, allocations: 55.41 kB / 0.4982 GB, free: 4.164 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.1131, allocations: 200 kB / 0.4984 GB, free: 3.957 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.1131, allocations: 37.7 kB / 0.4984 GB, free: 3.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1133, allocations: 124.6 kB / 0.4986 GB, free: 3.789 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.251e-05/0.1133, allocations: 83.22 kB / 0.4986 GB, free: 3.707 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.1134, allocations: 65.69 kB / 0.4987 GB, free: 3.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1136, allocations: 326.8 kB / 0.499 GB, free: 3.309 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.1138, allocations: 163.9 kB / 0.4992 GB, free: 3.148 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.1141, allocations: 167.8 kB / 0.4993 GB, free: 2.984 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005477/0.1146, allocations: 355.3 kB / 0.4997 GB, free: 2.637 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1146, allocations: 0 / 0.4997 GB, free: 2.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001659/0.1163, allocations: 0.6343 MB / 0.5003 GB, free: 1.992 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1163, allocations: 8 kB / 0.5003 GB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1163, allocations: 0 / 0.5003 GB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.1178, allocations: 320.5 kB / 0.5006 GB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.118, allocations: 47.91 kB / 0.5006 GB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004283/0.1222, allocations: 2.66 MB / 0.5032 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.1224, allocations: 27.78 kB / 0.5033 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.1225, allocations: 15.98 kB / 0.5033 GB, free: 14.81 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (27): * Single equations (assignments): 26 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.1226, allocations: 137.8 kB / 0.5034 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.1227, allocations: 19.91 kB / 0.5034 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.1243, allocations: 0.6131 MB / 0.504 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1244, allocations: 4 kB / 0.504 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1244, allocations: 3.938 kB / 0.504 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1244, allocations: 0 / 0.504 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.1248, allocations: 356.3 kB / 0.5044 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1248, allocations: 4 kB / 0.5044 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.1249, allocations: 31.98 kB / 0.5044 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.1263, allocations: 312.5 kB / 0.5047 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.1263, allocations: 11.98 kB / 0.5047 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004035/0.1303, allocations: 2.631 MB / 0.5073 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1303, allocations: 0 / 0.5073 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.1319, allocations: 0.6559 MB / 0.5079 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.1319, allocations: 23.8 kB / 0.508 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.132, allocations: 8.109 kB / 0.508 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.1322, allocations: 12 kB / 0.508 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.1322, allocations: 27.95 kB / 0.508 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.1323, allocations: 15.94 kB / 0.508 GB, free: 9.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.1324, allocations: 151.4 kB / 0.5082 GB, free: 9.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1324, allocations: 0 / 0.5082 GB, free: 9.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003967/0.1328, allocations: 99.89 kB / 0.5083 GB, free: 9.512 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 19 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001687/0.133, allocations: 119.8 kB / 0.5084 GB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.1344, allocations: 0.5964 MB / 0.5089 GB, free: 8.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1344, allocations: 0 / 0.5089 GB, free: 8.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.1355, allocations: 422.4 kB / 0.5094 GB, free: 8.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.1358, allocations: 35.84 kB / 0.5094 GB, free: 8.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009094/0.1367, allocations: 0.5235 MB / 0.5099 GB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.1371, allocations: 0.7482 MB / 0.5106 GB, free: 6.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.1371, allocations: 27.61 kB / 0.5107 GB, free: 6.957 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1371, allocations: 0 / 0.5107 GB, free: 6.957 MB / 382.1 MB Notification: Performance of Templates: time 0.007354/0.1445, allocations: 4.531 MB / 0.5151 GB, free: 2.434 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.158748364076018] Failed to read output from testmodel.py, exit status != 0: 0.15192353609018028 0.30953028799999993 0.20363860399999995 Calling exit ...