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.0007537/0.0007538, allocations: 91.72 kB / 17.31 MB, free: 6.535 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.0007755/0.0007755, allocations: 175.9 kB / 18.21 MB, free: 5.684 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.781/1.781, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2277/0.2277, allocations: 38.06 MB / 310.7 MB, free: 5.988 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.00056/0.0005601, allocations: 19.69 kB / 377.8 MB, free: 2.809 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3088, allocations: 56.32 MB / 434.1 MB, free: 18.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004358/0.3133, allocations: 4.686 MB / 438.8 MB, free: 14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.3156, allocations: 1.641 MB / 440.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.3158, allocations: 23.88 kB / 440.5 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.3161, allocations: 59.55 kB / 440.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005504/0.3166, allocations: 227.1 kB / 440.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.3172, allocations: 223.5 kB / 441 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005999/0.3178, allocations: 0.8693 MB / 441.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007969/0.3186, allocations: 0.5436 MB / 442.4 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.3188, allocations: 207 kB / 442.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.3193, allocations: 350.9 kB / 442.9 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.3193, allocations: 20 kB / 443 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.3197, allocations: 243.5 kB / 443.2 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.3198, allocations: 219.4 kB / 443.4 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.32, allocations: 256.4 kB / 443.7 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.3204, allocations: 498.9 kB / 444.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3204, allocations: 0 / 444.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3205, allocations: 0 / 444.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3205, allocations: 0 / 444.1 MB, free: 8.625 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.001133/0.3216, allocations: 0.6882 MB / 444.8 MB, free: 7.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3216, allocations: 8.031 kB / 444.8 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005978/0.3223, allocations: 96.22 kB / 444.9 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.3228, allocations: 407.2 kB / 445.3 MB, free: 7.348 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.3228, allocations: 33.36 kB / 445.4 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.323, allocations: 48.06 kB / 445.4 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008077/0.3238, allocations: 0.6804 MB / 446.1 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.3238, allocations: 0 / 446.1 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.708e-05/0.3239, allocations: 12 kB / 446.1 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/0.324, allocations: 64.94 kB / 446.2 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008025/0.3248, allocations: 0.6674 MB / 446.8 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.3276, allocations: 2.433 MB / 449.3 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.3281, allocations: 361.7 kB / 449.6 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.3284, allocations: 261.9 kB / 449.9 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.3284, allocations: 4.281 kB / 449.9 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3284, allocations: 34.84 kB / 449.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 2.875e-06/0.3285, allocations: 0 / 449.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.001897/0.3304, allocations: 1.487 MB / 451.4 MB, free: 1.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.3304, allocations: 81.11 kB / 451.5 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.3306, allocations: 286.9 kB / 451.8 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.3307, allocations: 29.7 kB / 451.8 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.3308, allocations: 243.7 kB / 452 MB, free: 380 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.493e-05/0.3309, allocations: 157.7 kB / 452.2 MB, free: 220 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.3309, allocations: 45.83 kB / 452.2 MB, free: 168 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3311, allocations: 354.8 kB / 452.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.3315, allocations: 221 kB / 452.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/0.3319, allocations: 361.7 kB / 453.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000871/0.3328, allocations: 0.6239 MB / 453.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3328, allocations: 0 / 453.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001306/0.3341, allocations: 0.7274 MB / 454.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3341, allocations: 15.81 kB / 454.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008695/0.335, allocations: 0.5153 MB / 455 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003188/0.3353, allocations: 80.72 kB / 455.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.3357, allocations: 103.9 kB / 455.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.3374, allocations: 1.6 MB / 456.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.3377, allocations: 31.91 kB / 456.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.3377, allocations: 23.98 kB / 456.9 MB, free: 11.26 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.0002897/0.338, allocations: 217.6 kB / 457.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/0.3381, allocations: 39.52 kB / 457.1 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009352/0.3391, allocations: 0.5631 MB / 457.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/0.3391, allocations: 19.92 kB / 457.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3391, allocations: 4 kB / 457.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3391, allocations: 0 / 457.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.3411, allocations: 1.196 MB / 458.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3411, allocations: 0 / 458.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.3415, allocations: 83.88 kB / 459 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3415, allocations: 0 / 459 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.3416, allocations: 12 kB / 459 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3416, allocations: 4 kB / 459 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3416, allocations: 0 / 459 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.3428, allocations: 0.9297 MB / 459.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.737e-05/0.3429, allocations: 104.6 kB / 460 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.343, allocations: 16.03 kB / 460 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.3432, allocations: 19.98 kB / 460.1 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.3433, allocations: 23.83 kB / 460.1 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.3433, allocations: 19.98 kB / 460.1 MB, free: 7.879 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.3435, allocations: 194 kB / 460.3 MB, free: 7.688 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3435, allocations: 0 / 460.3 MB, free: 7.688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004909/0.344, allocations: 123.9 kB / 460.4 MB, free: 7.566 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.0002582/0.3443, allocations: 139.3 kB / 460.5 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.3454, allocations: 0.6723 MB / 461.2 MB, free: 6.738 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3454, allocations: 0 / 461.2 MB, free: 6.738 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.3457, allocations: 256.8 kB / 461.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.3463, allocations: 83.47 kB / 461.6 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.3483, allocations: 1.48 MB / 463 MB, free: 4.887 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.3489, allocations: 0.8782 MB / 463.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.3491, allocations: 39.42 kB / 464 MB, free: 3.945 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3491, allocations: 0 / 464 MB, free: 3.945 MB / 334.1 MB Notification: Performance of Templates: time 0.009685/0.3588, allocations: 6.362 MB / 470.3 MB, free: 13.58 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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