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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001516/0.001516, allocations: 110.5 kB / 16.51 MB, free: 6.707 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.001462/0.001462, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1846/0.1846, allocations: 38.02 MB / 329.3 MB, free: 9.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 73.59 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.09966, allocations: 58.05 MB / 456.1 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006653/0.1064, allocations: 5.057 MB / 461.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002883/0.1093, allocations: 1.628 MB / 462.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003845/0.1097, allocations: 27.81 kB / 462.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.1109, allocations: 358.8 kB / 463.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006834/0.1116, allocations: 227.1 kB / 463.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.1123, allocations: 219.6 kB / 463.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008387/0.1131, allocations: 0.8654 MB / 464.5 MB, free: 104 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005508/0.1137, allocations: 276.6 kB / 464.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004367/0.1142, allocations: 223 kB / 465 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006639/0.1148, allocations: 374.9 kB / 465.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.115, allocations: 24 kB / 465.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005735/0.1155, allocations: 239.5 kB / 465.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.1158, allocations: 231.4 kB / 465.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00035/0.1162, allocations: 238.8 kB / 466.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007324/0.1169, allocations: 0.6503 MB / 466.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1169, allocations: 0 / 466.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1169, allocations: 0 / 466.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.117, allocations: 0 / 466.7 MB, free: 13.88 MB / 350.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.001496/0.1185, allocations: 0.7739 MB / 467.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1185, allocations: 8.031 kB / 467.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006232/0.1191, allocations: 100.2 kB / 467.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006203/0.1198, allocations: 407.2 kB / 468 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.1198, allocations: 29.36 kB / 468 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.1199, allocations: 52.12 kB / 468.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009674/0.1209, allocations: 0.6765 MB / 468.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.1209, allocations: 0 / 468.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.121, allocations: 16 kB / 468.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001779/0.1212, allocations: 52.95 kB / 468.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.1222, allocations: 0.6791 MB / 469.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/0.1257, allocations: 2.425 MB / 471.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.1263, allocations: 365.7 kB / 472.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.1267, allocations: 250.3 kB / 472.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.1267, allocations: 8.266 kB / 472.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.1267, allocations: 50.77 kB / 472.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.474e-06/0.1268, allocations: 4 kB / 472.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002336/0.1291, allocations: 1.466 MB / 474.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.1292, allocations: 81.11 kB / 474.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.1294, allocations: 290.8 kB / 474.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.1295, allocations: 33.7 kB / 474.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.1297, allocations: 243.6 kB / 474.7 MB, free: 5.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.1298, allocations: 169.8 kB / 474.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.1299, allocations: 94.23 kB / 475 MB, free: 5.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1301, allocations: 346.8 kB / 475.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.1304, allocations: 217 kB / 475.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.1308, allocations: 361.8 kB / 475.9 MB, free: 4.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007909/0.1316, allocations: 0.6239 MB / 476.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1316, allocations: 0 / 476.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001241/0.1329, allocations: 0.7198 MB / 477.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1329, allocations: 8.5 kB / 477.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008769/0.1338, allocations: 0.5264 MB / 477.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/0.1341, allocations: 68.8 kB / 477.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.1345, allocations: 103.9 kB / 477.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.136, allocations: 1.604 MB / 479.5 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.1363, allocations: 27.97 kB / 479.5 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.1364, allocations: 20 kB / 479.6 MB, free: 400 kB / 350.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.0002578/0.1366, allocations: 217.7 kB / 479.8 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/0.1367, allocations: 35.53 kB / 479.8 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009276/0.1377, allocations: 0.5706 MB / 480.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.1377, allocations: 11.94 kB / 480.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1377, allocations: 0 / 480.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1377, allocations: 12.06 kB / 480.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.1396, allocations: 1.203 MB / 481.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1396, allocations: 4 kB / 481.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.1401, allocations: 79.88 kB / 481.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1401, allocations: 4 kB / 481.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.1401, allocations: 11.98 kB / 481.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.1401, allocations: 8 kB / 481.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1401, allocations: 0 / 481.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.1413, allocations: 0.9297 MB / 482.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/0.1414, allocations: 108.6 kB / 482.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/0.1415, allocations: 8 kB / 482.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.1417, allocations: 24.02 kB / 482.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.1418, allocations: 23.97 kB / 482.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.1418, allocations: 16 kB / 482.8 MB, free: 13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.142, allocations: 197.9 kB / 483 MB, free: 12.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.142, allocations: 0 / 483 MB, free: 12.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005066/0.1425, allocations: 124 kB / 483.1 MB, free: 12.69 MB / 366.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.0002301/0.1428, allocations: 131.5 kB / 483.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.1439, allocations: 0.6638 MB / 483.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1439, allocations: 4 kB / 483.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.1442, allocations: 272.4 kB / 484.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.1448, allocations: 70.88 kB / 484.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1467, allocations: 1.357 MB / 485.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.1472, allocations: 0.8821 MB / 486.5 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003417/0.1475, allocations: 131.1 kB / 486.6 MB, free: 9.102 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.1476, allocations: 35.44 kB / 486.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1476, allocations: 0 / 486.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of Templates: time 0.008717/0.1564, allocations: 4.245 MB / 490.9 MB, free: 4.852 MB / 366.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)