Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.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.0019/0.0019, allocations: 78.72 kB / 20.55 MB, free: 1.246 MB / 14.72 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.002212/0.002212, allocations: 171.2 kB / 23.8 MB, free: 4.434 MB / 14.72 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.399/1.399, allocations: 177.2 MB / 204.2 MB, free: 8.961 MB / 190.1 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.03569/0.03569, allocations: 4.482 MB / 265.1 MB, free: 12.17 MB / 254.1 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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 47.92 kB / 390.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09725/0.09887, allocations: 55 MB / 445.6 MB, free: 6.762 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.004155/0.103, allocations: 2.212 MB / 447.8 MB, free: 4.547 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004657/0.1077, allocations: 2.744 MB / 450.6 MB, free: 1.781 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.1079, allocations: 4 kB / 450.6 MB, free: 1.777 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005922/0.1085, allocations: 171 kB / 450.7 MB, free: 1.609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009753/0.1095, allocations: 326.3 kB / 451.1 MB, free: 1.289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.1121, allocations: 1.187 MB / 452.2 MB, free: 104 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007841/0.1128, allocations: 418.2 kB / 452.6 MB, free: 15.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.1131, allocations: 84.78 kB / 452.7 MB, free: 15.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.1133, allocations: 175.3 kB / 452.9 MB, free: 15.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003871/0.1137, allocations: 191.1 kB / 453.1 MB, free: 15.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.634e-05/0.1138, allocations: 32 kB / 453.1 MB, free: 15.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007327/0.1145, allocations: 371.7 kB / 453.5 MB, free: 14.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.1147, allocations: 91.67 kB / 453.6 MB, free: 14.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.1149, allocations: 159.2 kB / 453.7 MB, free: 14.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009437/0.1158, allocations: 0.6812 MB / 454.4 MB, free: 13.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1158, allocations: 3.938 kB / 454.4 MB, free: 13.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1158, allocations: 4 kB / 454.4 MB, free: 13.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1158, allocations: 0 / 454.4 MB, free: 13.92 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004468/0.1203, allocations: 1.187 MB / 455.6 MB, free: 12.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1203, allocations: 8.031 kB / 455.6 MB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.1205, allocations: 52.66 kB / 455.7 MB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.1209, allocations: 273.3 kB / 455.9 MB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.878e-05/0.121, allocations: 50.92 kB / 456 MB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.121, allocations: 32.12 kB / 456 MB, free: 12.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008757/0.1219, allocations: 0.615 MB / 456.6 MB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1219, allocations: 0 / 456.6 MB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.122, allocations: 16 kB / 456.6 MB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.122, allocations: 8 kB / 456.6 MB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000641/0.1226, allocations: 390.5 kB / 457 MB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.1248, allocations: 1.026 MB / 458.1 MB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009917/0.1258, allocations: 454.8 kB / 458.5 MB, free: 9.668 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/0.1262, allocations: 228.8 kB / 458.7 MB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.876e-05/0.1262, allocations: 7.984 kB / 458.7 MB, free: 9.434 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006686/0.1269, allocations: 459.7 kB / 459.2 MB, free: 8.941 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 1.663e-06/0.1269, allocations: 0 / 459.2 MB, free: 8.941 MB / 430.1 MB Notification: Performance of matching and sorting (n=43): time 0.004472/0.1314, allocations: 1.264 MB / 460.4 MB, free: 7.668 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.1314, allocations: 106.8 kB / 460.5 MB, free: 7.539 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.1318, allocations: 304 kB / 460.8 MB, free: 7.234 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/0.1319, allocations: 37.7 kB / 460.9 MB, free: 7.191 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.132, allocations: 161.2 kB / 461 MB, free: 7.027 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.1321, allocations: 150.7 kB / 461.2 MB, free: 6.879 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.1323, allocations: 114 kB / 461.3 MB, free: 6.762 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1325, allocations: 338.8 kB / 461.6 MB, free: 6.422 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.133, allocations: 260.9 kB / 461.9 MB, free: 6.168 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005503/0.1335, allocations: 367.4 kB / 462.2 MB, free: 5.785 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009672/0.1345, allocations: 0.5613 MB / 462.8 MB, free: 5.223 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1345, allocations: 3.938 kB / 462.8 MB, free: 5.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002147/0.1366, allocations: 0.9042 MB / 463.7 MB, free: 4.305 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1367, allocations: 4 kB / 463.7 MB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1367, allocations: 0 / 463.7 MB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002872/0.1395, allocations: 0.6011 MB / 464.3 MB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.1398, allocations: 79.83 kB / 464.4 MB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.1417, allocations: 1.072 MB / 465.5 MB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.142, allocations: 43.67 kB / 465.5 MB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.1421, allocations: 19.98 kB / 465.5 MB, free: 2.461 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002212/0.1423, allocations: 161.7 kB / 465.7 MB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-05/0.1424, allocations: 39.7 kB / 465.7 MB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.1439, allocations: 0.7792 MB / 466.5 MB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.1439, allocations: 8 kB / 466.5 MB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1439, allocations: 0 / 466.5 MB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.1439, allocations: 7.984 kB / 466.5 MB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.1444, allocations: 389.8 kB / 466.9 MB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1444, allocations: 0 / 466.9 MB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.1446, allocations: 55.92 kB / 467 MB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002708/0.1473, allocations: 0.5849 MB / 467.5 MB, free: 408 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.1474, allocations: 12 kB / 467.6 MB, free: 396 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.1492, allocations: 1.079 MB / 468.6 MB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1492, allocations: 0 / 468.6 MB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.1505, allocations: 0.7343 MB / 469.4 MB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.1505, allocations: 35.73 kB / 469.4 MB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.1506, allocations: 12 kB / 469.4 MB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.1509, allocations: 27.86 kB / 469.4 MB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.151, allocations: 36.38 kB / 469.5 MB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.151, allocations: 16 kB / 469.5 MB, free: 14.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000259/0.1513, allocations: 207.1 kB / 469.7 MB, free: 14.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1513, allocations: 4 kB / 469.7 MB, free: 14.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004837/0.1518, allocations: 151.8 kB / 469.8 MB, free: 14.05 MB / 446.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,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001735/0.1535, allocations: 499.4 kB / 470.3 MB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001879/0.1554, allocations: 0.6661 MB / 471 MB, free: 13.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.1554, allocations: 3.953 kB / 471 MB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.1567, allocations: 386.7 kB / 471.4 MB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.157, allocations: 55.67 kB / 471.4 MB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.1585, allocations: 0.7648 MB / 472.2 MB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.1587, allocations: 186.8 kB / 472.4 MB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.1589, allocations: 62.91 kB / 472.4 MB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.159, allocations: 40.48 kB / 472.5 MB, free: 11.54 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.159, allocations: 0 / 472.5 MB, free: 11.54 MB / 446.1 MB Notification: Performance of Templates: time 0.01406/0.173, allocations: 7.645 MB / 480.1 MB, free: 3.965 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableLoad -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.677910649916157] Failed to read output from testmodel.py, exit status != 0: 0.18192207999527454 0.34732410599999997 0.22916042099999995 Calling exit ...