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.001149/0.001149, allocations: 115.7 kB / 17.74 MB, free: 5.297 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.001138/0.001138, allocations: 189.6 kB / 18.67 MB, free: 4.375 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.444/1.444, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1689/0.1689, allocations: 37.99 MB / 309.9 MB, free: 5.949 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.001398/0.001398, allocations: 68.47 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1023, allocations: 55.25 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.00651/0.1088, allocations: 4.694 MB / 492.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.1113, allocations: 1.391 MB / 493.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/0.1116, allocations: 19.88 kB / 493.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.1129, allocations: 414.2 kB / 494.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006678/0.1136, allocations: 234.8 kB / 494.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005463/0.1142, allocations: 175.6 kB / 494.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008004/0.115, allocations: 0.5568 MB / 495.3 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005651/0.1155, allocations: 333.8 kB / 495.6 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004958/0.1161, allocations: 267 kB / 495.8 MB, free: 252 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005598/0.1166, allocations: 271 kB / 496.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.57e-05/0.1167, allocations: 32 kB / 496.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.1171, allocations: 127.8 kB / 496.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.1173, allocations: 187.4 kB / 496.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002882/0.1176, allocations: 226.9 kB / 496.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006547/0.1183, allocations: 0.5256 MB / 497.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1183, allocations: 4 kB / 497.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1183, allocations: 0 / 497.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.387e-05/0.1183, allocations: 0 / 497.2 MB, free: 14.89 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.001246/0.1196, allocations: 0.7145 MB / 497.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1196, allocations: 15.89 kB / 497.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007393/0.1204, allocations: 92.31 kB / 498 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/0.1211, allocations: 412 kB / 498.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.1211, allocations: 37.36 kB / 498.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.1213, allocations: 44.12 kB / 498.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007595/0.122, allocations: 468.8 kB / 499 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.1221, allocations: 11.86 kB / 499 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.1221, allocations: 23.97 kB / 499 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.1222, allocations: 25 kB / 499 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005496/0.1228, allocations: 343.7 kB / 499.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.125, allocations: 1.621 MB / 0.4892 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.1254, allocations: 185.1 kB / 0.4894 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.1256, allocations: 105.7 kB / 0.4895 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1256, allocations: 4 kB / 0.4895 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.1256, allocations: 38.5 kB / 0.4895 GB, free: 10.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 3.326e-06/0.1256, allocations: 0 / 0.4895 GB, free: 10.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001431/0.1271, allocations: 0.7962 MB / 0.4903 GB, free: 9.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.1271, allocations: 81.11 kB / 0.4904 GB, free: 9.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.1275, allocations: 304.5 kB / 0.4907 GB, free: 9.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.1275, allocations: 25.7 kB / 0.4907 GB, free: 9.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1277, allocations: 259.5 kB / 0.491 GB, free: 8.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.1277, allocations: 71 kB / 0.491 GB, free: 8.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1278, allocations: 65.73 kB / 0.4911 GB, free: 8.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.128, allocations: 342.8 kB / 0.4914 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.1282, allocations: 95.7 kB / 0.4915 GB, free: 8.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.1284, allocations: 196.8 kB / 0.4917 GB, free: 8.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.1288, allocations: 328.5 kB / 0.492 GB, free: 7.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1288, allocations: 4 kB / 0.492 GB, free: 7.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007997/0.1296, allocations: 429.2 kB / 0.4924 GB, free: 7.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.1297, allocations: 8.438 kB / 0.4924 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004851/0.1301, allocations: 260.5 kB / 0.4927 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/0.1305, allocations: 76.78 kB / 0.4928 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.1308, allocations: 67.89 kB / 0.4928 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.1325, allocations: 1.715 MB / 0.4945 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.1327, allocations: 15.94 kB / 0.4945 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.1327, allocations: 12 kB / 0.4945 GB, free: 5.082 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 (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.0002252/0.133, allocations: 197.7 kB / 0.4947 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.133, allocations: 27.62 kB / 0.4947 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004338/0.1335, allocations: 268.6 kB / 0.495 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1335, allocations: 4 kB / 0.495 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1335, allocations: 4 kB / 0.495 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1335, allocations: 0 / 0.495 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.1347, allocations: 0.7576 MB / 0.4957 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1347, allocations: 0 / 0.4957 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.135, allocations: 59.84 kB / 0.4958 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.135, allocations: 0 / 0.4958 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.135, allocations: 11.94 kB / 0.4958 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.135, allocations: 4 kB / 0.4958 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.135, allocations: 0 / 0.4958 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005402/0.1356, allocations: 461.3 kB / 0.4963 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/0.1357, allocations: 104.7 kB / 0.4964 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.1357, allocations: 11.94 kB / 0.4964 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.1359, allocations: 8.031 kB / 0.4964 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.136, allocations: 15.98 kB / 0.4964 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.136, allocations: 8 kB / 0.4964 GB, free: 3.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002316/0.1362, allocations: 223 kB / 0.4966 GB, free: 2.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1362, allocations: 0 / 0.4966 GB, free: 2.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.1366, allocations: 84 kB / 0.4967 GB, free: 2.734 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 (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.0001319/0.1368, allocations: 103.1 kB / 0.4968 GB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006492/0.1374, allocations: 374.7 kB / 0.4971 GB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1374, allocations: 0 / 0.4971 GB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.1376, allocations: 99.83 kB / 0.4972 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.1381, allocations: 74.33 kB / 0.4973 GB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.1396, allocations: 0.9463 MB / 0.4982 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.1401, allocations: 0.8461 MB / 0.4991 GB, free: 220 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.379e-05/0.1402, allocations: 35.42 kB / 0.4991 GB, free: 184 kB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1402, allocations: 0 / 0.4991 GB, free: 184 kB / 382.1 MB Notification: Performance of Templates: time 0.008556/0.1488, allocations: 5.303 MB / 0.5043 GB, free: 10.86 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (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)