Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 111.9 kB / 17.06 MB, free: 6.004 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.001096/0.001096, allocations: 198.9 kB / 18 MB, free: 5.082 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.424/1.424, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1702/0.1702, allocations: 38 MB / 309.2 MB, free: 5.945 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.001395/0.001395, allocations: 67.89 kB / 431.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1104, allocations: 55.23 MB / 487.1 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005699/0.1161, allocations: 4.429 MB / 491.5 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.1182, allocations: 1.473 MB / 493 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.1184, allocations: 11.94 kB / 493 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.1194, allocations: 382.5 kB / 493.4 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004973/0.1199, allocations: 246.8 kB / 493.6 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.1205, allocations: 247.4 kB / 493.9 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.1211, allocations: 0.5572 MB / 494.4 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004189/0.1215, allocations: 285 kB / 494.7 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003098/0.1218, allocations: 259 kB / 494.9 MB, free: 476 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004877/0.1223, allocations: 355 kB / 495.3 MB, free: 120 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.552e-05/0.1224, allocations: 40 kB / 495.3 MB, free: 80 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004181/0.1228, allocations: 227.6 kB / 495.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.1231, allocations: 235.5 kB / 495.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.1233, allocations: 258.7 kB / 496 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006385/0.1239, allocations: 0.662 MB / 496.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.124, allocations: 0 / 496.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.124, allocations: 0 / 496.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.124, allocations: 4 kB / 496.7 MB, free: 14.7 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001326/0.1253, allocations: 0.7777 MB / 497.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1254, allocations: 11.89 kB / 497.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005934/0.126, allocations: 100.2 kB / 497.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006356/0.1266, allocations: 419.2 kB / 498 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.1266, allocations: 29.38 kB / 498 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.1268, allocations: 56.09 kB / 498.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008899/0.1277, allocations: 0.6804 MB / 498.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1277, allocations: 3.938 kB / 498.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/0.1278, allocations: 12 kB / 498.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/0.128, allocations: 52.95 kB / 498.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009784/0.1289, allocations: 0.6752 MB / 499.5 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/0.1321, allocations: 2.421 MB / 0.4902 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.1326, allocations: 365.6 kB / 0.4905 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.133, allocations: 257.9 kB / 0.4908 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.133, allocations: 4.281 kB / 0.4908 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.133, allocations: 38.83 kB / 0.4908 GB, free: 8.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.244e-06/0.133, allocations: 0 / 0.4908 GB, free: 8.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002192/0.1352, allocations: 1.483 MB / 0.4922 GB, free: 7.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.1353, allocations: 81.11 kB / 0.4923 GB, free: 6.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.1356, allocations: 286.9 kB / 0.4926 GB, free: 6.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.1356, allocations: 29.7 kB / 0.4926 GB, free: 6.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.1358, allocations: 247.7 kB / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.1359, allocations: 157.7 kB / 0.493 GB, free: 6.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.136, allocations: 94.16 kB / 0.4931 GB, free: 6.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1362, allocations: 354.8 kB / 0.4934 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.1365, allocations: 220.9 kB / 0.4937 GB, free: 5.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.1369, allocations: 369.5 kB / 0.494 GB, free: 5.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007427/0.1376, allocations: 0.6278 MB / 0.4946 GB, free: 4.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1376, allocations: 0 / 0.4946 GB, free: 4.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001159/0.1388, allocations: 0.712 MB / 0.4953 GB, free: 3.688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.1388, allocations: 15.84 kB / 0.4953 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008607/0.1397, allocations: 0.5269 MB / 0.4958 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003388/0.14, allocations: 72.8 kB / 0.4959 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.1405, allocations: 111.8 kB / 0.496 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.1422, allocations: 1.722 MB / 0.4977 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.1425, allocations: 31.95 kB / 0.4977 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/0.1425, allocations: 20 kB / 0.4978 GB, free: 1.051 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * 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.0002374/0.1428, allocations: 213.6 kB / 0.498 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.97e-05/0.1429, allocations: 47.53 kB / 0.498 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008307/0.1437, allocations: 0.559 MB / 0.4985 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.1437, allocations: 12 kB / 0.4986 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1438, allocations: 0 / 0.4986 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1438, allocations: 7.922 kB / 0.4986 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.1457, allocations: 1.196 MB / 0.4997 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1457, allocations: 0 / 0.4997 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.1461, allocations: 87.88 kB / 0.4998 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1461, allocations: 0 / 0.4998 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.1462, allocations: 8 kB / 0.4998 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.1462, allocations: 4 kB / 0.4998 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1462, allocations: 0 / 0.4998 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.1474, allocations: 0.9392 MB / 0.5007 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.1475, allocations: 104.8 kB / 0.5008 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.1476, allocations: 11.94 kB / 0.5009 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.1478, allocations: 23.97 kB / 0.5009 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.1479, allocations: 27.91 kB / 0.5009 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.1479, allocations: 20 kB / 0.5009 GB, free: 13.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.1481, allocations: 201.9 kB / 0.5011 GB, free: 13.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1481, allocations: 0 / 0.5011 GB, free: 13.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005064/0.1487, allocations: 116 kB / 0.5012 GB, free: 13.36 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (39): * Single equations (assignments): 36 * Array equations: 2 * 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.0003028/0.149, allocations: 139.3 kB / 0.5014 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.15, allocations: 0.6726 MB / 0.502 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.15, allocations: 4 kB / 0.502 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.1504, allocations: 259.5 kB / 0.5023 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.1509, allocations: 73.61 kB / 0.5023 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.1527, allocations: 1.158 MB / 0.5035 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/0.1533, allocations: 0.8743 MB / 0.5043 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002899/0.1536, allocations: 135.1 kB / 0.5045 GB, free: 9.969 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.1537, allocations: 31.44 kB / 0.5045 GB, free: 9.938 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1537, allocations: 0 / 0.5045 GB, free: 9.938 MB / 398.1 MB Notification: Performance of Templates: time 0.009649/0.1634, allocations: 4.654 MB / 0.509 GB, free: 5.277 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)