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.001737/0.001737, allocations: 105 kB / 20.49 MB, free: 1.457 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.002185/0.002185, allocations: 216.4 kB / 23.8 MB, free: 4.652 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.424/1.424, allocations: 230.6 MB / 257.6 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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.03488/0.03488, allocations: 6.133 MB / 320.1 MB, free: 12.97 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.001539/0.001539, allocations: 51.92 kB / 445.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09556, allocations: 55.03 MB / 0.4891 GB, free: 13.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.003994/0.09955, allocations: 2.466 MB / 0.4915 GB, free: 11.31 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003965/0.1035, allocations: 2.837 MB / 0.4942 GB, free: 8.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.1036, allocations: 4 kB / 0.4942 GB, free: 8.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005029/0.1041, allocations: 175 kB / 0.4944 GB, free: 8.277 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000791/0.1049, allocations: 338.2 kB / 0.4947 GB, free: 7.945 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.1073, allocations: 1.282 MB / 0.496 GB, free: 6.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.1079, allocations: 418.1 kB / 0.4964 GB, free: 6.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.1081, allocations: 84.86 kB / 0.4965 GB, free: 6.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.1083, allocations: 175.3 kB / 0.4966 GB, free: 5.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.1086, allocations: 207.1 kB / 0.4968 GB, free: 5.793 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.79e-05/0.1086, allocations: 32 kB / 0.4968 GB, free: 5.762 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006434/0.1093, allocations: 411.6 kB / 0.4972 GB, free: 5.359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1094, allocations: 91.62 kB / 0.4973 GB, free: 5.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.1096, allocations: 191 kB / 0.4975 GB, free: 5.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008779/0.1105, allocations: 0.6812 MB / 0.4982 GB, free: 4.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.1105, allocations: 0 / 0.4982 GB, free: 4.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1105, allocations: 0 / 0.4982 GB, free: 4.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1105, allocations: 0 / 0.4982 GB, free: 4.398 MB / 366.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.004375/0.1149, allocations: 1.187 MB / 0.4993 GB, free: 3.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1149, allocations: 12.02 kB / 0.4993 GB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.115, allocations: 48.66 kB / 0.4994 GB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.1155, allocations: 273.3 kB / 0.4997 GB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/0.1155, allocations: 58.92 kB / 0.4997 GB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.1156, allocations: 36.12 kB / 0.4997 GB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.1163, allocations: 445.9 kB / 0.5002 GB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1163, allocations: 3.938 kB / 0.5002 GB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.1164, allocations: 16 kB / 0.5002 GB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1164, allocations: 4 kB / 0.5002 GB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006408/0.117, allocations: 394.5 kB / 0.5006 GB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.1194, allocations: 1.301 MB / 0.5018 GB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009553/0.1204, allocations: 462.9 kB / 0.5023 GB, free: 36 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/0.1207, allocations: 224.9 kB / 0.5025 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-05/0.1208, allocations: 11.89 kB / 0.5025 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005842/0.1214, allocations: 327.1 kB / 0.5028 GB, free: 15.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 1.773e-06/0.1214, allocations: 0 / 0.5028 GB, free: 15.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.004432/0.1258, allocations: 1.256 MB / 0.504 GB, free: 14.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.1259, allocations: 114.8 kB / 0.5042 GB, free: 14.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.1263, allocations: 304.1 kB / 0.5044 GB, free: 13.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.1263, allocations: 37.7 kB / 0.5045 GB, free: 13.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.1264, allocations: 165.1 kB / 0.5046 GB, free: 13.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.1266, allocations: 154.7 kB / 0.5048 GB, free: 13.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.1267, allocations: 94.17 kB / 0.5049 GB, free: 13.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1269, allocations: 346.7 kB / 0.5052 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.1273, allocations: 260.9 kB / 0.5055 GB, free: 12.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00048/0.1278, allocations: 315.9 kB / 0.5058 GB, free: 12.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008995/0.1287, allocations: 0.5613 MB / 0.5063 GB, free: 11.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1287, allocations: 0 / 0.5063 GB, free: 11.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002077/0.1308, allocations: 0.9119 MB / 0.5072 GB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1308, allocations: 4 kB / 0.5072 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1308, allocations: 0 / 0.5072 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002833/0.1337, allocations: 0.6211 MB / 0.5078 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.134, allocations: 71.91 kB / 0.5079 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.1358, allocations: 1.06 MB / 0.5089 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.1361, allocations: 51.61 kB / 0.509 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.1362, allocations: 12 kB / 0.509 GB, free: 9.047 MB / 382.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.0002116/0.1364, allocations: 165.7 kB / 0.5091 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/0.1365, allocations: 39.77 kB / 0.5092 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.1379, allocations: 0.77 MB / 0.5099 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.1379, allocations: 11.97 kB / 0.5099 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.138, allocations: 0 / 0.5099 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.138, allocations: 0 / 0.5099 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006212/0.1386, allocations: 0.5436 MB / 0.5105 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1386, allocations: 0 / 0.5105 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.1388, allocations: 51.91 kB / 0.5105 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002753/0.1415, allocations: 0.5811 MB / 0.5111 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.1416, allocations: 12 kB / 0.5111 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.1433, allocations: 1.083 MB / 0.5121 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1433, allocations: 3.938 kB / 0.5122 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.1445, allocations: 0.7172 MB / 0.5129 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.1446, allocations: 43.69 kB / 0.5129 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.1447, allocations: 8 kB / 0.5129 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.145, allocations: 23.92 kB / 0.5129 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.1451, allocations: 32.38 kB / 0.513 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/0.1451, allocations: 16 kB / 0.513 GB, free: 4.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002514/0.1454, allocations: 219 kB / 0.5132 GB, free: 4.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1454, allocations: 0 / 0.5132 GB, free: 4.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004862/0.1459, allocations: 151.8 kB / 0.5133 GB, free: 4.473 MB / 382.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.001706/0.1476, allocations: 490.6 kB / 0.5138 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001879/0.1495, allocations: 0.6729 MB / 0.5144 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1495, allocations: 0 / 0.5144 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.1507, allocations: 378.3 kB / 0.5148 GB, free: 3.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.1511, allocations: 44.62 kB / 0.5149 GB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.1526, allocations: 0.7898 MB / 0.5156 GB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.153, allocations: 0.7889 MB / 0.5164 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.1531, allocations: 51.42 kB / 0.5164 GB, free: 1.379 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1531, allocations: 0 / 0.5164 GB, free: 1.379 MB / 382.1 MB Notification: Performance of Templates: time 0.1817/0.3348, allocations: 7.442 MB / 0.5237 GB, free: 29.93 MB / 382.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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.873090619919822] Failed to read output from testmodel.py, exit status != 0: 0.34177242894656956 0.35379711699999994 0.24082842799999996 Calling exit ...