Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.00131/0.00131, allocations: 120.4 kB / 18.41 MB, free: 4.684 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.0013/0.001301, allocations: 190.7 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.429/1.429, allocations: 222.9 MB / 247.1 MB, free: 4.203 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.2926/0.2926, allocations: 38 MB / 337.2 MB, free: 12.91 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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00241/0.002411, allocations: 63.69 kB / 467.5 MB, free: 27.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1163, allocations: 58.06 MB / 0.5133 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005767/0.1222, allocations: 3.906 MB / 0.5171 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1239, allocations: 0.8767 MB / 0.5179 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.1241, allocations: 11.88 kB / 0.518 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.1243, allocations: 39.64 kB / 0.518 GB, free: 4.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005246/0.1249, allocations: 171.1 kB / 0.5182 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.1251, allocations: 79.83 kB / 0.5182 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.1255, allocations: 386.6 kB / 0.5186 GB, free: 4.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.1257, allocations: 84.55 kB / 0.5187 GB, free: 4.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.126, allocations: 155.3 kB / 0.5188 GB, free: 4.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.1264, allocations: 179.3 kB / 0.519 GB, free: 3.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.1264, allocations: 16 kB / 0.519 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.032e-05/0.1265, allocations: 16 kB / 0.519 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1266, allocations: 75.8 kB / 0.5191 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.1268, allocations: 127.3 kB / 0.5192 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.1271, allocations: 254.8 kB / 0.5195 GB, free: 3.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1271, allocations: 0 / 0.5195 GB, free: 3.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1271, allocations: 0 / 0.5195 GB, free: 3.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1271, allocations: 0 / 0.5195 GB, free: 3.348 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009453/0.1281, allocations: 0.5736 MB / 0.52 GB, free: 2.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1281, allocations: 11.89 kB / 0.52 GB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.1282, allocations: 28.75 kB / 0.5201 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.1287, allocations: 332.1 kB / 0.5204 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.1288, allocations: 20.31 kB / 0.5204 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.1288, allocations: 20 kB / 0.5204 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.1292, allocations: 270.1 kB / 0.5207 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1292, allocations: 3.938 kB / 0.5207 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.1293, allocations: 8 kB / 0.5207 GB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1293, allocations: 4 kB / 0.5207 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.1296, allocations: 159.8 kB / 0.5208 GB, free: 1.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.1309, allocations: 1.179 MB / 0.522 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.1311, allocations: 81.05 kB / 0.5221 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/0.1312, allocations: 29.81 kB / 0.5221 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.1312, allocations: 4 kB / 0.5221 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.1312, allocations: 38.55 kB / 0.5221 GB, free: 372 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.1312, allocations: 4 kB / 0.5221 GB, free: 368 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007788/0.132, allocations: 421.6 kB / 0.5225 GB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.1321, allocations: 77.23 kB / 0.5226 GB, free: 15.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.1324, allocations: 250.6 kB / 0.5229 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1324, allocations: 25.7 kB / 0.5229 GB, free: 15.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.1325, allocations: 192 kB / 0.5231 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.1326, allocations: 27.78 kB / 0.5231 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.1326, allocations: 41.42 kB / 0.5231 GB, free: 15.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1328, allocations: 338.8 kB / 0.5235 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.352e-05/0.1329, allocations: 23.98 kB / 0.5235 GB, free: 14.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.133, allocations: 124.8 kB / 0.5236 GB, free: 14.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.1332, allocations: 160.7 kB / 0.5238 GB, free: 14.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1332, allocations: 4 kB / 0.5238 GB, free: 14.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002773/0.1335, allocations: 185.2 kB / 0.5239 GB, free: 14.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1335, allocations: 11.92 kB / 0.5239 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1335, allocations: 4 kB / 0.5239 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1336, allocations: 4 kB / 0.524 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.1337, allocations: 44.36 kB / 0.524 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.1338, allocations: 8 kB / 0.524 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.414e-05/0.1339, allocations: 4.406 kB / 0.524 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.1339, allocations: 23.94 kB / 0.524 GB, free: 14.22 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.134, allocations: 149.7 kB / 0.5242 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.1341, allocations: 23.8 kB / 0.5242 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.1343, allocations: 99.31 kB / 0.5243 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1343, allocations: 0 / 0.5243 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1343, allocations: 0 / 0.5243 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1343, allocations: 4 kB / 0.5243 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.1348, allocations: 423.2 kB / 0.5247 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1348, allocations: 0 / 0.5247 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.472e-05/0.1349, allocations: 19.98 kB / 0.5247 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1349, allocations: 0 / 0.5247 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.135, allocations: 0 / 0.5247 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.135, allocations: 4 kB / 0.5247 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.135, allocations: 0 / 0.5247 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.1352, allocations: 241 kB / 0.5249 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.1353, allocations: 92.97 kB / 0.525 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.1353, allocations: 3.984 kB / 0.525 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.304e-05/0.1354, allocations: 4 kB / 0.525 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.1355, allocations: 11.94 kB / 0.5251 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1355, allocations: 0 / 0.5251 GB, free: 13.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.1357, allocations: 174 kB / 0.5252 GB, free: 12.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1357, allocations: 0 / 0.5252 GB, free: 12.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002994/0.136, allocations: 40.06 kB / 0.5253 GB, free: 12.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0001739/0.1361, allocations: 95.25 kB / 0.5254 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.1363, allocations: 87.78 kB / 0.5254 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1364, allocations: 0 / 0.5254 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.226e-05/0.1364, allocations: 28.81 kB / 0.5255 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.1369, allocations: 74.31 kB / 0.5255 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009229/0.1378, allocations: 0.5291 MB / 0.526 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.1382, allocations: 0.7597 MB / 0.5268 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.1383, allocations: 19.44 kB / 0.5268 GB, free: 11.19 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1383, allocations: 0 / 0.5268 GB, free: 11.19 MB / 398.1 MB Notification: Performance of Templates: time 0.004921/0.1432, allocations: 2.662 MB / 0.5294 GB, free: 8.523 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.461289830971509] Failed to read output from testmodel.py, exit status != 0: 0.1508947960101068 0.16387144499999995 0.033958233000000004 Calling exit ...