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.001064/0.001064, allocations: 82.64 kB / 21.48 MB, free: 3.02 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.001125/0.001125, allocations: 167.8 kB / 24.88 MB, free: 8.758 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.9758/0.9758, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.02607/0.02607, allocations: 4.486 MB / 266.3 MB, free: 8.426 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.212e-06/1.212e-06, allocations: 0 / 337.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.588e-05, allocations: 2.312 kB / 337.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002613/0.002639, allocations: 1.4 MB / 339.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.00468, allocations: 1.481 MB / 340.6 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.004795, allocations: 0 / 340.6 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.005186, allocations: 119.3 kB / 340.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.005646, allocations: 147.1 kB / 340.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.006978, allocations: 0.8322 MB / 341.7 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.007332, allocations: 199.1 kB / 341.9 MB, free: 9.879 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.007464, allocations: 33.73 kB / 341.9 MB, free: 9.844 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.007617, allocations: 119.8 kB / 342 MB, free: 9.727 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.007793, allocations: 75.78 kB / 342.1 MB, free: 9.652 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.007824, allocations: 12 kB / 342.1 MB, free: 9.641 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005828/0.008407, allocations: 227.5 kB / 342.3 MB, free: 9.418 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.008462, allocations: 43.83 kB / 342.4 MB, free: 9.375 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.002e-05/0.008542, allocations: 63.83 kB / 342.4 MB, free: 9.312 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005893/0.009132, allocations: 350.9 kB / 342.8 MB, free: 8.969 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.009135, allocations: 0 / 342.8 MB, free: 8.969 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.009136, allocations: 4 kB / 342.8 MB, free: 8.965 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.00914, allocations: 0 / 342.8 MB, free: 8.965 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.001744/0.01088, allocations: 0.7379 MB / 343.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.01092, allocations: 12.03 kB / 343.5 MB, free: 8.176 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.073e-05/0.011, allocations: 32.8 kB / 343.6 MB, free: 8.145 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.01124, allocations: 187.8 kB / 343.8 MB, free: 7.934 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.01134, allocations: 105.6 kB / 343.9 MB, free: 7.812 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.01138, allocations: 16.38 kB / 343.9 MB, free: 7.797 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.01164, allocations: 185.3 kB / 344.1 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.01165, allocations: 4.188 kB / 344.1 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.01167, allocations: 4.375 kB / 344.1 MB, free: 7.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.01168, allocations: 8.125 kB / 344.1 MB, free: 7.582 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.01183, allocations: 72.31 kB / 344.1 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.01324, allocations: 0.6359 MB / 344.8 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.01362, allocations: 150.9 kB / 344.9 MB, free: 6.688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.863e-05/0.0137, allocations: 43.67 kB / 345 MB, free: 6.641 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.936e-05/0.01378, allocations: 11.98 kB / 345 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.014, allocations: 176.6 kB / 345.1 MB, free: 6.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.014, allocations: 3.938 kB / 345.2 MB, free: 6.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.001142/0.01514, allocations: 336.1 kB / 345.5 MB, free: 6.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.01517, allocations: 55.34 kB / 345.5 MB, free: 6.023 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.01534, allocations: 231.1 kB / 345.8 MB, free: 5.781 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.01538, allocations: 33.7 kB / 345.8 MB, free: 5.742 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.01548, allocations: 179.1 kB / 346 MB, free: 5.562 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/0.01554, allocations: 83.34 kB / 346 MB, free: 5.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.01565, allocations: 55.62 kB / 346.1 MB, free: 5.414 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.0158, allocations: 0.504 MB / 346.6 MB, free: 4.898 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.31e-05/0.01589, allocations: 48.53 kB / 346.7 MB, free: 4.852 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.01603, allocations: 111.4 kB / 346.8 MB, free: 4.723 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.01627, allocations: 182.3 kB / 346.9 MB, free: 4.523 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.01627, allocations: 0 / 346.9 MB, free: 4.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007284/0.017, allocations: 324.8 kB / 347.3 MB, free: 4.195 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.01702, allocations: 12.06 kB / 347.3 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01703, allocations: 0 / 347.3 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006626/0.01769, allocations: 147.5 kB / 347.4 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.01784, allocations: 39.98 kB / 347.5 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005683/0.0184, allocations: 0.8662 MB / 348.3 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.01855, allocations: 19.88 kB / 348.3 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.01858, allocations: 12 kB / 348.4 MB, free: 3.066 MB / 314.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 0.000129/0.0187, allocations: 184.5 kB / 348.5 MB, free: 2.875 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.01875, allocations: 23.91 kB / 348.6 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004876/0.01924, allocations: 241.3 kB / 348.8 MB, free: 2.613 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01924, allocations: 4 kB / 348.8 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01925, allocations: 3.938 kB / 348.8 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.01925, allocations: 3.984 kB / 348.8 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.01949, allocations: 197.1 kB / 349 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01949, allocations: 0 / 349 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.624e-05/0.01958, allocations: 31.92 kB / 349 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005775/0.02015, allocations: 151.4 kB / 349.2 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.02017, allocations: 4 kB / 349.2 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005997/0.02077, allocations: 0.8858 MB / 350.1 MB, free: 1.277 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02077, allocations: 0 / 350.1 MB, free: 1.277 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.02122, allocations: 255.6 kB / 350.3 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.02126, allocations: 23.83 kB / 350.3 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.02129, allocations: 4 kB / 350.3 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.0214, allocations: 12 kB / 350.4 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.02145, allocations: 15.97 kB / 350.4 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.02147, allocations: 7.984 kB / 350.4 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.107e-05/0.02156, allocations: 160.8 kB / 350.5 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02156, allocations: 0 / 350.5 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003397/0.0219, allocations: 60 kB / 350.6 MB, free: 0.7227 MB / 314.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.0001869/0.02209, allocations: 111.2 kB / 350.7 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004848/0.02257, allocations: 201.5 kB / 350.9 MB, free: 412 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.02257, allocations: 4 kB / 350.9 MB, free: 408 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.02291, allocations: 114.3 kB / 351 MB, free: 292 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.02318, allocations: 35.91 kB / 351 MB, free: 256 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.02441, allocations: 367.2 kB / 351.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.402e-05/0.02446, allocations: 72.5 kB / 351.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.926e-05/0.02456, allocations: 25.62 kB / 351.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.02468, allocations: 106.1 kB / 351.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02468, allocations: 0 / 351.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of Templates: time 0.007335/0.03201, allocations: 3.73 MB / 355.3 MB, free: 11.94 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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.8332109842449427]