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.00152/0.00152, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001711/0.001711, allocations: 176.5 kB / 18.66 MB, free: 4.449 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.433/1.433, allocations: 205.1 MB / 224.5 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.184/0.184, allocations: 37.98 MB / 309.9 MB, free: 5.953 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.001432/0.001432, allocations: 67.91 kB / 432.5 MB, free: 15.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1099, allocations: 55.25 MB / 487.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006442/0.1164, allocations: 4.425 MB / 492.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.119, allocations: 1.458 MB / 493.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003593/0.1194, allocations: 19.88 kB / 493.7 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.1206, allocations: 378.4 kB / 494 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007622/0.1214, allocations: 246.8 kB / 494.3 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.1222, allocations: 243.4 kB / 494.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007824/0.123, allocations: 0.5612 MB / 495.1 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005135/0.1235, allocations: 285 kB / 495.4 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000508/0.124, allocations: 255 kB / 495.6 MB, free: 500 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006077/0.1246, allocations: 366.9 kB / 496 MB, free: 132 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.1248, allocations: 36 kB / 496 MB, free: 96 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005334/0.1253, allocations: 227.6 kB / 496.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.1256, allocations: 231.5 kB / 496.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003535/0.126, allocations: 266.7 kB / 496.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008419/0.1268, allocations: 0.662 MB / 497.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1268, allocations: 0 / 497.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1269, allocations: 0 / 497.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.1269, allocations: 0 / 497.4 MB, free: 14.72 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.001692/0.1286, allocations: 0.7738 MB / 498.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1286, allocations: 15.89 kB / 498.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006956/0.1293, allocations: 100.2 kB / 498.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007219/0.1301, allocations: 423.2 kB / 498.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.1301, allocations: 29.38 kB / 498.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.1303, allocations: 48.11 kB / 498.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.1313, allocations: 0.6804 MB / 499.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.1313, allocations: 4 kB / 499.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.898e-05/0.1314, allocations: 12 kB / 499.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/0.1316, allocations: 56.89 kB / 499.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009904/0.1326, allocations: 0.6713 MB / 0.4884 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003386/0.136, allocations: 2.417 MB / 0.4908 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.1365, allocations: 369.6 kB / 0.4912 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003608/0.1369, allocations: 257.9 kB / 0.4914 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.1369, allocations: 8.266 kB / 0.4914 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.137, allocations: 46.77 kB / 0.4915 GB, free: 8.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 3.296e-06/0.137, allocations: 0 / 0.4915 GB, free: 8.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002321/0.1393, allocations: 1.471 MB / 0.4929 GB, free: 7.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.1394, allocations: 85.23 kB / 0.493 GB, free: 6.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.1397, allocations: 290.9 kB / 0.4933 GB, free: 6.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.1398, allocations: 33.64 kB / 0.4933 GB, free: 6.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.1399, allocations: 247.7 kB / 0.4935 GB, free: 6.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.1401, allocations: 157.7 kB / 0.4937 GB, free: 6.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.1402, allocations: 94.16 kB / 0.4938 GB, free: 6.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1404, allocations: 346.8 kB / 0.4941 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.1407, allocations: 224.9 kB / 0.4943 GB, free: 5.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.1411, allocations: 369.5 kB / 0.4947 GB, free: 5.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007944/0.1419, allocations: 0.6239 MB / 0.4953 GB, free: 4.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.1419, allocations: 4 kB / 0.4953 GB, free: 4.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001254/0.1432, allocations: 0.7199 MB / 0.496 GB, free: 3.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.1432, allocations: 15.84 kB / 0.496 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008386/0.1441, allocations: 0.5225 MB / 0.4965 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000338/0.1444, allocations: 77.2 kB / 0.4966 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.1449, allocations: 103.9 kB / 0.4967 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.1466, allocations: 1.722 MB / 0.4984 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.1469, allocations: 27.97 kB / 0.4984 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.1469, allocations: 19.98 kB / 0.4984 GB, free: 1.066 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.0002847/0.1472, allocations: 221.6 kB / 0.4986 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.1474, allocations: 39.47 kB / 0.4986 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008642/0.1482, allocations: 0.5592 MB / 0.4992 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.1483, allocations: 15.98 kB / 0.4992 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1483, allocations: 0 / 0.4992 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.1483, allocations: 7.984 kB / 0.4992 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.1502, allocations: 1.188 MB / 0.5004 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.1502, allocations: 8.094 kB / 0.5004 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/0.1506, allocations: 83.88 kB / 0.5005 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/0.1506, allocations: 4 kB / 0.5005 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.1506, allocations: 11.94 kB / 0.5005 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1507, allocations: 4 kB / 0.5005 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1507, allocations: 0 / 0.5005 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.1518, allocations: 0.9352 MB / 0.5014 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1519, allocations: 108.8 kB / 0.5015 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.152, allocations: 11.94 kB / 0.5015 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.1522, allocations: 23.97 kB / 0.5015 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.1523, allocations: 27.91 kB / 0.5016 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.1523, allocations: 16 kB / 0.5016 GB, free: 13.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.1525, allocations: 201.9 kB / 0.5018 GB, free: 13.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1526, allocations: 0 / 0.5018 GB, free: 13.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005598/0.1531, allocations: 116 kB / 0.5019 GB, free: 13.37 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.000254/0.1534, allocations: 135.1 kB / 0.502 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.1545, allocations: 0.6728 MB / 0.5027 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1545, allocations: 0 / 0.5027 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.1548, allocations: 267.5 kB / 0.5029 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.1554, allocations: 72.5 kB / 0.503 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.1573, allocations: 1.203 MB / 0.5042 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.1578, allocations: 0.8821 MB / 0.505 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.158, allocations: 39.42 kB / 0.5051 GB, free: 10.01 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.158, allocations: 0 / 0.5051 GB, free: 10.01 MB / 398.1 MB Notification: Performance of Templates: time 0.01141/0.1694, allocations: 6.518 MB / 0.5114 GB, free: 3.48 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)