Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008859/0.0008858, allocations: 94.02 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.001139/0.001139, allocations: 175.7 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.8/1.8, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1768/0.1768, allocations: 38.06 MB / 310.7 MB, free: 5.898 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.0005716/0.0005716, allocations: 19.98 kB / 377.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3179, allocations: 56.34 MB / 434.2 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004247/0.3222, allocations: 4.14 MB / 438.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.3235, allocations: 1.002 MB / 439.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.3237, allocations: 19.88 kB / 439.3 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.3239, allocations: 39.69 kB / 439.4 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.3243, allocations: 143.3 kB / 439.5 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.3245, allocations: 79.91 kB / 439.6 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004195/0.3249, allocations: 0.5179 MB / 440.1 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.3251, allocations: 97.64 kB / 440.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.3253, allocations: 143.2 kB / 440.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.3256, allocations: 183.3 kB / 440.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.3257, allocations: 12 kB / 440.5 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.632e-05/0.3257, allocations: 8 kB / 440.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.208e-05/0.3258, allocations: 79.72 kB / 440.6 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.326, allocations: 149 kB / 440.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.3262, allocations: 199.5 kB / 440.9 MB, free: 12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3262, allocations: 4 kB / 440.9 MB, free: 12 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3262, allocations: 0 / 440.9 MB, free: 12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3262, allocations: 0 / 440.9 MB, free: 12 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008638/0.3271, allocations: 0.5621 MB / 441.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3271, allocations: 8.031 kB / 441.5 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.457e-05/0.3272, allocations: 36.55 kB / 441.5 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.3276, allocations: 311 kB / 441.9 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.3276, allocations: 24.81 kB / 441.9 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.3278, allocations: 36.06 kB / 441.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.3281, allocations: 290 kB / 442.2 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3282, allocations: 7.938 kB / 442.2 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.3282, allocations: 8 kB / 442.2 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3282, allocations: 8 kB / 442.2 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.3285, allocations: 191.5 kB / 442.4 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.3297, allocations: 1.28 MB / 443.7 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.33, allocations: 119.8 kB / 443.8 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.479e-05/0.3301, allocations: 46.62 kB / 443.8 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.3301, allocations: 4 kB / 443.9 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.3301, allocations: 34.56 kB / 443.9 MB, free: 8.797 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.3302, allocations: 0 / 443.9 MB, free: 8.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008536/0.331, allocations: 0.5309 MB / 444.4 MB, free: 8.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.3311, allocations: 106.8 kB / 444.5 MB, free: 8.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.3313, allocations: 246.6 kB / 444.8 MB, free: 7.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.3313, allocations: 25.7 kB / 444.8 MB, free: 7.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.3314, allocations: 199.9 kB / 445 MB, free: 7.598 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.3314, allocations: 31.55 kB / 445 MB, free: 7.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.3315, allocations: 25.7 kB / 445 MB, free: 7.535 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.3315, allocations: 338.8 kB / 445.4 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-05/0.3316, allocations: 39.98 kB / 445.4 MB, free: 7.156 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.3317, allocations: 127.9 kB / 445.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.3319, allocations: 203.7 kB / 445.7 MB, free: 6.746 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3319, allocations: 0 / 445.7 MB, free: 6.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003405/0.3323, allocations: 225.9 kB / 446 MB, free: 6.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3323, allocations: 8 kB / 446 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3323, allocations: 4.406 kB / 446 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001168/0.3324, allocations: 32.84 kB / 446 MB, free: 6.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.3327, allocations: 63.83 kB / 446.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.3327, allocations: 7.984 kB / 446.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.3329, allocations: 15.84 kB / 446.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.3329, allocations: 12 kB / 446.1 MB, free: 6.371 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.333, allocations: 145.8 kB / 446.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.3331, allocations: 23.81 kB / 446.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.3333, allocations: 147.2 kB / 446.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3333, allocations: 3.938 kB / 446.4 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3333, allocations: 3.984 kB / 446.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3334, allocations: 4 kB / 446.4 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.3336, allocations: 281.5 kB / 446.7 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3337, allocations: 3.938 kB / 446.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.3338, allocations: 27.98 kB / 446.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3338, allocations: 0 / 446.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3338, allocations: 12 kB / 446.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3338, allocations: 7.922 kB / 446.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3338, allocations: 0 / 446.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.3342, allocations: 363.3 kB / 447.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.3342, allocations: 100.8 kB / 447.2 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.3343, allocations: 4 kB / 447.2 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.3344, allocations: 8 kB / 447.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.3345, allocations: 15.98 kB / 447.2 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.3345, allocations: 4 kB / 447.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.3346, allocations: 170 kB / 447.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3346, allocations: 96 / 447.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003245/0.3349, allocations: 51.94 kB / 447.4 MB, free: 4.922 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * 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.0001073/0.3351, allocations: 95.25 kB / 447.5 MB, free: 4.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.3354, allocations: 221.2 kB / 447.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3354, allocations: 0 / 447.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.258e-05/0.3355, allocations: 51.91 kB / 447.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.336, allocations: 45.98 kB / 447.8 MB, free: 4.488 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009345/0.3369, allocations: 0.8015 MB / 448.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.3372, allocations: 0.7677 MB / 449.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.3372, allocations: 27.42 kB / 449.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3372, allocations: 7.875 kB / 449.4 MB, free: 2.816 MB / 318.1 MB Notification: Performance of Templates: time 0.005301/0.3425, allocations: 3.441 MB / 452.9 MB, free: 15.37 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.AC1ph_DC.Elementary.LoadDCCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDCCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDCCalcHelperMain.o] Error 1