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.0008596/0.0008596, allocations: 93.47 kB / 16.95 MB, free: 5.949 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.0009812/0.0009809, allocations: 177.7 kB / 17.84 MB, free: 5.617 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.563/1.563, allocations: 205.4 MB / 224 MB, free: 13.14 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1709/0.1709, allocations: 38.05 MB / 310.3 MB, free: 6.016 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.0004964/0.0004965, allocations: 16 kB / 377.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2691, allocations: 56.35 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004195/0.2734, allocations: 4.45 MB / 437.9 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.2758, allocations: 1.564 MB / 439.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.2761, allocations: 27.81 kB / 439.5 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.2763, allocations: 79.39 kB / 439.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005616/0.2769, allocations: 266.7 kB / 439.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.2774, allocations: 235.5 kB / 440.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004784/0.2779, allocations: 0.6742 MB / 440.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006682/0.2786, allocations: 0.523 MB / 441.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.2788, allocations: 211.1 kB / 441.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003794/0.2792, allocations: 351.1 kB / 441.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.2793, allocations: 20 kB / 441.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.2796, allocations: 183.6 kB / 442 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.2798, allocations: 219.5 kB / 442.2 MB, free: 10 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.453e-05/0.2799, allocations: 109.5 kB / 442.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.2803, allocations: 490.9 kB / 442.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.2803, allocations: 0 / 442.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2803, allocations: 0 / 442.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.2803, allocations: 4 kB / 442.8 MB, free: 9.402 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.001095/0.2814, allocations: 0.6919 MB / 443.5 MB, free: 8.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2815, allocations: 12.03 kB / 443.5 MB, free: 8.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005064/0.282, allocations: 87.28 kB / 443.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/0.2825, allocations: 402.1 kB / 444 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.2825, allocations: 32.94 kB / 444 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.2826, allocations: 47.98 kB / 444.1 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000803/0.2834, allocations: 0.6765 MB / 444.8 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.2835, allocations: 0 / 444.8 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.203e-05/0.2835, allocations: 19.94 kB / 444.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/0.2837, allocations: 52.95 kB / 444.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/0.2845, allocations: 0.6635 MB / 445.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/0.287, allocations: 2.437 MB / 447.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.2875, allocations: 364.1 kB / 448.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.2878, allocations: 249.9 kB / 448.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.2878, allocations: 4.281 kB / 448.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.2878, allocations: 46.84 kB / 448.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 1.643e-06/0.2878, allocations: 0 / 448.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.001856/0.2897, allocations: 1.475 MB / 450.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.2898, allocations: 81.11 kB / 450.1 MB, free: 1.738 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.29, allocations: 278.9 kB / 450.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.29, allocations: 37.83 kB / 450.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.2901, allocations: 251.7 kB / 450.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.927e-05/0.2902, allocations: 161.6 kB / 450.9 MB, free: 1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.2902, allocations: 8 kB / 450.9 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.194e-05/0.2903, allocations: 350.8 kB / 451.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.2906, allocations: 217 kB / 451.4 MB, free: 440 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.2909, allocations: 357.7 kB / 451.8 MB, free: 24 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.2913, allocations: 280.2 kB / 452 MB, free: 15.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2913, allocations: 8 kB / 452.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00121/0.2926, allocations: 0.716 MB / 452.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2926, allocations: 8 kB / 452.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008309/0.2934, allocations: 0.5185 MB / 453.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003024/0.2937, allocations: 76.78 kB / 453.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.2941, allocations: 107.8 kB / 453.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.2958, allocations: 1.597 MB / 455.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.296, allocations: 31.88 kB / 455.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.2961, allocations: 20 kB / 455.1 MB, free: 12.53 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002925/0.2964, allocations: 221.6 kB / 455.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.2965, allocations: 39.56 kB / 455.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009272/0.2974, allocations: 0.5591 MB / 455.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/0.2974, allocations: 15.98 kB / 456 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.2975, allocations: 0 / 456 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.2975, allocations: 0 / 456 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.2993, allocations: 1.192 MB / 457.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2993, allocations: 0 / 457.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/0.2997, allocations: 87.88 kB / 457.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2997, allocations: 0 / 457.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.2998, allocations: 8 kB / 457.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.2998, allocations: 8.031 kB / 457.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2998, allocations: 4 kB / 457.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.301, allocations: 0.9217 MB / 458.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.518e-05/0.3011, allocations: 112.6 kB / 458.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.3011, allocations: 16.03 kB / 458.3 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.3014, allocations: 15.98 kB / 458.3 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.3014, allocations: 27.91 kB / 458.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.3015, allocations: 11.98 kB / 458.4 MB, free: 9.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.3017, allocations: 194 kB / 458.5 MB, free: 8.973 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3017, allocations: 0 / 458.5 MB, free: 8.973 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005154/0.3022, allocations: 124 kB / 458.7 MB, free: 8.852 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002173/0.3024, allocations: 127.1 kB / 458.8 MB, free: 8.719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.3035, allocations: 0.6567 MB / 459.4 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.3035, allocations: 5.125 kB / 459.4 MB, free: 8.047 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.3038, allocations: 259.5 kB / 459.7 MB, free: 7.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.3043, allocations: 73.31 kB / 459.8 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.3067, allocations: 1.457 MB / 461.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007529/0.3075, allocations: 0.8782 MB / 462.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.3076, allocations: 39.42 kB / 462.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3076, allocations: 0 / 462.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of Templates: time 0.00936/0.317, allocations: 6.359 MB / 468.5 MB, free: 14.91 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.Introductory.InitialSteadyStateCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Introductory.InitialSteadyStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Introductory.InitialSteadyStateCalcHelperMain.o] Error 1