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.001085/0.001085, allocations: 84.44 kB / 20.73 MB, free: 3.836 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.001191/0.001191, allocations: 169.9 kB / 24 MB, free: 0.5586 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.8513/0.8513, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.03585/0.03585, allocations: 4.462 MB / 265.2 MB, free: 8.758 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.583e-06/1.583e-06, allocations: 0 / 390.9 MB, free: 6.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.902e-05, allocations: 5.234 kB / 390.9 MB, free: 6.895 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.001764/0.001793, allocations: 1.343 MB / 392.2 MB, free: 5.551 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.003234, allocations: 1.434 MB / 393.6 MB, free: 4.102 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.003298, allocations: 4 kB / 393.6 MB, free: 4.098 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.003563, allocations: 107.2 kB / 393.8 MB, free: 3.992 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.00389, allocations: 151.1 kB / 393.9 MB, free: 3.844 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000828/0.004718, allocations: 0.8361 MB / 394.7 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.00495, allocations: 199.1 kB / 394.9 MB, free: 2.809 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.005062, allocations: 33.78 kB / 395 MB, free: 2.773 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.125e-05/0.005153, allocations: 111.7 kB / 395.1 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.005274, allocations: 75.78 kB / 395.1 MB, free: 2.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.005298, allocations: 16 kB / 395.2 MB, free: 2.574 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.005578, allocations: 231.5 kB / 395.4 MB, free: 2.348 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/0.005609, allocations: 39.84 kB / 395.4 MB, free: 2.309 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.00566, allocations: 63.83 kB / 395.5 MB, free: 2.246 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.006039, allocations: 394.8 kB / 395.9 MB, free: 1.859 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.006043, allocations: 0 / 395.9 MB, free: 1.859 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006044, allocations: 0 / 395.9 MB, free: 1.859 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.006049, allocations: 0 / 395.9 MB, free: 1.859 MB / 314.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.001433/0.007482, allocations: 0.6373 MB / 396.5 MB, free: 1.188 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.007514, allocations: 8.031 kB / 396.5 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.007573, allocations: 24.8 kB / 396.5 MB, free: 1.156 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.007778, allocations: 177.5 kB / 396.7 MB, free: 0.957 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/0.007859, allocations: 101.6 kB / 396.8 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.007882, allocations: 16.38 kB / 396.8 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.008156, allocations: 273.7 kB / 397.1 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.008164, allocations: 192 / 397.1 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.008185, allocations: 12.38 kB / 397.1 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.008192, allocations: 8.125 kB / 397.1 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.00841, allocations: 199.9 kB / 397.3 MB, free: 332 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008923/0.009302, allocations: 0.6908 MB / 398 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.009647, allocations: 214.5 kB / 398.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.009761, allocations: 103.8 kB / 398.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.44e-05/0.009835, allocations: 4 kB / 398.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002742/0.01011, allocations: 231 kB / 398.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.283e-06/0.01011, allocations: 0 / 398.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.000973/0.01108, allocations: 0.5293 MB / 399.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.01111, allocations: 51.41 kB / 399.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.01124, allocations: 186.8 kB / 399.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.01126, allocations: 33.64 kB / 399.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.01132, allocations: 128.5 kB / 399.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.01136, allocations: 83.3 kB / 399.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.01142, allocations: 53.97 kB / 399.6 MB, free: 13.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.0115, allocations: 326.8 kB / 399.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.01162, allocations: 124.5 kB / 400 MB, free: 13.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.01177, allocations: 162.2 kB / 400.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.01204, allocations: 292.1 kB / 400.5 MB, free: 13 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01204, allocations: 0 / 400.5 MB, free: 13 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005989/0.01264, allocations: 478 kB / 401 MB, free: 12.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01266, allocations: 4 kB / 401 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.01266, allocations: 4 kB / 401 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005229/0.01319, allocations: 188.6 kB / 401.1 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.01329, allocations: 43.97 kB / 401.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004703/0.01376, allocations: 0.7242 MB / 401.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.49e-05/0.01385, allocations: 19.84 kB / 401.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.01387, allocations: 16.03 kB / 401.9 MB, free: 11.5 MB / 330.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 9.756e-05/0.01396, allocations: 137.7 kB / 402.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.01398, allocations: 15.91 kB / 402.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004647/0.01445, allocations: 383.4 kB / 402.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.01445, allocations: 7.938 kB / 402.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01446, allocations: 0 / 402.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01446, allocations: 0 / 402.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.01463, allocations: 225.2 kB / 402.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01464, allocations: 0 / 402.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.653e-05/0.01469, allocations: 27.98 kB / 402.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004072/0.0151, allocations: 200.7 kB / 402.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.01511, allocations: 3.984 kB / 402.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007132/0.01583, allocations: 0.7436 MB / 403.7 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01583, allocations: 4.016 kB / 403.7 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.01623, allocations: 373.6 kB / 404 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.01625, allocations: 23.83 kB / 404.1 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.01627, allocations: 8 kB / 404.1 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.01635, allocations: 23.97 kB / 404.1 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.01639, allocations: 15.91 kB / 404.1 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.01641, allocations: 8 kB / 404.1 MB, free: 9.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.391e-05/0.01648, allocations: 135.9 kB / 404.2 MB, free: 9.105 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01648, allocations: 0 / 404.2 MB, free: 9.105 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.01668, allocations: 63.88 kB / 404.3 MB, free: 9.043 MB / 330.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.0001689/0.01685, allocations: 118.4 kB / 404.4 MB, free: 8.918 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.0173, allocations: 299.9 kB / 404.7 MB, free: 8.625 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01731, allocations: 0 / 404.7 MB, free: 8.625 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.01756, allocations: 164.1 kB / 404.9 MB, free: 8.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.01775, allocations: 26.73 kB / 404.9 MB, free: 8.441 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.01835, allocations: 416.3 kB / 405.3 MB, free: 8.004 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.395e-05/0.01842, allocations: 121 kB / 405.4 MB, free: 7.863 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.01846, allocations: 20.5 kB / 405.5 MB, free: 7.84 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01846, allocations: 0 / 405.5 MB, free: 7.84 MB / 330.7 MB Notification: Performance of Templates: time 0.003657/0.02211, allocations: 3.478 MB / 408.9 MB, free: 4.359 MB / 330.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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.375423980876803] Failed to read output from testmodel.py, exit status != 0: 0.02768880221992731 0.17059769900000002 0.16260660600000001 Calling exit ...