Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 111.7 kB / 17.71 MB, free: 5.363 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.00124/0.00124, allocations: 187.7 kB / 18.64 MB, free: 4.441 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.204/1.204, 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.1832/0.1832, allocations: 37.98 MB / 309.8 MB, free: 5.965 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.001351/0.001351, allocations: 63.91 kB / 432.5 MB, free: 15.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09045/0.09182, allocations: 55.25 MB / 487.7 MB, free: 8.379 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.006401/0.09826, allocations: 6.099 MB / 493.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003048/0.1013, allocations: 1.995 MB / 495.8 MB, free: 244 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.1017, allocations: 23.88 kB / 495.8 MB, free: 220 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.1033, allocations: 0.6774 MB / 496.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008058/0.1042, allocations: 382.1 kB / 496.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009186/0.1051, allocations: 403.1 kB / 497.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008942/0.106, allocations: 0.9393 MB / 498.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/0.1066, allocations: 0.5 MB / 498.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004621/0.1071, allocations: 426.4 kB / 499.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006064/0.1077, allocations: 0.5257 MB / 499.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-05/0.1078, allocations: 56 kB / 499.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003961/0.1082, allocations: 235.6 kB / 499.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003312/0.1085, allocations: 419 kB / 0.4886 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003614/0.1089, allocations: 426 kB / 0.489 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008823/0.1098, allocations: 1.02 MB / 0.49 GB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1098, allocations: 0 / 0.49 GB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1098, allocations: 0 / 0.49 GB, free: 10.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1098, allocations: 0 / 0.49 GB, free: 10.24 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.00154/0.1114, allocations: 1.072 MB / 0.4911 GB, free: 9.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1114, allocations: 11.89 kB / 0.4911 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006637/0.1121, allocations: 139.8 kB / 0.4912 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007387/0.1128, allocations: 0.544 MB / 0.4917 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/0.1129, allocations: 58.38 kB / 0.4918 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.113, allocations: 84.11 kB / 0.4919 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.1144, allocations: 1.122 MB / 0.493 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.1145, allocations: 7.938 kB / 0.493 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.671e-05/0.1145, allocations: 35.98 kB / 0.493 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-05/0.1146, allocations: 53.98 kB / 0.4931 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.1158, allocations: 0.8662 MB / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004752/0.1205, allocations: 5.043 MB / 0.4988 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006194/0.1212, allocations: 416.9 kB / 0.4992 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.1215, allocations: 213.6 kB / 0.4994 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.1215, allocations: 11.98 kB / 0.4995 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1216, allocations: 38.56 kB / 0.4995 GB, free: 88 kB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.464e-06/0.1216, allocations: 0 / 0.4995 GB, free: 88 kB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001728/0.1233, allocations: 1.071 MB / 0.5005 GB, free: 15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.1234, allocations: 89.14 kB / 0.5006 GB, free: 14.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.1238, allocations: 0.49 MB / 0.5011 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.1239, allocations: 33.7 kB / 0.5011 GB, free: 14.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.1241, allocations: 449.7 kB / 0.5016 GB, free: 13.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.1243, allocations: 161.8 kB / 0.5017 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.1244, allocations: 146.5 kB / 0.5019 GB, free: 13.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1246, allocations: 370.8 kB / 0.5022 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.1249, allocations: 241.8 kB / 0.5024 GB, free: 12.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/0.1254, allocations: 0.6209 MB / 0.503 GB, free: 12.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009604/0.1264, allocations: 0.9454 MB / 0.504 GB, free: 11.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.1264, allocations: 4 kB / 0.504 GB, free: 11.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00117/0.1276, allocations: 0.8923 MB / 0.5048 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1276, allocations: 12.03 kB / 0.5049 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.1277, allocations: 19.94 kB / 0.5049 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/0.1277, allocations: 16 kB / 0.5049 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006585/0.1284, allocations: 223.6 kB / 0.5051 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/0.1284, allocations: 23.94 kB / 0.5051 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003769/0.1288, allocations: 47.95 kB / 0.5052 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.1288, allocations: 40 kB / 0.5052 GB, free: 9.781 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003192/0.1292, allocations: 313.3 kB / 0.5055 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.1293, allocations: 55.25 kB / 0.5056 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00084/0.1301, allocations: 0.5641 MB / 0.5061 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.1301, allocations: 8 kB / 0.5061 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1301, allocations: 0 / 0.5061 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1301, allocations: 0 / 0.5061 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.132, allocations: 1.335 MB / 0.5074 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.132, allocations: 3.938 kB / 0.5074 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.1324, allocations: 112.1 kB / 0.5075 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.1324, allocations: 7.938 kB / 0.5075 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.1324, allocations: 16 kB / 0.5076 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.1325, allocations: 7.984 kB / 0.5076 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.1325, allocations: 7.938 kB / 0.5076 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007166/0.1332, allocations: 0.638 MB / 0.5082 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1333, allocations: 124.4 kB / 0.5083 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/0.1334, allocations: 15.94 kB / 0.5083 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.1336, allocations: 31.97 kB / 0.5084 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.1337, allocations: 35.84 kB / 0.5084 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.1337, allocations: 15.98 kB / 0.5084 GB, free: 6.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003101/0.134, allocations: 326.9 kB / 0.5087 GB, free: 6.023 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.134, allocations: 0 / 0.5087 GB, free: 6.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006028/0.1346, allocations: 164 kB / 0.5089 GB, free: 5.863 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (51): * Single equations (assignments): 50 * 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.0001215/0.1348, allocations: 119.4 kB / 0.509 GB, free: 5.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008129/0.1356, allocations: 0.6027 MB / 0.5096 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1356, allocations: 0 / 0.5096 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.1359, allocations: 243.4 kB / 0.5098 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.1365, allocations: 126.8 kB / 0.5099 GB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.1385, allocations: 1.421 MB / 0.5113 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/0.139, allocations: 1.007 MB / 0.5123 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.1392, allocations: 59.42 kB / 0.5124 GB, free: 2.203 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1392, allocations: 0 / 0.5124 GB, free: 2.203 MB / 398.1 MB Notification: Performance of Templates: time 0.009879/0.1491, allocations: 8.183 MB / 0.5204 GB, free: 10 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1)