Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.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.001531/0.001531, allocations: 100.4 kB / 20.48 MB, free: 1.227 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.001738/0.001738, allocations: 210.8 kB / 23.79 MB, free: 4.414 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.379/1.379, allocations: 230.6 MB / 257.6 MB, free: 7.98 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.03714/0.03714, allocations: 6.128 MB / 320.1 MB, free: 12.77 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.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") translateModel(PowerSysPro.Examples.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 51.92 kB / 445.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.09396, allocations: 55.02 MB / 0.489 GB, free: 13.47 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002778/0.09674, allocations: 1.339 MB / 0.4903 GB, free: 12.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.09886, allocations: 1.435 MB / 0.4917 GB, free: 10.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.09898, allocations: 0 / 0.4917 GB, free: 10.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.09935, allocations: 107.4 kB / 0.4918 GB, free: 10.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004547/0.0998, allocations: 151.2 kB / 0.4919 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.1014, allocations: 0.8267 MB / 0.4927 GB, free: 9.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000325/0.1018, allocations: 199.2 kB / 0.4929 GB, free: 9.414 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.1019, allocations: 25.8 kB / 0.4929 GB, free: 9.387 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.102, allocations: 79.7 kB / 0.493 GB, free: 9.309 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.1022, allocations: 95.53 kB / 0.4931 GB, free: 9.215 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.1022, allocations: 16 kB / 0.4931 GB, free: 9.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.1027, allocations: 223.8 kB / 0.4933 GB, free: 8.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/0.1027, allocations: 35.84 kB / 0.4934 GB, free: 8.945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.732e-05/0.1028, allocations: 79.64 kB / 0.4934 GB, free: 8.867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005653/0.1034, allocations: 366.8 kB / 0.4938 GB, free: 8.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1034, allocations: 0 / 0.4938 GB, free: 8.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1034, allocations: 4 kB / 0.4938 GB, free: 8.504 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.1034, allocations: 0 / 0.4938 GB, free: 8.504 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.002087/0.1055, allocations: 0.6336 MB / 0.4944 GB, free: 7.836 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1055, allocations: 8.031 kB / 0.4944 GB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.1056, allocations: 24.8 kB / 0.4944 GB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.1059, allocations: 178.2 kB / 0.4946 GB, free: 7.605 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.106, allocations: 89.67 kB / 0.4947 GB, free: 7.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.106, allocations: 20.38 kB / 0.4947 GB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.1065, allocations: 277.9 kB / 0.495 GB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1065, allocations: 3.938 kB / 0.495 GB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.1065, allocations: 8 kB / 0.495 GB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.1065, allocations: 8 kB / 0.495 GB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.1069, allocations: 207.7 kB / 0.4952 GB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.1083, allocations: 0.6833 MB / 0.4959 GB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/0.1089, allocations: 218.5 kB / 0.4961 GB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.1091, allocations: 101.2 kB / 0.4962 GB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.693e-05/0.1092, allocations: 11.88 kB / 0.4962 GB, free: 5.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004159/0.1096, allocations: 229 kB / 0.4964 GB, free: 5.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.1096, allocations: 0 / 0.4964 GB, free: 5.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001751/0.1113, allocations: 0.5332 MB / 0.4969 GB, free: 5.129 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.1114, allocations: 51.41 kB / 0.497 GB, free: 5.066 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.1116, allocations: 182.1 kB / 0.4971 GB, free: 4.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.1116, allocations: 29.7 kB / 0.4972 GB, free: 4.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.599e-05/0.1117, allocations: 136.4 kB / 0.4973 GB, free: 4.703 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/0.1118, allocations: 75.38 kB / 0.4974 GB, free: 4.629 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.846e-05/0.1119, allocations: 53.97 kB / 0.4974 GB, free: 4.566 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.112, allocations: 326.8 kB / 0.4977 GB, free: 4.238 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.1122, allocations: 120.5 kB / 0.4979 GB, free: 4.121 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.1125, allocations: 166.1 kB / 0.498 GB, free: 3.945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.1129, allocations: 284.1 kB / 0.4983 GB, free: 3.652 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1129, allocations: 0 / 0.4983 GB, free: 3.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0011/0.114, allocations: 478 kB / 0.4987 GB, free: 3.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.114, allocations: 4 kB / 0.4987 GB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.114, allocations: 4 kB / 0.4987 GB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009066/0.1149, allocations: 192.6 kB / 0.4989 GB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.1151, allocations: 39.98 kB / 0.499 GB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007644/0.1159, allocations: 0.7318 MB / 0.4997 GB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.1161, allocations: 19.84 kB / 0.4997 GB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.1161, allocations: 16 kB / 0.4997 GB, free: 2.145 MB / 366.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: 3 (load.degradedMode,$PRE.load.degradedMode,$whenCondition1) * 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 {(3,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.1163, allocations: 137.7 kB / 0.4999 GB, free: 2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.1163, allocations: 19.94 kB / 0.4999 GB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008036/0.1171, allocations: 379.3 kB / 0.5002 GB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.1171, allocations: 7.969 kB / 0.5002 GB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1171, allocations: 0 / 0.5002 GB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.1171, allocations: 4 kB / 0.5002 GB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.1174, allocations: 240.9 kB / 0.5005 GB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1174, allocations: 4 kB / 0.5005 GB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.1175, allocations: 27.98 kB / 0.5005 GB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007632/0.1183, allocations: 196.6 kB / 0.5007 GB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1183, allocations: 7.938 kB / 0.5007 GB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008035/0.1191, allocations: 0.7359 MB / 0.5014 GB, free: 340 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1191, allocations: 4.031 kB / 0.5014 GB, free: 336 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006953/0.1198, allocations: 369.5 kB / 0.5018 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.1198, allocations: 19.91 kB / 0.5018 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.1199, allocations: 11.94 kB / 0.5018 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.12, allocations: 12 kB / 0.5018 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.1201, allocations: 15.91 kB / 0.5018 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.1201, allocations: 11.98 kB / 0.5018 GB, free: 15.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.1202, allocations: 138.5 kB / 0.502 GB, free: 15.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1202, allocations: 3.938 kB / 0.502 GB, free: 15.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1205, allocations: 55.94 kB / 0.502 GB, free: 15.68 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: 2 ($whenCondition1,load.degradedMode) * Number of discrete states: 1 (load.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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 {(4,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001743/0.1207, allocations: 122.4 kB / 0.5021 GB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008026/0.1215, allocations: 291.8 kB / 0.5024 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1215, allocations: 0 / 0.5024 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005084/0.122, allocations: 163.9 kB / 0.5026 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.1223, allocations: 16.25 kB / 0.5026 GB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009075/0.1232, allocations: 460.7 kB / 0.503 GB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.759e-05/0.1233, allocations: 112.9 kB / 0.5031 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.1233, allocations: 23.42 kB / 0.5032 GB, free: 14.46 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1233, allocations: 0 / 0.5032 GB, free: 14.46 MB / 382.1 MB Notification: Performance of Templates: time 0.005994/0.1293, allocations: 3.466 MB / 0.5066 GB, free: 11 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.sim & ./PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.758656200952828] Failed to read output from testmodel.py, exit status != 0: 0.13710629381239414 0.30830977499999995 0.20193982499999996 Calling exit ...