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.0009816/0.0009816, allocations: 79.36 kB / 20.47 MB, free: 4.105 MB / 18.57 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.0009958/0.0009958, allocations: 169 kB / 23.84 MB, free: 0.7305 MB / 18.57 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 0.9394/0.9394, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.02966/0.02966, allocations: 4.49 MB / 265.2 MB, free: 8.555 MB / 250.7 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 1.413e-06/1.413e-06, allocations: 0 / 336.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/1.998e-05, allocations: 2.312 kB / 336.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.001945/0.001965, allocations: 1.423 MB / 337.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.003303, allocations: 1.485 MB / 339.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.003356, allocations: 0 / 339.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.003614, allocations: 111.3 kB / 339.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.003943, allocations: 151.1 kB / 339.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009608/0.004903, allocations: 0.8595 MB / 340.5 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.00512, allocations: 195.1 kB / 340.7 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.005222, allocations: 29.66 kB / 340.7 MB, free: 9.004 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.079e-05/0.005313, allocations: 123.7 kB / 340.8 MB, free: 8.883 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.00544, allocations: 79.78 kB / 340.9 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.005465, allocations: 12 kB / 340.9 MB, free: 8.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.005789, allocations: 223.5 kB / 341.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.005822, allocations: 43.83 kB / 341.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.005877, allocations: 67.83 kB / 341.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.006241, allocations: 350.9 kB / 341.6 MB, free: 8.121 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.006244, allocations: 0 / 341.6 MB, free: 8.121 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.006244, allocations: 0 / 341.6 MB, free: 8.121 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.006249, allocations: 0 / 341.6 MB, free: 8.121 MB / 266.7 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.001266/0.007515, allocations: 0.7394 MB / 342.3 MB, free: 7.344 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.007553, allocations: 12.03 kB / 342.4 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.286e-05/0.007615, allocations: 32.8 kB / 342.4 MB, free: 7.301 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.007788, allocations: 191.4 kB / 342.6 MB, free: 7.086 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.007849, allocations: 101.7 kB / 342.7 MB, free: 6.969 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.007872, allocations: 16.38 kB / 342.7 MB, free: 6.953 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.008072, allocations: 201.3 kB / 342.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.00808, allocations: 192 / 342.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.008098, allocations: 4.375 kB / 342.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.008106, allocations: 8.125 kB / 342.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.00824, allocations: 95.94 kB / 343 MB, free: 6.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007244/0.008964, allocations: 0.6631 MB / 343.7 MB, free: 5.934 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.009236, allocations: 158.9 kB / 343.8 MB, free: 5.766 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.936e-05/0.009305, allocations: 55.61 kB / 343.9 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.895e-05/0.009374, allocations: 19.98 kB / 343.9 MB, free: 5.688 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.009528, allocations: 173.6 kB / 344 MB, free: 5.492 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.009529, allocations: 0 / 344 MB, free: 5.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007862/0.01032, allocations: 383.1 kB / 344.4 MB, free: 5.109 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.37e-05/0.01033, allocations: 51.41 kB / 344.5 MB, free: 5.047 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.01042, allocations: 231.8 kB / 344.7 MB, free: 4.805 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.01043, allocations: 29.7 kB / 344.7 MB, free: 4.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.01048, allocations: 179.2 kB / 344.9 MB, free: 4.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.01052, allocations: 67.39 kB / 345 MB, free: 4.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/0.01058, allocations: 67.62 kB / 345 MB, free: 4.445 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.01062, allocations: 0.4962 MB / 345.5 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.002e-05/0.0107, allocations: 68.45 kB / 345.6 MB, free: 3.871 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.01081, allocations: 131.5 kB / 345.7 MB, free: 3.723 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.01099, allocations: 202.7 kB / 345.9 MB, free: 3.504 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01099, allocations: 0 / 345.9 MB, free: 3.504 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004923/0.01148, allocations: 360.8 kB / 346.3 MB, free: 3.141 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.0115, allocations: 8 kB / 346.3 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.0115, allocations: 0 / 346.3 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004586/0.01196, allocations: 155.5 kB / 346.4 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/0.01205, allocations: 39.92 kB / 346.5 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003127/0.01236, allocations: 0.8703 MB / 347.3 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.968e-05/0.01245, allocations: 31.83 kB / 347.4 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.01247, allocations: 12 kB / 347.4 MB, free: 1.992 MB / 266.7 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 7.546e-05/0.01255, allocations: 176.4 kB / 347.6 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.01257, allocations: 23.91 kB / 347.6 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.01292, allocations: 258.3 kB / 347.8 MB, free: 1.523 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01292, allocations: 7.938 kB / 347.8 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.01292, allocations: 0 / 347.8 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01293, allocations: 7.984 kB / 347.9 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.01306, allocations: 228.4 kB / 348.1 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01306, allocations: 0 / 348.1 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.196e-05/0.01311, allocations: 27.98 kB / 348.1 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003773/0.01349, allocations: 155.4 kB / 348.3 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.0135, allocations: 4 kB / 348.3 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003311/0.01383, allocations: 0.8936 MB / 349.2 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01384, allocations: 0 / 349.2 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.01418, allocations: 268.5 kB / 349.4 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.773e-05/0.0142, allocations: 31.78 kB / 349.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.01423, allocations: 0 / 349.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.706e-05/0.0143, allocations: 8 kB / 349.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.01434, allocations: 23.91 kB / 349.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.01436, allocations: 8.031 kB / 349.5 MB, free: 15.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.38e-05/0.01444, allocations: 166 kB / 349.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01444, allocations: 0 / 349.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001931/0.01464, allocations: 60 kB / 349.7 MB, free: 15.56 MB / 282.7 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.00015/0.01479, allocations: 123.2 kB / 349.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004109/0.0152, allocations: 224.2 kB / 350 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.0152, allocations: 0 / 350 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.01543, allocations: 123.5 kB / 350.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.01561, allocations: 28.23 kB / 350.2 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008289/0.01644, allocations: 374.9 kB / 350.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.782e-05/0.01649, allocations: 76.44 kB / 350.6 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.19e-05/0.01655, allocations: 25.62 kB / 350.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.01659, allocations: 24.48 kB / 350.7 MB, free: 14.52 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01659, allocations: 0 / 350.7 MB, free: 14.52 MB / 282.7 MB Notification: Performance of Templates: time 0.005431/0.02202, allocations: 3.673 MB / 354.4 MB, free: 10.88 MB / 282.7 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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.7080316650681198]