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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001173/0.001173, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.131/1.131, allocations: 194.2 MB / 212.2 MB, free: 2.363 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001764/0.001764, allocations: 133.3 kB / 256.6 MB, free: 4.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1628/0.1628, allocations: 37.95 MB / 338.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 63.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07332/0.07447, allocations: 52.2 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005343/0.07985, allocations: 5.068 MB / 459.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.08222, allocations: 1.66 MB / 460.7 MB, free: 9.805 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004734/0.08273, allocations: 23.88 kB / 460.7 MB, free: 9.781 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009185/0.08366, allocations: 354.7 kB / 461.1 MB, free: 9.434 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000576/0.08425, allocations: 243.1 kB / 461.3 MB, free: 9.195 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.08481, allocations: 211.6 kB / 461.5 MB, free: 8.988 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006062/0.08543, allocations: 0.8888 MB / 462.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/0.0858, allocations: 276.6 kB / 462.7 MB, free: 7.832 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.08604, allocations: 226.9 kB / 462.9 MB, free: 7.609 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.08642, allocations: 366.9 kB / 463.3 MB, free: 7.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.902e-05/0.08648, allocations: 32 kB / 463.3 MB, free: 7.219 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.08684, allocations: 243.5 kB / 463.5 MB, free: 6.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.08699, allocations: 227.4 kB / 463.8 MB, free: 6.758 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.08718, allocations: 238.8 kB / 464 MB, free: 6.523 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.08763, allocations: 0.6464 MB / 464.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.08764, allocations: 4 kB / 464.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.08765, allocations: 0 / 464.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.08766, allocations: 0 / 464.6 MB, free: 5.871 MB / 314.7 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.001077/0.08874, allocations: 0.7738 MB / 465.4 MB, free: 5.047 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.08878, allocations: 12.02 kB / 465.4 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005119/0.0893, allocations: 100.2 kB / 465.5 MB, free: 4.938 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005645/0.08987, allocations: 399.2 kB / 465.9 MB, free: 4.512 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.0899, allocations: 29.38 kB / 465.9 MB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.09003, allocations: 51.91 kB / 466 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007106/0.09075, allocations: 0.6765 MB / 466.7 MB, free: 3.719 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.09078, allocations: 7.984 kB / 466.7 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.09083, allocations: 12 kB / 466.7 MB, free: 3.699 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001529/0.09099, allocations: 56.91 kB / 466.7 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007455/0.09174, allocations: 0.6674 MB / 467.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.09435, allocations: 2.429 MB / 469.8 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.09478, allocations: 365.7 kB / 470.2 MB, free: 52 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.09511, allocations: 254 kB / 470.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.09516, allocations: 8.281 kB / 470.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.09519, allocations: 46.72 kB / 470.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=45): time 3.657e-06/0.0952, allocations: 3.984 kB / 470.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.002/0.09721, allocations: 1.471 MB / 472 MB, free: 14.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.09726, allocations: 81.11 kB / 472.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.09753, allocations: 290.9 kB / 472.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.09757, allocations: 33.64 kB / 472.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.0977, allocations: 247.7 kB / 472.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/0.0978, allocations: 157.7 kB / 472.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.09793, allocations: 98.28 kB / 472.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.09804, allocations: 346.8 kB / 473.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.09833, allocations: 217 kB / 473.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.09869, allocations: 365.7 kB / 473.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006889/0.09939, allocations: 0.6316 MB / 474.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.0994, allocations: 4 kB / 474.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001095/0.1005, allocations: 0.7197 MB / 475.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1005, allocations: 8.562 kB / 475.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007738/0.1013, allocations: 0.5264 MB / 475.7 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000314/0.1016, allocations: 72.78 kB / 475.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.102, allocations: 103.9 kB / 475.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.1035, allocations: 1.6 MB / 477.4 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.1038, allocations: 31.97 kB / 477.5 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.1038, allocations: 20 kB / 477.5 MB, free: 8.367 MB / 330.7 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.0002322/0.1041, allocations: 209.7 kB / 477.7 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/0.1042, allocations: 43.58 kB / 477.7 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008262/0.105, allocations: 0.5589 MB / 478.3 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.105, allocations: 19.92 kB / 478.3 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.105, allocations: 0 / 478.3 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1051, allocations: 144 / 478.3 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.1068, allocations: 1.203 MB / 479.5 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1068, allocations: 0 / 479.5 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/0.1072, allocations: 83.88 kB / 479.6 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1072, allocations: 0 / 479.6 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.1072, allocations: 12 kB / 479.6 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1072, allocations: 4 kB / 479.6 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1073, allocations: 4 kB / 479.6 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002893/0.1101, allocations: 2.552 MB / 482.2 MB, free: 3.445 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.1102, allocations: 108.7 kB / 482.3 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.1103, allocations: 8 kB / 482.3 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.1105, allocations: 19.97 kB / 482.3 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.1106, allocations: 27.91 kB / 482.3 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.1106, allocations: 12 kB / 482.3 MB, free: 3.254 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001834/0.1108, allocations: 197.9 kB / 482.5 MB, free: 3.062 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1108, allocations: 0 / 482.5 MB, free: 3.062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006419/0.1115, allocations: 152 kB / 482.7 MB, free: 2.914 MB / 330.7 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.0002447/0.1117, allocations: 143 kB / 482.8 MB, free: 2.766 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.1128, allocations: 0.664 MB / 483.5 MB, free: 2.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1128, allocations: 4.031 kB / 483.5 MB, free: 2.086 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000315/0.1131, allocations: 263.5 kB / 483.8 MB, free: 1.828 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.1136, allocations: 66.25 kB / 483.8 MB, free: 1.766 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.1156, allocations: 1.649 MB / 485.5 MB, free: 60 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.1161, allocations: 0.8938 MB / 486.4 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003379/0.1164, allocations: 131.1 kB / 486.5 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.1165, allocations: 39.44 kB / 486.5 MB, free: 14.97 MB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1165, allocations: 0 / 486.5 MB, free: 14.97 MB / 346.7 MB Notification: Performance of Templates: time 0.007945/0.1245, allocations: 4.656 MB / 491.2 MB, free: 10.31 MB / 346.7 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)