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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007891/0.0007891, allocations: 93.33 kB / 16.31 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009106/0.0009106, allocations: 179.8 kB / 17.21 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.4 MB / 223.4 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2868/0.2868, allocations: 38.06 MB / 309.7 MB, free: 8.852 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005191/0.0005193, allocations: 22.17 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09671/0.09724, allocations: 56.34 MB / 432.9 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.00487/0.1022, allocations: 4.708 MB / 437.6 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.1044, allocations: 1.482 MB / 439 MB, free: 488 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.1047, allocations: 31.81 kB / 439.1 MB, free: 456 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.105, allocations: 95.28 kB / 439.2 MB, free: 360 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006011/0.1056, allocations: 266.6 kB / 439.4 MB, free: 92 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.1062, allocations: 171.7 kB / 439.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006382/0.1069, allocations: 0.6347 MB / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008915/0.1078, allocations: 0.5394 MB / 440.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003344/0.1081, allocations: 207 kB / 441 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004255/0.1085, allocations: 263.1 kB / 441.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.1086, allocations: 16 kB / 441.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.1088, allocations: 79.8 kB / 441.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.109, allocations: 171.5 kB / 441.5 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1091, allocations: 105.5 kB / 441.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.1095, allocations: 395 kB / 442 MB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1095, allocations: 0 / 442 MB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1095, allocations: 0 / 442 MB, free: 13.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.1095, allocations: 4 kB / 442 MB, free: 13.49 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009918/0.1105, allocations: 0.6443 MB / 442.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1106, allocations: 16.03 kB / 442.6 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006424/0.1112, allocations: 91.33 kB / 442.7 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006935/0.1119, allocations: 386.9 kB / 443.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.112, allocations: 25 kB / 443.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.1121, allocations: 47.97 kB / 443.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.1128, allocations: 472.8 kB / 443.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.1128, allocations: 3.938 kB / 443.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.1129, allocations: 19.95 kB / 443.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.113, allocations: 28.92 kB / 443.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005254/0.1135, allocations: 339.7 kB / 444 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.1156, allocations: 1.637 MB / 445.7 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.116, allocations: 184.9 kB / 445.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.1161, allocations: 113.7 kB / 446 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.1162, allocations: 7.938 kB / 446 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1162, allocations: 34.56 kB / 446 MB, free: 9.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/0.1162, allocations: 0 / 446 MB, free: 9.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001219/0.1174, allocations: 0.7851 MB / 446.8 MB, free: 8.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.1175, allocations: 81.11 kB / 446.9 MB, free: 8.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.1178, allocations: 304.5 kB / 447.2 MB, free: 7.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1178, allocations: 25.7 kB / 447.2 MB, free: 7.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.118, allocations: 251.5 kB / 447.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.118, allocations: 74.98 kB / 447.5 MB, free: 7.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/0.118, allocations: 8 kB / 447.5 MB, free: 7.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1182, allocations: 338.8 kB / 447.8 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.1183, allocations: 95.94 kB / 447.9 MB, free: 7.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.1185, allocations: 204.5 kB / 448.1 MB, free: 6.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.1187, allocations: 132.1 kB / 448.3 MB, free: 6.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1187, allocations: 4 kB / 448.3 MB, free: 6.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007631/0.1195, allocations: 422.8 kB / 448.7 MB, free: 6.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1195, allocations: 8 kB / 448.7 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004838/0.12, allocations: 268.5 kB / 449 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003333/0.1204, allocations: 68.8 kB / 449 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.1206, allocations: 71.83 kB / 449.1 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.1221, allocations: 1.585 MB / 450.7 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.1223, allocations: 12 kB / 450.7 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.1224, allocations: 23.97 kB / 450.7 MB, free: 4.215 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.1226, allocations: 193.8 kB / 450.9 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.1226, allocations: 31.62 kB / 450.9 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004206/0.1231, allocations: 257.8 kB / 451.2 MB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1231, allocations: 4 kB / 451.2 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1231, allocations: 7.938 kB / 451.2 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1231, allocations: 3.984 kB / 451.2 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.1242, allocations: 0.7614 MB / 452 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1242, allocations: 0 / 452 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.1245, allocations: 47.97 kB / 452 MB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1245, allocations: 4 kB / 452 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.1245, allocations: 7.938 kB / 452 MB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.1245, allocations: 11.88 kB / 452 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1245, allocations: 0 / 452 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.125, allocations: 449.5 kB / 452.5 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.1251, allocations: 108.8 kB / 452.6 MB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.1252, allocations: 8 kB / 452.6 MB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1253, allocations: 4 kB / 452.6 MB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.1254, allocations: 23.91 kB / 452.6 MB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1254, allocations: 4 kB / 452.6 MB, free: 2.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.1256, allocations: 219.1 kB / 452.8 MB, free: 1.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1256, allocations: 0 / 452.8 MB, free: 1.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004038/0.126, allocations: 84 kB / 452.9 MB, free: 1.895 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001051/0.1261, allocations: 107.2 kB / 453 MB, free: 1.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006047/0.1267, allocations: 366.4 kB / 453.4 MB, free: 1.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1268, allocations: 0 / 453.4 MB, free: 1.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.1269, allocations: 99.84 kB / 453.5 MB, free: 1.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.1274, allocations: 66.33 kB / 453.5 MB, free: 1.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.1288, allocations: 1.111 MB / 454.6 MB, free: 96 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1682/0.297, allocations: 0.8488 MB / 455.5 MB, free: 51.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003409/0.2974, allocations: 78.61 kB / 455.6 MB, free: 51.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-05/0.2975, allocations: 25.72 kB / 455.6 MB, free: 51.06 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2975, allocations: 0.9375 kB / 455.6 MB, free: 51.06 MB / 382.1 MB Notification: Performance of Templates: time 0.005961/0.3035, allocations: 3.204 MB / 458.8 MB, free: 50.98 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: