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.001121/0.001121, allocations: 80.06 kB / 20.76 MB, free: 3.727 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.001205/0.001205, allocations: 173 kB / 24.18 MB, free: 312 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 0.9995/0.9995, allocations: 177.1 MB / 204.6 MB, free: 5.457 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.02608/0.02608, allocations: 4.486 MB / 265.6 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.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 1.393e-06/1.393e-06, allocations: 0 / 283.7 MB, free: 6.266 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.383e-05, allocations: 6.312 kB / 283.7 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.005411/0.005435, allocations: 2.394 MB / 286.1 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.008643, allocations: 2.872 MB / 289 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.008804, allocations: 8 kB / 289 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.009321, allocations: 178.8 kB / 289.2 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007203/0.01004, allocations: 322 kB / 289.5 MB, free: 476 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1077/0.1177, allocations: 1.201 MB / 290.7 MB, free: 19.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005802/0.1183, allocations: 425.1 kB / 291.1 MB, free: 19.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.1185, allocations: 85.17 kB / 291.2 MB, free: 19.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.1188, allocations: 250.5 kB / 291.4 MB, free: 19.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.119, allocations: 159.6 kB / 291.6 MB, free: 19.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.617e-05/0.1191, allocations: 30.97 kB / 291.6 MB, free: 19.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000709/0.1198, allocations: 395.2 kB / 292 MB, free: 19.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.138e-05/0.1199, allocations: 86.95 kB / 292.1 MB, free: 19.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.12, allocations: 131.1 kB / 292.2 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008879/0.1209, allocations: 0.6227 MB / 292.8 MB, free: 19.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1209, allocations: 5.5 kB / 292.8 MB, free: 19.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1209, allocations: 0 / 292.8 MB, free: 19.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.1209, allocations: 0.5312 kB / 292.8 MB, free: 19.14 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002653/0.1235, allocations: 1.222 MB / 294.1 MB, free: 18.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1236, allocations: 9.188 kB / 294.1 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.1237, allocations: 55.73 kB / 294.1 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.124, allocations: 221.2 kB / 294.3 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.124, allocations: 56.62 kB / 294.4 MB, free: 18.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.1241, allocations: 33.31 kB / 294.4 MB, free: 18.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.1245, allocations: 458.6 kB / 294.9 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1245, allocations: 1.812 kB / 294.9 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.1245, allocations: 15.44 kB / 294.9 MB, free: 18.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.1245, allocations: 5.719 kB / 294.9 MB, free: 18.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.1247, allocations: 117.8 kB / 295 MB, free: 18.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.1259, allocations: 0.692 MB / 295.7 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.1262, allocations: 301.6 kB / 296 MB, free: 17.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.1264, allocations: 80.86 kB / 296.1 MB, free: 17.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.448e-05/0.1264, allocations: 14.98 kB / 296.1 MB, free: 17.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.1267, allocations: 316.7 kB / 296.4 MB, free: 17.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.1267, allocations: 0.7188 kB / 296.4 MB, free: 17.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001755/0.1284, allocations: 0.7228 MB / 297.1 MB, free: 17.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.1285, allocations: 107.8 kB / 297.2 MB, free: 17.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.1287, allocations: 274.3 kB / 297.5 MB, free: 17.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.1287, allocations: 39.95 kB / 297.5 MB, free: 17.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.1288, allocations: 148.8 kB / 297.7 MB, free: 17.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.861e-05/0.1288, allocations: 155.4 kB / 297.8 MB, free: 17.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.129, allocations: 96.58 kB / 297.9 MB, free: 17.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.129, allocations: 345.6 kB / 298.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.1292, allocations: 95.27 kB / 298.4 MB, free: 16.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.1293, allocations: 191.4 kB / 298.6 MB, free: 16.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.1296, allocations: 267.5 kB / 298.8 MB, free: 16.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1296, allocations: 0.9062 kB / 298.8 MB, free: 16.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007922/0.1304, allocations: 478.9 kB / 299.3 MB, free: 16.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1304, allocations: 7.688 kB / 299.3 MB, free: 16.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1305, allocations: 0 / 299.3 MB, free: 16.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.1318, allocations: 0.4993 MB / 299.8 MB, free: 16.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.132, allocations: 79.83 kB / 299.9 MB, free: 16.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006312/0.1326, allocations: 0.7422 MB / 300.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.1329, allocations: 48.17 kB / 300.7 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.1329, allocations: 11.67 kB / 300.7 MB, free: 16.04 MB / 266.7 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.0001233/0.133, allocations: 141.9 kB / 300.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.1331, allocations: 39.91 kB / 300.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004706/0.1335, allocations: 356.8 kB / 301.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1335, allocations: 4.125 kB / 301.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-06/0.1335, allocations: 5.938 kB / 301.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1335, allocations: 2.625 kB / 301.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.1338, allocations: 284 kB / 301.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1338, allocations: 4 kB / 301.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.1339, allocations: 55.34 kB / 301.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/0.1351, allocations: 489.7 kB / 302 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.1351, allocations: 9.312 kB / 302 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005659/0.1357, allocations: 0.765 MB / 302.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1357, allocations: 3.938 kB / 302.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.1361, allocations: 336.5 kB / 303.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.1361, allocations: 43.92 kB / 303.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.1362, allocations: 10 kB / 303.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.1363, allocations: 26.91 kB / 303.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.1363, allocations: 26.34 kB / 303.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.1364, allocations: 13.3 kB / 303.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.234e-05/0.1365, allocations: 100.4 kB / 303.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1365, allocations: 0.9375 kB / 303.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003289/0.1368, allocations: 144.9 kB / 303.5 MB, free: 14.9 MB / 266.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,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.001201/0.138, allocations: 0.5883 MB / 304.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006777/0.1387, allocations: 394.7 kB / 304.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.587e-06/0.1387, allocations: 5.25 kB / 304.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.1391, allocations: 259.8 kB / 304.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.1393, allocations: 56.38 kB / 304.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009595/0.1402, allocations: 0.6583 MB / 305.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.953e-05/0.1403, allocations: 100.6 kB / 305.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.1404, allocations: 60.3 kB / 305.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.1405, allocations: 118.5 kB / 305.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1405, allocations: 0 / 305.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of Templates: time 0.009317/0.1499, allocations: 8.351 MB / 314.1 MB, free: 5.879 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.857044547330588]