Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 110.9 kB / 17.74 MB, free: 5.316 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.00114/0.00114, allocations: 188.4 kB / 18.67 MB, free: 4.395 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.374/1.374, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1795/0.1795, allocations: 37.98 MB / 309.9 MB, free: 5.93 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.001406/0.001406, allocations: 87 kB / 432.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1021, allocations: 55.23 MB / 487.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.0057/0.1079, allocations: 4.605 MB / 492.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.1103, allocations: 1.352 MB / 493.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002963/0.1106, allocations: 11.94 kB / 493.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.112, allocations: 402.3 kB / 494.1 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006879/0.1127, allocations: 254.7 kB / 494.4 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.1132, allocations: 163.6 kB / 494.5 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00072/0.1139, allocations: 0.5607 MB / 495.1 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005158/0.1145, allocations: 293.2 kB / 495.4 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/0.115, allocations: 262.9 kB / 495.6 MB, free: 424 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005853/0.1156, allocations: 287 kB / 495.9 MB, free: 136 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.696e-05/0.1156, allocations: 32 kB / 496 MB, free: 104 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.116, allocations: 119.8 kB / 496.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.1162, allocations: 195.4 kB / 496.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.1164, allocations: 218.9 kB / 496.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005951/0.117, allocations: 0.5062 MB / 497 MB, free: 15.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.117, allocations: 0 / 497 MB, free: 15.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1171, allocations: 0 / 497 MB, free: 15.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.1171, allocations: 0 / 497 MB, free: 15.07 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001227/0.1183, allocations: 0.6991 MB / 497.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1184, allocations: 19.88 kB / 497.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006287/0.119, allocations: 80.33 kB / 497.8 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007144/0.1197, allocations: 419.2 kB / 498.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.1198, allocations: 25.36 kB / 498.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.1199, allocations: 48.11 kB / 498.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007116/0.1206, allocations: 468.8 kB / 498.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.1207, allocations: 0 / 498.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.1207, allocations: 23.98 kB / 498.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/0.1208, allocations: 24.98 kB / 498.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005371/0.1214, allocations: 339.7 kB / 499.1 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.1236, allocations: 1.698 MB / 0.4891 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.1239, allocations: 145.2 kB / 0.4892 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.124, allocations: 109.7 kB / 0.4893 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1241, allocations: 11.88 kB / 0.4893 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1241, allocations: 34.56 kB / 0.4894 GB, free: 10.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.965e-06/0.1241, allocations: 4 kB / 0.4894 GB, free: 10.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001545/0.1257, allocations: 0.8415 MB / 0.4902 GB, free: 9.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.1257, allocations: 77.11 kB / 0.4903 GB, free: 9.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.1261, allocations: 308.5 kB / 0.4905 GB, free: 9.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1261, allocations: 33.83 kB / 0.4906 GB, free: 9.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1263, allocations: 251.4 kB / 0.4908 GB, free: 9.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.246e-05/0.1263, allocations: 63.19 kB / 0.4909 GB, free: 9.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1264, allocations: 61.88 kB / 0.4909 GB, free: 8.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1266, allocations: 342.8 kB / 0.4913 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.1267, allocations: 92.22 kB / 0.4914 GB, free: 8.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.127, allocations: 193.3 kB / 0.4915 GB, free: 8.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.1273, allocations: 308.6 kB / 0.4918 GB, free: 7.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1274, allocations: 7.938 kB / 0.4918 GB, free: 7.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008601/0.1282, allocations: 457.6 kB / 0.4923 GB, free: 7.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1282, allocations: 8 kB / 0.4923 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005623/0.1288, allocations: 292.7 kB / 0.4926 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004725/0.1293, allocations: 132.9 kB / 0.4927 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.1295, allocations: 51.92 kB / 0.4927 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/0.1323, allocations: 2.385 MB / 0.4951 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.1325, allocations: 12 kB / 0.4951 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.1326, allocations: 19.92 kB / 0.4951 GB, free: 4.438 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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002229/0.1328, allocations: 185.7 kB / 0.4953 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.1329, allocations: 31.7 kB / 0.4953 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004322/0.1333, allocations: 245.4 kB / 0.4955 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1333, allocations: 7.938 kB / 0.4955 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1333, allocations: 7.875 kB / 0.4956 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1333, allocations: 0 / 0.4956 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.1345, allocations: 0.7273 MB / 0.4963 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1345, allocations: 0 / 0.4963 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.1347, allocations: 36.03 kB / 0.4963 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001123/0.1348, allocations: 40.77 kB / 0.4963 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.1349, allocations: 8 kB / 0.4963 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.1361, allocations: 1.588 MB / 0.4979 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.1361, allocations: 8 kB / 0.4979 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.1366, allocations: 418.3 kB / 0.4983 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.1367, allocations: 104.7 kB / 0.4984 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.1368, allocations: 7.938 kB / 0.4984 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.137, allocations: 11.98 kB / 0.4984 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.137, allocations: 15.92 kB / 0.4984 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.137, allocations: 8 kB / 0.4984 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002221/0.1372, allocations: 215.1 kB / 0.4986 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1373, allocations: 0 / 0.4986 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004767/0.1377, allocations: 88 kB / 0.4987 GB, free: 444 kB / 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001423/0.1379, allocations: 99.23 kB / 0.4988 GB, free: 336 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007633/0.1387, allocations: 390.3 kB / 0.4992 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1387, allocations: 0.875 kB / 0.4992 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.139, allocations: 239.4 kB / 0.4994 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.1395, allocations: 69.06 kB / 0.4995 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.141, allocations: 0.907 MB / 0.5004 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.1415, allocations: 0.8419 MB / 0.5012 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.1416, allocations: 23.44 kB / 0.5012 GB, free: 13.77 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1416, allocations: 0 / 0.5012 GB, free: 13.77 MB / 398.1 MB Notification: Performance of Templates: time 0.008657/0.1502, allocations: 5.733 MB / 0.5068 GB, free: 8.023 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)