Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 117 kB / 18.41 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 190.9 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2914/0.2914, allocations: 37.99 MB / 337.2 MB, free: 12.93 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3703,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3703,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 68.31 kB / 467.5 MB, free: 27.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1108, allocations: 58.07 MB / 0.5133 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006015/0.1169, allocations: 4.077 MB / 0.5173 GB, free: 5.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.1185, allocations: 0.8492 MB / 0.5181 GB, free: 4.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.1187, allocations: 7.938 kB / 0.5181 GB, free: 4.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.1189, allocations: 51.52 kB / 0.5182 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00047/0.1194, allocations: 167.1 kB / 0.5183 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.1197, allocations: 87.81 kB / 0.5184 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.1201, allocations: 398.5 kB / 0.5188 GB, free: 4.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.1204, allocations: 110.2 kB / 0.5189 GB, free: 4.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.1207, allocations: 183.2 kB / 0.5191 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.121, allocations: 175.3 kB / 0.5192 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.1211, allocations: 20 kB / 0.5192 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.21e-05/0.1211, allocations: 20 kB / 0.5193 GB, free: 3.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1212, allocations: 91.7 kB / 0.5193 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.1214, allocations: 139.2 kB / 0.5195 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.1218, allocations: 294.7 kB / 0.5198 GB, free: 3.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1218, allocations: 0 / 0.5198 GB, free: 3.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1218, allocations: 4 kB / 0.5198 GB, free: 3.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1218, allocations: 0 / 0.5198 GB, free: 3.176 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001092/0.1229, allocations: 0.6008 MB / 0.5204 GB, free: 2.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.123, allocations: 11.89 kB / 0.5204 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.723e-05/0.123, allocations: 36.7 kB / 0.5204 GB, free: 2.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.1236, allocations: 343.2 kB / 0.5207 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1236, allocations: 16.81 kB / 0.5207 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.1238, allocations: 32.12 kB / 0.5208 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.1243, allocations: 294 kB / 0.5211 GB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1243, allocations: 4 kB / 0.5211 GB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.1243, allocations: 8 kB / 0.5211 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1243, allocations: 4 kB / 0.5211 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.1247, allocations: 187.8 kB / 0.5212 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.1263, allocations: 1.28 MB / 0.5225 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.1266, allocations: 119.8 kB / 0.5226 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.154e-05/0.1267, allocations: 46.62 kB / 0.5227 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.1267, allocations: 3.938 kB / 0.5227 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1268, allocations: 42.5 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.1268, allocations: 0 / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009837/0.1278, allocations: 0.536 MB / 0.5232 GB, free: 15.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.1278, allocations: 102.8 kB / 0.5233 GB, free: 15.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.1281, allocations: 250.9 kB / 0.5236 GB, free: 14.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1281, allocations: 25.7 kB / 0.5236 GB, free: 14.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.1283, allocations: 196 kB / 0.5238 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.1283, allocations: 47.62 kB / 0.5238 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/0.1284, allocations: 45.64 kB / 0.5239 GB, free: 14.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1286, allocations: 342.8 kB / 0.5242 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.1287, allocations: 47.91 kB / 0.5242 GB, free: 14.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.1288, allocations: 131.9 kB / 0.5244 GB, free: 14.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.1291, allocations: 187.8 kB / 0.5245 GB, free: 13.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1291, allocations: 0 / 0.5245 GB, free: 13.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004126/0.1295, allocations: 238.3 kB / 0.5248 GB, free: 13.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1295, allocations: 10.03 kB / 0.5248 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.1295, allocations: 4 kB / 0.5248 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001218/0.1297, allocations: 24.84 kB / 0.5248 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.13, allocations: 63.83 kB / 0.5249 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.13, allocations: 4 kB / 0.5249 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.1302, allocations: 8 kB / 0.5249 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.1302, allocations: 11.94 kB / 0.5249 GB, free: 13.46 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.1303, allocations: 149.8 kB / 0.525 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-05/0.1304, allocations: 27.84 kB / 0.5251 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.1307, allocations: 143.3 kB / 0.5252 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.1307, allocations: 3.938 kB / 0.5252 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1307, allocations: 0 / 0.5252 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1307, allocations: 4 kB / 0.5252 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.1311, allocations: 289.5 kB / 0.5255 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1311, allocations: 0 / 0.5255 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.1313, allocations: 31.98 kB / 0.5255 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1313, allocations: 0 / 0.5255 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.1313, allocations: 8 kB / 0.5255 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.1313, allocations: 3.938 kB / 0.5255 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1314, allocations: 4.031 kB / 0.5255 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/0.1318, allocations: 363.4 kB / 0.5259 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.026e-05/0.1319, allocations: 109 kB / 0.526 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.132, allocations: 3.938 kB / 0.526 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.1321, allocations: 7.938 kB / 0.526 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.1322, allocations: 11.98 kB / 0.526 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.1322, allocations: 4 kB / 0.526 GB, free: 12.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.1323, allocations: 166 kB / 0.5262 GB, free: 12.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1323, allocations: 0 / 0.5262 GB, free: 12.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.1327, allocations: 48 kB / 0.5262 GB, free: 12 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.1328, allocations: 107.2 kB / 0.5263 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003557/0.1332, allocations: 205.8 kB / 0.5265 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1332, allocations: 3.938 kB / 0.5265 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.264e-05/0.1333, allocations: 47.92 kB / 0.5265 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/0.1338, allocations: 60.77 kB / 0.5266 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009871/0.1348, allocations: 0.636 MB / 0.5272 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.1353, allocations: 0.7675 MB / 0.528 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.469e-05/0.1354, allocations: 31.42 kB / 0.528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1354, allocations: 0 / 0.528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of Templates: time 0.005954/0.1413, allocations: 3.51 MB / 0.5314 GB, free: 6.562 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.611926301964559] Failed to read output from testmodel.py, exit status != 0: 0.1478633190272376 0.161313018 0.036883839 Calling exit ...