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.001493/0.001499, allocations: 115.2 kB / 17.06 MB, free: 6 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.001257/0.001257, allocations: 196 kB / 18 MB, free: 5.078 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.6/1.6, allocations: 205.1 MB / 223.9 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.2084/0.2084, allocations: 37.98 MB / 309.2 MB, free: 5.938 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: 64.23 kB / 431.8 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.117, allocations: 55.24 MB / 487.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.00741/0.1244, allocations: 6.103 MB / 493.2 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003512/0.128, allocations: 1.991 MB / 495.2 MB, free: 200 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/0.1283, allocations: 23.88 kB / 495.2 MB, free: 176 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.1301, allocations: 0.689 MB / 495.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007986/0.1309, allocations: 374.2 kB / 496.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.1319, allocations: 403.1 kB / 496.7 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.133, allocations: 0.9433 MB / 497.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006513/0.1336, allocations: 0.4961 MB / 498.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006205/0.1343, allocations: 434.3 kB / 498.5 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007416/0.135, allocations: 0.5296 MB / 499 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.1351, allocations: 63.94 kB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004761/0.1356, allocations: 235.6 kB / 499.3 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003525/0.136, allocations: 407.1 kB / 499.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004229/0.1364, allocations: 429.9 kB / 0.4884 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.1374, allocations: 1.012 MB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1374, allocations: 8 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1374, allocations: 0 / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.1375, allocations: 0 / 0.4894 GB, free: 10.18 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.001743/0.1392, allocations: 1.064 MB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1392, allocations: 15.89 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006927/0.1399, allocations: 139.8 kB / 0.4906 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008087/0.1408, allocations: 0.5479 MB / 0.4912 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.1408, allocations: 54.38 kB / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.1409, allocations: 80.12 kB / 0.4913 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.1424, allocations: 1.13 MB / 0.4924 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.1425, allocations: 11.92 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.93e-05/0.1425, allocations: 32 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.168e-05/0.1426, allocations: 45.98 kB / 0.4925 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.1438, allocations: 0.8701 MB / 0.4933 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00521/0.1491, allocations: 5.043 MB / 0.4982 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006674/0.1498, allocations: 420.9 kB / 0.4986 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.1501, allocations: 213.6 kB / 0.4989 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.665e-05/0.1501, allocations: 15.97 kB / 0.4989 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.1502, allocations: 34.56 kB / 0.4989 GB, free: 28 kB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.104e-06/0.1502, allocations: 0 / 0.4989 GB, free: 28 kB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001792/0.152, allocations: 1.071 MB / 0.4999 GB, free: 14.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.152, allocations: 85.09 kB / 0.5 GB, free: 14.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.1525, allocations: 0.4901 MB / 0.5005 GB, free: 14.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.1526, allocations: 37.7 kB / 0.5005 GB, free: 14.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.1529, allocations: 449.7 kB / 0.501 GB, free: 13.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.153, allocations: 161.7 kB / 0.5011 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.1532, allocations: 150.5 kB / 0.5013 GB, free: 13.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1534, allocations: 370.7 kB / 0.5016 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.1537, allocations: 237.8 kB / 0.5018 GB, free: 12.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006211/0.1543, allocations: 0.621 MB / 0.5025 GB, free: 12.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.1554, allocations: 0.9454 MB / 0.5034 GB, free: 11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.1554, allocations: 4 kB / 0.5034 GB, free: 11 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001228/0.1567, allocations: 0.8924 MB / 0.5043 GB, free: 10.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.1567, allocations: 12 kB / 0.5043 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.1567, allocations: 19.98 kB / 0.5043 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.1568, allocations: 20.03 kB / 0.5043 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/0.1574, allocations: 219.6 kB / 0.5045 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/0.1575, allocations: 23.92 kB / 0.5045 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/0.1579, allocations: 51.95 kB / 0.5046 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.1579, allocations: 44 kB / 0.5046 GB, free: 9.715 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.0003298/0.1583, allocations: 309.3 kB / 0.5049 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.698e-05/0.1583, allocations: 59.25 kB / 0.505 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008611/0.1592, allocations: 0.5563 MB / 0.5055 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.1592, allocations: 4 kB / 0.5055 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1592, allocations: 4 kB / 0.5055 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.1593, allocations: 3.984 kB / 0.5055 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.1613, allocations: 1.331 MB / 0.5068 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1613, allocations: 4 kB / 0.5068 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.1617, allocations: 111.9 kB / 0.5069 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.1617, allocations: 7.938 kB / 0.507 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.1618, allocations: 16.25 kB / 0.507 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.1618, allocations: 4 kB / 0.507 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.1618, allocations: 3.938 kB / 0.507 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007454/0.1625, allocations: 0.6458 MB / 0.5076 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.1627, allocations: 128.3 kB / 0.5077 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/0.1627, allocations: 19.88 kB / 0.5077 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.163, allocations: 19.92 kB / 0.5078 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.1631, allocations: 35.95 kB / 0.5078 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.1631, allocations: 16 kB / 0.5078 GB, free: 6.285 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003168/0.1634, allocations: 334.8 kB / 0.5081 GB, free: 5.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1634, allocations: 0 / 0.5081 GB, free: 5.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00063/0.1641, allocations: 156 kB / 0.5083 GB, free: 5.809 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.0001382/0.1642, allocations: 115.4 kB / 0.5084 GB, free: 5.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00083/0.165, allocations: 0.611 MB / 0.509 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.165, allocations: 4.062 kB / 0.509 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.1654, allocations: 243.4 kB / 0.5092 GB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.166, allocations: 117.7 kB / 0.5093 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.168, allocations: 1.35 MB / 0.5107 GB, free: 3.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.1687, allocations: 0.9995 MB / 0.5116 GB, free: 2.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004708/0.1692, allocations: 221 kB / 0.5118 GB, free: 2.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.1693, allocations: 55.42 kB / 0.5119 GB, free: 2.02 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1693, allocations: 0 / 0.5119 GB, free: 2.02 MB / 398.1 MB Notification: Performance of Templates: time 0.01127/0.1806, allocations: 5.714 MB / 0.5175 GB, free: 12.29 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)