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.001288/0.001288, allocations: 117.7 kB / 17.7 MB, free: 5.293 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.001349/0.001349, allocations: 191 kB / 18.63 MB, free: 4.367 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.405/1.405, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1739/0.1739, allocations: 37.99 MB / 309.8 MB, free: 5.973 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.001451/0.001451, allocations: 67.91 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2793, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005675/0.285, allocations: 4.423 MB / 436.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.287, allocations: 1.477 MB / 437.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.2872, allocations: 11.94 kB / 437.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009214/0.2882, allocations: 382.1 kB / 438.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.2887, allocations: 242.8 kB / 438.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.2892, allocations: 247.4 kB / 438.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004498/0.2897, allocations: 0.565 MB / 439.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/0.2901, allocations: 289.1 kB / 439.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.2903, allocations: 255 kB / 439.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/0.2908, allocations: 351 kB / 440.2 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.147e-05/0.2908, allocations: 44 kB / 440.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003547/0.2912, allocations: 223.6 kB / 440.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.2914, allocations: 239.4 kB / 440.7 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.2916, allocations: 258.8 kB / 441 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005728/0.2922, allocations: 0.6659 MB / 441.6 MB, free: 9.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2922, allocations: 0 / 441.6 MB, free: 9.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2922, allocations: 3.938 kB / 441.6 MB, free: 9.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.2922, allocations: 0 / 441.6 MB, free: 9.855 MB / 318.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.00148/0.2937, allocations: 0.77 MB / 442.4 MB, free: 9.035 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.2938, allocations: 19.88 kB / 442.4 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006335/0.2944, allocations: 84.31 kB / 442.5 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007058/0.2951, allocations: 427.2 kB / 442.9 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.2952, allocations: 25.38 kB / 442.9 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.2953, allocations: 56 kB / 443 MB, free: 8.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007806/0.2961, allocations: 0.6804 MB / 443.7 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.2961, allocations: 0 / 443.7 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.081e-05/0.2962, allocations: 16 kB / 443.7 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000163/0.2964, allocations: 56.95 kB / 443.8 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008153/0.2972, allocations: 0.6674 MB / 444.4 MB, free: 6.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.2998, allocations: 2.425 MB / 446.8 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.3002, allocations: 361.7 kB / 447.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.3005, allocations: 253.9 kB / 447.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.3005, allocations: 8.266 kB / 447.5 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.3005, allocations: 42.78 kB / 447.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 2.064e-06/0.3005, allocations: 0 / 447.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.00192/0.3025, allocations: 1.471 MB / 449 MB, free: 2.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.3025, allocations: 96.89 kB / 449.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.3027, allocations: 279 kB / 449.3 MB, free: 1.797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3028, allocations: 33.7 kB / 449.4 MB, free: 1.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.3029, allocations: 251.6 kB / 449.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.277e-05/0.3029, allocations: 157.7 kB / 449.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3031, allocations: 94.28 kB / 449.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.3031, allocations: 346.8 kB / 450.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.3034, allocations: 221 kB / 450.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.3037, allocations: 361.7 kB / 450.8 MB, free: 284 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007652/0.3045, allocations: 0.6279 MB / 451.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3045, allocations: 4 kB / 451.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001395/0.3059, allocations: 0.7158 MB / 452.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.3059, allocations: 12.5 kB / 452.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009247/0.3069, allocations: 0.5224 MB / 452.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003779/0.3073, allocations: 76.78 kB / 452.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.3077, allocations: 103.8 kB / 452.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.3096, allocations: 1.734 MB / 454.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.3099, allocations: 31.97 kB / 454.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.31, allocations: 20 kB / 454.6 MB, free: 12.22 MB / 334.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.0002837/0.3103, allocations: 221.6 kB / 454.8 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.3104, allocations: 39.56 kB / 454.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008752/0.3112, allocations: 0.5591 MB / 455.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/0.3113, allocations: 12 kB / 455.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.3113, allocations: 0 / 455.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3113, allocations: 3.984 kB / 455.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.3133, allocations: 1.192 MB / 456.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.3133, allocations: 4 kB / 456.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.3137, allocations: 83.81 kB / 456.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.3138, allocations: 4 kB / 456.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.3138, allocations: 8 kB / 456.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.3138, allocations: 7.984 kB / 456.7 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.3138, allocations: 3.938 kB / 456.7 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.3151, allocations: 0.9277 MB / 457.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.852e-05/0.3152, allocations: 108.6 kB / 457.8 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.3152, allocations: 8 kB / 457.8 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.3155, allocations: 19.97 kB / 457.8 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.3155, allocations: 35.84 kB / 457.8 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.3156, allocations: 12 kB / 457.9 MB, free: 8.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.3158, allocations: 201.9 kB / 458.1 MB, free: 8.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3158, allocations: 3.938 kB / 458.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005526/0.3164, allocations: 116 kB / 458.2 MB, free: 8.531 MB / 334.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.0002662/0.3166, allocations: 142.2 kB / 458.3 MB, free: 8.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.3177, allocations: 0.6646 MB / 459 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3177, allocations: 0 / 459 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003371/0.3181, allocations: 260.5 kB / 459.2 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.3186, allocations: 82.02 kB / 459.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.3205, allocations: 1.154 MB / 460.5 MB, free: 6.184 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.321, allocations: 0.8819 MB / 461.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000298/0.3213, allocations: 127.2 kB / 461.5 MB, free: 5.152 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.3214, allocations: 31.44 kB / 461.5 MB, free: 5.121 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3214, allocations: 0 / 461.5 MB, free: 5.121 MB / 334.1 MB Notification: Performance of Templates: time 0.00943/0.3309, allocations: 4.502 MB / 466 MB, free: 0.6328 MB / 334.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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)