Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.00156/0.00156, allocations: 117 kB / 18.41 MB, free: 4.664 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.001539/0.001539, allocations: 190.9 kB / 21.34 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.406/1.406, allocations: 222.9 MB / 247 MB, free: 4.355 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.2908/0.2908, allocations: 38 MB / 337.2 MB, free: 13.08 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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 64.41 kB / 467.5 MB, free: 27.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1024, allocations: 58.08 MB / 0.5133 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006387/0.1088, allocations: 4.573 MB / 0.5177 GB, free: 5.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.1115, allocations: 1.464 MB / 0.5192 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.1117, allocations: 11.94 kB / 0.5192 GB, free: 3.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.1128, allocations: 386.4 kB / 0.5196 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005335/0.1133, allocations: 230.8 kB / 0.5198 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006989/0.1141, allocations: 255.4 kB / 0.52 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000685/0.1148, allocations: 0.5611 MB / 0.5206 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005299/0.1153, allocations: 342.5 kB / 0.5209 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003623/0.1157, allocations: 258.9 kB / 0.5211 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005113/0.1162, allocations: 311 kB / 0.5214 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.8e-05/0.1163, allocations: 39.94 kB / 0.5215 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.1166, allocations: 139.8 kB / 0.5216 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.1169, allocations: 223.5 kB / 0.5218 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.1172, allocations: 258.7 kB / 0.5221 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000741/0.1179, allocations: 0.5953 MB / 0.5226 GB, free: 140 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1179, allocations: 0 / 0.5226 GB, free: 140 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1179, allocations: 0 / 0.5226 GB, free: 140 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1179, allocations: 0 / 0.5226 GB, free: 140 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001441/0.1194, allocations: 0.7811 MB / 0.5234 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1194, allocations: 15.88 kB / 0.5234 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000617/0.1201, allocations: 104.5 kB / 0.5235 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006781/0.1207, allocations: 424.3 kB / 0.5239 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.1208, allocations: 33.36 kB / 0.524 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.1209, allocations: 48.12 kB / 0.524 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009755/0.1219, allocations: 0.645 MB / 0.5246 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.122, allocations: 4 kB / 0.5246 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/0.122, allocations: 23.98 kB / 0.5247 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.1221, allocations: 28.98 kB / 0.5247 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008116/0.123, allocations: 483.5 kB / 0.5252 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.1265, allocations: 3.007 MB / 0.5281 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.1269, allocations: 181.1 kB / 0.5283 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.127, allocations: 109.7 kB / 0.5284 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.1271, allocations: 8.328 kB / 0.5284 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.1271, allocations: 34.56 kB / 0.5284 GB, free: 9.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/0.1271, allocations: 0 / 0.5284 GB, free: 9.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001449/0.1286, allocations: 0.8536 MB / 0.5292 GB, free: 8.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.1287, allocations: 85.05 kB / 0.5293 GB, free: 8.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.129, allocations: 349.5 kB / 0.5297 GB, free: 8.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.1291, allocations: 29.7 kB / 0.5297 GB, free: 8.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.1293, allocations: 307.8 kB / 0.53 GB, free: 8.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.77e-05/0.1294, allocations: 87.3 kB / 0.5301 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.1295, allocations: 86.08 kB / 0.5301 GB, free: 8.012 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1297, allocations: 346.8 kB / 0.5305 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.13, allocations: 124.8 kB / 0.5306 GB, free: 7.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.1303, allocations: 326.8 kB / 0.5309 GB, free: 7.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/0.131, allocations: 0.4942 MB / 0.5314 GB, free: 6.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.131, allocations: 4 kB / 0.5314 GB, free: 6.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001076/0.1321, allocations: 0.5612 MB / 0.5319 GB, free: 5.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.1321, allocations: 15.92 kB / 0.532 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005459/0.1327, allocations: 280.2 kB / 0.5322 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003461/0.133, allocations: 80.78 kB / 0.5323 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.1334, allocations: 95.83 kB / 0.5324 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.1353, allocations: 1.727 MB / 0.5341 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.1356, allocations: 20.06 kB / 0.5341 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.1356, allocations: 24 kB / 0.5341 GB, free: 3.582 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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.0002648/0.1359, allocations: 217.5 kB / 0.5343 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.1359, allocations: 31.81 kB / 0.5344 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005135/0.1365, allocations: 292.6 kB / 0.5346 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1365, allocations: 4 kB / 0.5346 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1365, allocations: 8 kB / 0.5346 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1365, allocations: 0 / 0.5346 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.1378, allocations: 0.7888 MB / 0.5354 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1378, allocations: 0 / 0.5354 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.1381, allocations: 55.91 kB / 0.5355 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1381, allocations: 0 / 0.5355 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.1381, allocations: 16.05 kB / 0.5355 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.1382, allocations: 4 kB / 0.5355 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1382, allocations: 3.938 kB / 0.5355 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006365/0.1388, allocations: 477.6 kB / 0.5359 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1389, allocations: 104.9 kB / 0.536 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.139, allocations: 12 kB / 0.5361 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1392, allocations: 15.92 kB / 0.5361 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.1392, allocations: 11.98 kB / 0.5361 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.1392, allocations: 8 kB / 0.5361 GB, free: 1.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002474/0.1395, allocations: 231.2 kB / 0.5363 GB, free: 1.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1395, allocations: 0 / 0.5363 GB, free: 1.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004858/0.14, allocations: 100 kB / 0.5364 GB, free: 1.113 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * 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.0001486/0.1401, allocations: 111.4 kB / 0.5365 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007894/0.1409, allocations: 432.1 kB / 0.5369 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1409, allocations: 4.562 kB / 0.5369 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1411, allocations: 119.1 kB / 0.537 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.1416, allocations: 73.31 kB / 0.5371 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.1433, allocations: 1.048 MB / 0.5381 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.1439, allocations: 0.8623 MB / 0.539 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.822e-05/0.144, allocations: 35.42 kB / 0.539 GB, free: 14.36 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.144, allocations: 4 kB / 0.539 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Templates: time 0.008919/0.1529, allocations: 5.68 MB / 0.5446 GB, free: 8.672 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.881573374965228] Failed to read output from testmodel.py, exit status != 0: 0.1599937459686771 0.17388845700000002 0.053195644 Calling exit ...