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.00139/0.00139, allocations: 109 kB / 20.5 MB, free: 1.453 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.001613/0.001613, allocations: 211.7 kB / 23.8 MB, free: 4.668 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.436/1.436, allocations: 230.6 MB / 257.6 MB, free: 7.973 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.03548/0.03548, allocations: 6.139 MB / 320.1 MB, free: 12.94 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.001498/0.001498, allocations: 43.94 kB / 445.8 MB, free: 4.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09185/0.09334, allocations: 55.02 MB / 0.489 GB, free: 13.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002703/0.09605, allocations: 1.446 MB / 0.4905 GB, free: 12.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.09806, allocations: 1.512 MB / 0.4919 GB, free: 10.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.789e-05/0.09812, allocations: 0 / 0.4919 GB, free: 10.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.09845, allocations: 111.4 kB / 0.492 GB, free: 10.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004313/0.09888, allocations: 155.2 kB / 0.4922 GB, free: 10.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.1006, allocations: 0.8986 MB / 0.4931 GB, free: 9.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.1009, allocations: 199.2 kB / 0.4933 GB, free: 9.418 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.101, allocations: 37.73 kB / 0.4933 GB, free: 9.379 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.1011, allocations: 79.7 kB / 0.4934 GB, free: 9.301 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.1013, allocations: 103.6 kB / 0.4935 GB, free: 9.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.1013, allocations: 16 kB / 0.4935 GB, free: 9.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.1017, allocations: 239.7 kB / 0.4937 GB, free: 8.949 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.215e-05/0.1018, allocations: 35.8 kB / 0.4937 GB, free: 8.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1019, allocations: 95.52 kB / 0.4938 GB, free: 8.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004937/0.1024, allocations: 358.8 kB / 0.4942 GB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1024, allocations: 0 / 0.4942 GB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1024, allocations: 0 / 0.4942 GB, free: 8.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1024, allocations: 8 kB / 0.4942 GB, free: 8.461 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.002111/0.1045, allocations: 0.6375 MB / 0.4948 GB, free: 7.789 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1045, allocations: 12.02 kB / 0.4948 GB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.781e-05/0.1046, allocations: 24.8 kB / 0.4948 GB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.1049, allocations: 174.3 kB / 0.495 GB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.105, allocations: 89.67 kB / 0.4951 GB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.105, allocations: 20.38 kB / 0.4951 GB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.1054, allocations: 230.4 kB / 0.4953 GB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1055, allocations: 3.938 kB / 0.4953 GB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.1055, allocations: 11.98 kB / 0.4953 GB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1055, allocations: 4 kB / 0.4953 GB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.1059, allocations: 203.7 kB / 0.4955 GB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.1075, allocations: 0.8807 MB / 0.4964 GB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/0.108, allocations: 210.5 kB / 0.4966 GB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.1082, allocations: 109.1 kB / 0.4967 GB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.761e-05/0.1083, allocations: 8 kB / 0.4967 GB, free: 5.703 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003632/0.1087, allocations: 185.7 kB / 0.4969 GB, free: 5.512 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.1087, allocations: 0 / 0.4969 GB, free: 5.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001799/0.1105, allocations: 0.5215 MB / 0.4974 GB, free: 4.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.1105, allocations: 55.41 kB / 0.4975 GB, free: 4.914 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.1107, allocations: 178.1 kB / 0.4976 GB, free: 4.727 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.1108, allocations: 37.7 kB / 0.4977 GB, free: 4.684 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.1108, allocations: 128.5 kB / 0.4978 GB, free: 4.555 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.837e-05/0.1109, allocations: 75.33 kB / 0.4979 GB, free: 4.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.111, allocations: 57.92 kB / 0.4979 GB, free: 4.414 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1112, allocations: 326.8 kB / 0.4982 GB, free: 4.086 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.1114, allocations: 120.5 kB / 0.4983 GB, free: 3.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.1116, allocations: 166.1 kB / 0.4985 GB, free: 3.793 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.1121, allocations: 276.2 kB / 0.4988 GB, free: 3.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1121, allocations: 0 / 0.4988 GB, free: 3.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00115/0.1132, allocations: 478 kB / 0.4992 GB, free: 3.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1133, allocations: 4 kB / 0.4992 GB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1133, allocations: 0 / 0.4992 GB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009692/0.1142, allocations: 200.7 kB / 0.4994 GB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.1144, allocations: 43.92 kB / 0.4995 GB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007688/0.1152, allocations: 0.724 MB / 0.5002 GB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.1154, allocations: 27.88 kB / 0.5002 GB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.1154, allocations: 12 kB / 0.5002 GB, free: 1.996 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.0001374/0.1156, allocations: 133.8 kB / 0.5003 GB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.1156, allocations: 15.91 kB / 0.5003 GB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008125/0.1164, allocations: 383.1 kB / 0.5007 GB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1164, allocations: 4 kB / 0.5007 GB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1164, allocations: 4 kB / 0.5007 GB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.1164, allocations: 3.984 kB / 0.5007 GB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.1168, allocations: 312.2 kB / 0.501 GB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1168, allocations: 3.938 kB / 0.501 GB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.1169, allocations: 31.98 kB / 0.501 GB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008684/0.1178, allocations: 188.8 kB / 0.5012 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.1178, allocations: 8 kB / 0.5012 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008931/0.1187, allocations: 0.7472 MB / 0.502 GB, free: 104 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1187, allocations: 3.984 kB / 0.502 GB, free: 100 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007562/0.1194, allocations: 369.5 kB / 0.5023 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.1195, allocations: 19.84 kB / 0.5023 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.1195, allocations: 7.984 kB / 0.5023 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1197, allocations: 19.94 kB / 0.5024 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.1197, allocations: 15.95 kB / 0.5024 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.1198, allocations: 15.94 kB / 0.5024 GB, free: 15.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.1199, allocations: 130.5 kB / 0.5025 GB, free: 15.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1199, allocations: 0 / 0.5025 GB, free: 15.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.1202, allocations: 63.89 kB / 0.5026 GB, free: 15.45 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.0001887/0.1204, allocations: 119.2 kB / 0.5027 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008001/0.1212, allocations: 287.8 kB / 0.503 GB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1212, allocations: 0 / 0.503 GB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005597/0.1218, allocations: 164.1 kB / 0.5031 GB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.122, allocations: 18.67 kB / 0.5031 GB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009929/0.123, allocations: 467.1 kB / 0.5036 GB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.1234, allocations: 0.7249 MB / 0.5043 GB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.1235, allocations: 15.44 kB / 0.5043 GB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1235, allocations: 4 kB / 0.5043 GB, free: 13.61 MB / 382.1 MB Notification: Performance of Templates: time 0.006113/0.1296, allocations: 3.401 MB / 0.5076 GB, free: 10.21 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: 7.267133458983153] Failed to read output from testmodel.py, exit status != 0: 0.13689786405302584 0.300282914 0.195270788 Calling exit ...