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.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.001464/0.001464, allocations: 109.6 kB / 18.37 MB, free: 3.926 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.001433/0.001433, allocations: 192.4 kB / 21.55 MB, free: 0.7539 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.548/1.548, allocations: 225.6 MB / 250.2 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06147/0.06147, allocations: 8.233 MB / 313.5 MB, free: 1.871 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(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.002184/0.002184, allocations: 67.89 kB / 437.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.304, allocations: 54.35 MB / 491.7 MB, free: 27.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002369/0.3064, allocations: 1.48 MB / 493.2 MB, free: 26.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.3079, allocations: 1.459 MB / 494.6 MB, free: 25.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.308, allocations: 2.75 kB / 494.6 MB, free: 25.15 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.3083, allocations: 110 kB / 494.7 MB, free: 25.08 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.3086, allocations: 153.4 kB / 494.9 MB, free: 24.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.3099, allocations: 0.916 MB / 495.8 MB, free: 24.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.3102, allocations: 197.2 kB / 496 MB, free: 24.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3103, allocations: 43.84 kB / 496 MB, free: 24.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.602e-05/0.3104, allocations: 75.58 kB / 496.1 MB, free: 24.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.3105, allocations: 110.6 kB / 496.2 MB, free: 24.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.3106, allocations: 15.31 kB / 496.2 MB, free: 24.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.3109, allocations: 223.5 kB / 496.4 MB, free: 23.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.937e-05/0.3109, allocations: 46.2 kB / 496.5 MB, free: 23.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/0.311, allocations: 86.22 kB / 496.6 MB, free: 23.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.3114, allocations: 368.9 kB / 496.9 MB, free: 23.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3114, allocations: 0 / 496.9 MB, free: 23.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.3114, allocations: 0 / 496.9 MB, free: 23.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3115, allocations: 0 / 496.9 MB, free: 23.59 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.001831/0.3133, allocations: 0.71 MB / 497.6 MB, free: 23.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3133, allocations: 8.062 kB / 497.7 MB, free: 23.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.869e-05/0.3134, allocations: 24.52 kB / 497.7 MB, free: 23.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.3137, allocations: 237.1 kB / 497.9 MB, free: 22.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.522e-05/0.3137, allocations: 67.72 kB / 498 MB, free: 22.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.3138, allocations: 19.88 kB / 498 MB, free: 22.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.3141, allocations: 216.6 kB / 498.2 MB, free: 22.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3142, allocations: 3.938 kB / 498.2 MB, free: 22.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.3142, allocations: 9.625 kB / 498.2 MB, free: 22.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.3142, allocations: 8.859 kB / 498.2 MB, free: 22.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.3145, allocations: 203.9 kB / 498.4 MB, free: 22.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.3158, allocations: 0.9128 MB / 499.3 MB, free: 21.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/0.3164, allocations: 216.5 kB / 499.5 MB, free: 21.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.3165, allocations: 104.2 kB / 499.7 MB, free: 21.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.3166, allocations: 86.84 kB / 499.7 MB, free: 21.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003478/0.317, allocations: 167.2 kB / 499.9 MB, free: 21.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.317, allocations: 0 / 499.9 MB, free: 21.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001686/0.3187, allocations: 0.6063 MB / 0.4888 GB, free: 20.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.3187, allocations: 53.88 kB / 0.4888 GB, free: 20.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.3189, allocations: 182.3 kB / 0.489 GB, free: 20.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3189, allocations: 30.86 kB / 0.489 GB, free: 20.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.319, allocations: 123.2 kB / 0.4891 GB, free: 20.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.319, allocations: 85.2 kB / 0.4892 GB, free: 20.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.386e-05/0.3191, allocations: 53.61 kB / 0.4893 GB, free: 20.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.255e-05/0.3192, allocations: 327.7 kB / 0.4896 GB, free: 20.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.3193, allocations: 118.6 kB / 0.4897 GB, free: 19.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.3195, allocations: 163.8 kB / 0.4899 GB, free: 19.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.3199, allocations: 272.8 kB / 0.4901 GB, free: 19.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3199, allocations: 1.281 kB / 0.4901 GB, free: 19.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009652/0.3209, allocations: 482.1 kB / 0.4906 GB, free: 19.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3209, allocations: 6.125 kB / 0.4906 GB, free: 19.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3209, allocations: 1.094 kB / 0.4906 GB, free: 19.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009001/0.3218, allocations: 196.2 kB / 0.4908 GB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.322, allocations: 43.56 kB / 0.4908 GB, free: 19.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005503/0.3225, allocations: 0.7205 MB / 0.4915 GB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.3227, allocations: 31.28 kB / 0.4916 GB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.3227, allocations: 15.89 kB / 0.4916 GB, free: 18.59 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.0001008/0.3229, allocations: 142 kB / 0.4917 GB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.3229, allocations: 17.12 kB / 0.4917 GB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007155/0.3236, allocations: 381.7 kB / 0.4921 GB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.3236, allocations: 2.656 kB / 0.4921 GB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3236, allocations: 0 / 0.4921 GB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3236, allocations: 1.469 kB / 0.4921 GB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.3239, allocations: 345 kB / 0.4924 GB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3239, allocations: 3.938 kB / 0.4924 GB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.324, allocations: 19.28 kB / 0.4924 GB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007361/0.3247, allocations: 210.4 kB / 0.4926 GB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.3247, allocations: 1.031 kB / 0.4926 GB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006267/0.3254, allocations: 0.7316 MB / 0.4934 GB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3254, allocations: 0 / 0.4934 GB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005991/0.326, allocations: 378 kB / 0.4937 GB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.326, allocations: 94.45 kB / 0.4938 GB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.326, allocations: 5.281 kB / 0.4938 GB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.3262, allocations: 18.27 kB / 0.4938 GB, free: 16.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.3263, allocations: 24.22 kB / 0.4939 GB, free: 16.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.3263, allocations: 8.422 kB / 0.4939 GB, free: 16.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.3264, allocations: 130.8 kB / 0.494 GB, free: 16.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3264, allocations: 0 / 0.494 GB, free: 16.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.3267, allocations: 60.17 kB / 0.494 GB, free: 16.61 MB / 366.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.0001869/0.3269, allocations: 125.1 kB / 0.4942 GB, free: 16.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00076/0.3276, allocations: 286.9 kB / 0.4944 GB, free: 16.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3276, allocations: 0 / 0.4944 GB, free: 16.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005534/0.3282, allocations: 167.3 kB / 0.4946 GB, free: 16.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.3285, allocations: 27.94 kB / 0.4946 GB, free: 16.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.3296, allocations: 422.2 kB / 0.495 GB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.3297, allocations: 0.7238 MB / 0.4957 GB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.756e-05/0.3298, allocations: 23.84 kB / 0.4958 GB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.3299, allocations: 25.98 kB / 0.4958 GB, free: 15.24 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3299, allocations: 3.938 kB / 0.4958 GB, free: 15.24 MB / 366.1 MB Notification: Performance of Templates: time 0.007459/0.3373, allocations: 3.872 MB / 0.4996 GB, free: 13.3 MB / 366.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 os._exit(0), Time elapsed: 4.695101144723594]