Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001572/0.001572, allocations: 117 kB / 18.41 MB, free: 4.531 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.001685/0.001685, allocations: 190.9 kB / 21.34 MB, free: 1.605 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.434/1.434, allocations: 222.9 MB / 247.1 MB, free: 4.328 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.2994/0.2994, allocations: 38.02 MB / 337.2 MB, free: 12.96 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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 70.5 kB / 467.5 MB, free: 27.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1104, allocations: 58.06 MB / 0.5133 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006412/0.1169, allocations: 4.704 MB / 0.5179 GB, free: 5.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.1192, allocations: 1.336 MB / 0.5192 GB, free: 3.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.1195, allocations: 11.94 kB / 0.5192 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.1207, allocations: 418.2 kB / 0.5196 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005262/0.1212, allocations: 230.8 kB / 0.5198 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.1217, allocations: 179.5 kB / 0.52 GB, free: 2.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005991/0.1223, allocations: 0.5529 MB / 0.5205 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005129/0.1228, allocations: 341.8 kB / 0.5208 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.1232, allocations: 254.9 kB / 0.5211 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.1236, allocations: 283 kB / 0.5214 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.1237, allocations: 32 kB / 0.5214 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.124, allocations: 127.8 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.1242, allocations: 179.5 kB / 0.5217 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.1244, allocations: 226.9 kB / 0.5219 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00064/0.1251, allocations: 0.5291 MB / 0.5224 GB, free: 372 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1251, allocations: 0 / 0.5224 GB, free: 372 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1251, allocations: 0 / 0.5224 GB, free: 372 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.1251, allocations: 4 kB / 0.5224 GB, free: 368 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001143/0.1263, allocations: 0.7258 MB / 0.5231 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1263, allocations: 15.88 kB / 0.5231 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006745/0.127, allocations: 88.56 kB / 0.5232 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/0.1277, allocations: 424.2 kB / 0.5236 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.1277, allocations: 29.31 kB / 0.5237 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.1278, allocations: 48.11 kB / 0.5237 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007621/0.1286, allocations: 480.8 kB / 0.5242 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.1286, allocations: 4 kB / 0.5242 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.1287, allocations: 16 kB / 0.5242 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.1288, allocations: 24.98 kB / 0.5242 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005592/0.1294, allocations: 343.7 kB / 0.5245 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.1315, allocations: 1.625 MB / 0.5261 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.1319, allocations: 173 kB / 0.5263 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.1321, allocations: 113.7 kB / 0.5264 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1321, allocations: 4 kB / 0.5264 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.1321, allocations: 42.5 kB / 0.5264 GB, free: 12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.1321, allocations: 7.938 kB / 0.5264 GB, free: 11.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001374/0.1335, allocations: 0.7952 MB / 0.5272 GB, free: 11.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.1336, allocations: 77.11 kB / 0.5273 GB, free: 11.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.1339, allocations: 304.6 kB / 0.5276 GB, free: 10.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.134, allocations: 33.7 kB / 0.5276 GB, free: 10.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.1342, allocations: 260 kB / 0.5279 GB, free: 10.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.622e-05/0.1342, allocations: 71.39 kB / 0.5279 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.1343, allocations: 65.67 kB / 0.528 GB, free: 10.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1345, allocations: 338.8 kB / 0.5283 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.1347, allocations: 103.8 kB / 0.5284 GB, free: 9.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.1349, allocations: 200.5 kB / 0.5286 GB, free: 9.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.1354, allocations: 332.4 kB / 0.5289 GB, free: 9.254 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1354, allocations: 0 / 0.5289 GB, free: 9.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008092/0.1362, allocations: 433.8 kB / 0.5293 GB, free: 8.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1362, allocations: 4 kB / 0.5293 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005302/0.1367, allocations: 273.1 kB / 0.5296 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000344/0.1371, allocations: 80.78 kB / 0.5297 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.1373, allocations: 64.12 kB / 0.5297 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.1391, allocations: 1.715 MB / 0.5314 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.1393, allocations: 15.92 kB / 0.5314 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.1393, allocations: 16 kB / 0.5314 GB, free: 6.516 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 (34): * Single equations (assignments): 33 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.1395, allocations: 185.7 kB / 0.5316 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.1396, allocations: 39.77 kB / 0.5317 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004508/0.1401, allocations: 268.7 kB / 0.5319 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1401, allocations: 0 / 0.5319 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.1401, allocations: 0 / 0.5319 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1401, allocations: 4 kB / 0.5319 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.1412, allocations: 0.7419 MB / 0.5326 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1413, allocations: 0 / 0.5326 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.1415, allocations: 56.03 kB / 0.5327 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1415, allocations: 4 kB / 0.5327 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.1416, allocations: 15.92 kB / 0.5327 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1416, allocations: 0 / 0.5327 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1416, allocations: 3.938 kB / 0.5327 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.1422, allocations: 449.6 kB / 0.5331 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/0.1422, allocations: 108.9 kB / 0.5333 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.1423, allocations: 11.94 kB / 0.5333 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.1425, allocations: 12.22 kB / 0.5333 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.1425, allocations: 15.98 kB / 0.5333 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.1425, allocations: 11.88 kB / 0.5333 GB, free: 4.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.1428, allocations: 219.1 kB / 0.5335 GB, free: 4.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1428, allocations: 0 / 0.5335 GB, free: 4.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003902/0.1432, allocations: 84 kB / 0.5336 GB, free: 4.191 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (23): * Single equations (assignments): 22 * 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.000122/0.1433, allocations: 107.2 kB / 0.5337 GB, free: 4.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006544/0.144, allocations: 378.2 kB / 0.5341 GB, free: 3.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.144, allocations: 0.875 kB / 0.5341 GB, free: 3.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.1441, allocations: 108 kB / 0.5342 GB, free: 3.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.1446, allocations: 72.19 kB / 0.5342 GB, free: 3.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.1461, allocations: 0.9628 MB / 0.5352 GB, free: 2.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.1466, allocations: 0.8422 MB / 0.536 GB, free: 1.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.532e-05/0.1467, allocations: 31.44 kB / 0.536 GB, free: 1.617 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1467, allocations: 4 kB / 0.536 GB, free: 1.613 MB / 398.1 MB Notification: Performance of Templates: time 0.008014/0.1547, allocations: 5.29 MB / 0.5412 GB, free: 12.33 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.079510731971823] Failed to read output from testmodel.py, exit status != 0: 0.1617174029815942 0.175371678 0.047723093 Calling exit ...