Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001329/0.001329, allocations: 115.4 kB / 18.41 MB, free: 4.668 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.001374/0.001374, allocations: 192.3 kB / 21.35 MB, free: 1.734 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.422/1.422, 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.2827/0.2827, allocations: 37.99 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.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.61 kB / 467.5 MB, free: 27.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1029, allocations: 58.07 MB / 0.5133 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006489/0.1094, allocations: 4.549 MB / 0.5177 GB, free: 5.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002839/0.1123, allocations: 1.554 MB / 0.5192 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.1126, allocations: 15.88 kB / 0.5193 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009545/0.1136, allocations: 286.7 kB / 0.5195 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000611/0.1142, allocations: 270.7 kB / 0.5198 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007285/0.1149, allocations: 255.4 kB / 0.52 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006725/0.1156, allocations: 0.6118 MB / 0.5206 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.116, allocations: 259.9 kB / 0.5209 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.1164, allocations: 270.9 kB / 0.5211 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004945/0.1169, allocations: 326.9 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.332e-05/0.117, allocations: 32 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.1173, allocations: 143.8 kB / 0.5216 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.1175, allocations: 219.5 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002684/0.1178, allocations: 246.7 kB / 0.5221 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007462/0.1186, allocations: 0.6031 MB / 0.5226 GB, free: 92 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1186, allocations: 0 / 0.5226 GB, free: 92 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1186, allocations: 0 / 0.5226 GB, free: 92 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1186, allocations: 4 kB / 0.5226 GB, free: 88 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001458/0.1201, allocations: 0.7694 MB / 0.5234 GB, free: 15.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1201, allocations: 15.89 kB / 0.5234 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006107/0.1207, allocations: 100.5 kB / 0.5235 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008212/0.1216, allocations: 428.2 kB / 0.5239 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.1216, allocations: 29.38 kB / 0.5239 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.1218, allocations: 56.09 kB / 0.524 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.123, allocations: 0.6626 MB / 0.5246 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.123, allocations: 7.938 kB / 0.5247 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.095e-05/0.1231, allocations: 16 kB / 0.5247 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/0.1233, allocations: 48.97 kB / 0.5247 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008366/0.1241, allocations: 499.4 kB / 0.5252 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003712/0.1278, allocations: 3.144 MB / 0.5283 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004825/0.1283, allocations: 249.3 kB / 0.5285 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.1286, allocations: 121.7 kB / 0.5286 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.1286, allocations: 7.938 kB / 0.5286 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.1286, allocations: 38.5 kB / 0.5287 GB, free: 9.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.625e-06/0.1287, allocations: 0 / 0.5287 GB, free: 9.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001616/0.1303, allocations: 0.9022 MB / 0.5295 GB, free: 8.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.1304, allocations: 85.09 kB / 0.5296 GB, free: 8.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.1307, allocations: 328.4 kB / 0.5299 GB, free: 8.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.1308, allocations: 29.7 kB / 0.53 GB, free: 8.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.131, allocations: 295.9 kB / 0.5302 GB, free: 7.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.022e-05/0.1311, allocations: 95.2 kB / 0.5303 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.1312, allocations: 94.03 kB / 0.5304 GB, free: 7.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1314, allocations: 346.8 kB / 0.5308 GB, free: 7.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.1316, allocations: 140.7 kB / 0.5309 GB, free: 7.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.132, allocations: 321.2 kB / 0.5312 GB, free: 6.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.1327, allocations: 0.4925 MB / 0.5317 GB, free: 6.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1327, allocations: 0 / 0.5317 GB, free: 6.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001177/0.1339, allocations: 0.5881 MB / 0.5323 GB, free: 5.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1339, allocations: 12.69 kB / 0.5323 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006559/0.1346, allocations: 333.7 kB / 0.5326 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004681/0.1351, allocations: 113.6 kB / 0.5327 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.1354, allocations: 95.77 kB / 0.5328 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/0.1387, allocations: 3.282 MB / 0.536 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.139, allocations: 16 kB / 0.536 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.139, allocations: 23.98 kB / 0.536 GB, free: 1.426 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002952/0.1393, allocations: 213.7 kB / 0.5362 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.1394, allocations: 35.77 kB / 0.5363 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005743/0.14, allocations: 316.7 kB / 0.5366 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.14, allocations: 4 kB / 0.5366 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.14, allocations: 3.938 kB / 0.5366 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.14, allocations: 0 / 0.5366 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.1413, allocations: 0.8048 MB / 0.5374 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1413, allocations: 0 / 0.5374 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.1416, allocations: 59.91 kB / 0.5374 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.1416, allocations: 7.938 kB / 0.5374 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.1417, allocations: 8 kB / 0.5374 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1417, allocations: 0 / 0.5374 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1417, allocations: 64 / 0.5374 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006872/0.1424, allocations: 0.5145 MB / 0.5379 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.1425, allocations: 132.9 kB / 0.5381 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.1426, allocations: 7.984 kB / 0.5381 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.1427, allocations: 8 kB / 0.5381 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.1428, allocations: 24.2 kB / 0.5381 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.1428, allocations: 4 kB / 0.5381 GB, free: 15.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002414/0.1431, allocations: 219.1 kB / 0.5383 GB, free: 14.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1431, allocations: 0 / 0.5383 GB, free: 14.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004972/0.1436, allocations: 104 kB / 0.5384 GB, free: 14.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.0001443/0.1437, allocations: 107.2 kB / 0.5385 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009753/0.1447, allocations: 0.5883 MB / 0.5391 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1447, allocations: 0 / 0.5391 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.145, allocations: 132.1 kB / 0.5392 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.1455, allocations: 79.67 kB / 0.5393 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.1472, allocations: 1.052 MB / 0.5403 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/0.1478, allocations: 0.8621 MB / 0.5412 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.87e-05/0.1479, allocations: 35.38 kB / 0.5412 GB, free: 11.91 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1479, allocations: 4 kB / 0.5412 GB, free: 11.91 MB / 414.1 MB Notification: Performance of Templates: time 0.01025/0.1581, allocations: 6.538 MB / 0.5476 GB, free: 5.371 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.982158115017228] Failed to read output from testmodel.py, exit status != 0: 0.16454655106645077 0.178652961 0.057384147 Calling exit ...