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.0009659/0.0009659, allocations: 84.22 kB / 20.98 MB, free: 3.566 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.0009293/0.0009293, allocations: 165 kB / 24.29 MB, free: 268 kB / 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 1/1, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.02406/0.02406, allocations: 4.487 MB / 265.6 MB, free: 8.605 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.422e-06/1.422e-06, allocations: 3.938 kB / 336.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.474e-05, allocations: 10.19 kB / 336.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.001746/0.00177, allocations: 1.416 MB / 337.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.002939, allocations: 1.481 MB / 339.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.003003, allocations: 0 / 339.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.003249, allocations: 111.3 kB / 339.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.003518, allocations: 147.1 kB / 339.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009304/0.004449, allocations: 0.8595 MB / 340.5 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.004688, allocations: 191.1 kB / 340.7 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.004797, allocations: 33.59 kB / 340.7 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.478e-05/0.004882, allocations: 119.7 kB / 340.8 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.005004, allocations: 75.78 kB / 340.9 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.005026, allocations: 23.98 kB / 340.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.005261, allocations: 219.6 kB / 341.1 MB, free: 8.934 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.005288, allocations: 43.83 kB / 341.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.005333, allocations: 67.83 kB / 341.2 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.005612, allocations: 350.8 kB / 341.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.005614, allocations: 0 / 341.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005615, allocations: 0 / 341.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.005619, allocations: 0 / 341.6 MB, free: 8.48 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.00122/0.006838, allocations: 0.7394 MB / 342.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.006887, allocations: 12.03 kB / 342.3 MB, free: 7.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.875e-05/0.006976, allocations: 40.78 kB / 342.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.007216, allocations: 185 kB / 342.6 MB, free: 7.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/0.007295, allocations: 93.67 kB / 342.6 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.007324, allocations: 20.38 kB / 342.7 MB, free: 7.312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.007545, allocations: 197.3 kB / 342.9 MB, free: 7.102 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.007556, allocations: 192 / 342.9 MB, free: 7.102 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.007575, allocations: 4.375 kB / 342.9 MB, free: 7.098 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.007586, allocations: 8.125 kB / 342.9 MB, free: 7.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.007717, allocations: 95.88 kB / 343 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000765/0.008482, allocations: 0.6592 MB / 343.6 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.008774, allocations: 170.9 kB / 343.8 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.053e-05/0.008844, allocations: 51.67 kB / 343.8 MB, free: 6.066 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.192e-05/0.008926, allocations: 15.98 kB / 343.9 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.00911, allocations: 175.9 kB / 344 MB, free: 5.855 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.009111, allocations: 4 kB / 344 MB, free: 5.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007958/0.009907, allocations: 368.8 kB / 344.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.686e-05/0.009924, allocations: 55.41 kB / 344.4 MB, free: 5.414 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.44e-05/0.01002, allocations: 228.5 kB / 344.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.01004, allocations: 33.7 kB / 344.7 MB, free: 5.137 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.01008, allocations: 183.1 kB / 344.9 MB, free: 4.953 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.01011, allocations: 75.31 kB / 345 MB, free: 4.879 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/0.01017, allocations: 59.64 kB / 345 MB, free: 4.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.868e-05/0.01022, allocations: 0.5117 MB / 345.5 MB, free: 4.285 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.798e-05/0.0103, allocations: 60.53 kB / 345.6 MB, free: 4.227 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.814e-05/0.0104, allocations: 127.5 kB / 345.7 MB, free: 4.082 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.01057, allocations: 202.8 kB / 345.9 MB, free: 3.863 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.01058, allocations: 0 / 345.9 MB, free: 3.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004821/0.01106, allocations: 356.8 kB / 346.3 MB, free: 3.504 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.01107, allocations: 6.969 kB / 346.3 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01108, allocations: 4 kB / 346.3 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/0.01153, allocations: 151.6 kB / 346.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.01162, allocations: 39.92 kB / 346.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003077/0.01193, allocations: 0.882 MB / 347.3 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.01201, allocations: 27.78 kB / 347.4 MB, free: 2.363 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.01202, allocations: 12 kB / 347.4 MB, free: 2.352 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 6.436e-05/0.01209, allocations: 176.5 kB / 347.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.01211, allocations: 23.91 kB / 347.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/0.01245, allocations: 273.5 kB / 347.8 MB, free: 1.871 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01245, allocations: 7.938 kB / 347.8 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.01245, allocations: 0 / 347.8 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01246, allocations: 0 / 347.8 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.01265, allocations: 224.4 kB / 348.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.01265, allocations: 0 / 348.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.01277, allocations: 23.92 kB / 348.1 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/0.01323, allocations: 151.5 kB / 348.2 MB, free: 1.434 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.01325, allocations: 4 kB / 348.2 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003904/0.01364, allocations: 0.8936 MB / 349.1 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01364, allocations: 4 kB / 349.1 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.01398, allocations: 263.7 kB / 349.4 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.01401, allocations: 31.72 kB / 349.4 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.01404, allocations: 8 kB / 349.4 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.01411, allocations: 8 kB / 349.4 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.01417, allocations: 23.95 kB / 349.5 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.01419, allocations: 8 kB / 349.5 MB, free: 140 kB / 266.7 MB Notification: Performance of sorting global known variables: time 8.15e-05/0.01427, allocations: 164.5 kB / 349.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01427, allocations: 0 / 349.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.01448, allocations: 56 kB / 349.7 MB, free: 15.92 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.0001845/0.01467, allocations: 127.2 kB / 349.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004685/0.01513, allocations: 213.2 kB / 350 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01514, allocations: 0 / 350 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.01538, allocations: 134 kB / 350.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.01559, allocations: 23.98 kB / 350.2 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/0.01646, allocations: 374.9 kB / 350.5 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.342e-05/0.01651, allocations: 72.44 kB / 350.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.28e-05/0.01657, allocations: 25.62 kB / 350.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.01661, allocations: 32.48 kB / 350.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01661, allocations: 0 / 350.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of Templates: time 0.005233/0.02184, allocations: 3.371 MB / 354 MB, free: 11.54 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.9618484729435295]