Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.001603/0.001603, allocations: 120.3 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.001885/0.001885, allocations: 189.3 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.49/1.49, allocations: 222.9 MB / 247 MB, free: 4.191 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.308/0.308, 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.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.89 kB / 467.5 MB, free: 27.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.11, allocations: 58.07 MB / 0.5133 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.005967/0.116, allocations: 4.483 MB / 0.5177 GB, free: 5.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.1186, allocations: 1.531 MB / 0.5191 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.1189, allocations: 15.88 kB / 0.5192 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008352/0.1197, allocations: 278.7 kB / 0.5194 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005664/0.1203, allocations: 266.7 kB / 0.5197 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.1209, allocations: 263.4 kB / 0.5199 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007374/0.1217, allocations: 0.639 MB / 0.5206 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004465/0.1221, allocations: 288.7 kB / 0.5208 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003651/0.1225, allocations: 283 kB / 0.5211 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005729/0.1231, allocations: 390.7 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.289e-05/0.1232, allocations: 40 kB / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.1235, allocations: 147.8 kB / 0.5217 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.1238, allocations: 247.4 kB / 0.5219 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.1241, allocations: 282.5 kB / 0.5222 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007741/0.1248, allocations: 0.6615 MB / 0.5228 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1249, allocations: 0 / 0.5228 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1249, allocations: 0 / 0.5228 GB, free: 15.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.1249, allocations: 0 / 0.5228 GB, free: 15.92 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001835/0.1267, allocations: 0.8899 MB / 0.5237 GB, free: 14.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1268, allocations: 11.89 kB / 0.5237 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005394/0.1273, allocations: 100.5 kB / 0.5238 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009337/0.1283, allocations: 0.4922 MB / 0.5243 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.1283, allocations: 37.36 kB / 0.5243 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.1284, allocations: 48.12 kB / 0.5243 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.1295, allocations: 0.6946 MB / 0.525 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.1295, allocations: 7.938 kB / 0.525 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/0.1295, allocations: 16 kB / 0.525 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.1297, allocations: 36.98 kB / 0.5251 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008264/0.1305, allocations: 0.5228 MB / 0.5256 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/0.1343, allocations: 3.098 MB / 0.5286 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/0.1349, allocations: 337.7 kB / 0.5289 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.1352, allocations: 173.7 kB / 0.5291 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.1353, allocations: 8 kB / 0.5291 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1353, allocations: 30.56 kB / 0.5291 GB, free: 9.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 4.589e-06/0.1353, allocations: 0 / 0.5291 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002026/0.1373, allocations: 1.235 MB / 0.5303 GB, free: 7.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.1374, allocations: 85.09 kB / 0.5304 GB, free: 7.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.1378, allocations: 389.5 kB / 0.5308 GB, free: 7.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.1379, allocations: 33.7 kB / 0.5308 GB, free: 7.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.1381, allocations: 308 kB / 0.5311 GB, free: 6.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.1382, allocations: 119 kB / 0.5312 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.1384, allocations: 98.19 kB / 0.5313 GB, free: 6.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1386, allocations: 366.7 kB / 0.5317 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.1389, allocations: 189 kB / 0.5319 GB, free: 6.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/0.1393, allocations: 385.5 kB / 0.5322 GB, free: 5.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007899/0.1401, allocations: 0.5932 MB / 0.5328 GB, free: 5.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1401, allocations: 0 / 0.5328 GB, free: 5.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001893/0.142, allocations: 0.8338 MB / 0.5336 GB, free: 4.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.1421, allocations: 8.625 kB / 0.5336 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1421, allocations: 4 kB / 0.5336 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.1433, allocations: 277.4 kB / 0.5339 GB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006106/0.144, allocations: 139.8 kB / 0.534 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005103/0.1491, allocations: 4.041 MB / 0.538 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.1495, allocations: 35.98 kB / 0.538 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.1496, allocations: 27.98 kB / 0.538 GB, free: 15.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002945/0.1499, allocations: 217.9 kB / 0.5382 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/0.15, allocations: 43.75 kB / 0.5383 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008007/0.1508, allocations: 481.1 kB / 0.5387 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1508, allocations: 8 kB / 0.5388 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.1508, allocations: 7.938 kB / 0.5388 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1508, allocations: 0 / 0.5388 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.1522, allocations: 1.007 MB / 0.5397 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1523, allocations: 0 / 0.5397 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004426/0.1527, allocations: 95.81 kB / 0.5398 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1527, allocations: 0 / 0.5398 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.1528, allocations: 16.05 kB / 0.5399 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1528, allocations: 7.938 kB / 0.5399 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1528, allocations: 0 / 0.5399 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.1538, allocations: 0.7359 MB / 0.5406 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.1539, allocations: 124.8 kB / 0.5407 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.173e-05/0.154, allocations: 20 kB / 0.5407 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.1542, allocations: 11.98 kB / 0.5407 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.1543, allocations: 31.84 kB / 0.5408 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.1543, allocations: 12.17 kB / 0.5408 GB, free: 12.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002876/0.1546, allocations: 271.1 kB / 0.541 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1546, allocations: 0 / 0.541 GB, free: 12.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005083/0.1551, allocations: 124 kB / 0.5411 GB, free: 12.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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.0001396/0.1553, allocations: 115.2 kB / 0.5413 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.1567, allocations: 0.8027 MB / 0.542 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1568, allocations: 0 / 0.542 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.157, allocations: 191.8 kB / 0.5422 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.1576, allocations: 97.94 kB / 0.5423 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.1609, allocations: 1.53 MB / 0.5438 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.1615, allocations: 0.8937 MB / 0.5447 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.1617, allocations: 43.42 kB / 0.5447 GB, free: 8.324 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1617, allocations: 0 / 0.5447 GB, free: 8.324 MB / 414.1 MB Notification: Performance of Templates: time 0.0115/0.1732, allocations: 7.923 MB / 0.5525 GB, free: 416 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.777671511983499] Failed to read output from testmodel.py, exit status != 0: 0.18018369702622294 0.19298696699999995 0.06563297400000001 Calling exit ...