Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000919/0.0009188, allocations: 92.23 kB / 16.95 MB, free: 5.953 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.0008611/0.0008611, allocations: 177.4 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.555/1.555, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.166/0.166, allocations: 38.05 MB / 310.3 MB, free: 6.031 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.0005238/0.0005238, allocations: 19.28 kB / 377.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3278, allocations: 56.32 MB / 433.5 MB, free: 19 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.003852/0.3317, allocations: 4.146 MB / 437.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.333, allocations: 1.085 MB / 438.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.3332, allocations: 27.88 kB / 438.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.3334, allocations: 55.53 kB / 438.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004258/0.3338, allocations: 206.8 kB / 439 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.334, allocations: 111.9 kB / 439.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.3344, allocations: 430.5 kB / 439.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.3346, allocations: 85.11 kB / 439.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.3348, allocations: 147.2 kB / 439.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.3351, allocations: 179.3 kB / 439.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.3351, allocations: 12 kB / 439.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.349e-05/0.3352, allocations: 8 kB / 439.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.554e-05/0.3352, allocations: 83.7 kB / 440 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.3353, allocations: 77.58 kB / 440.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.3355, allocations: 215.4 kB / 440.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3355, allocations: 0 / 440.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3356, allocations: 0 / 440.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3356, allocations: 0 / 440.3 MB, free: 12.14 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.0008259/0.3364, allocations: 0.5386 MB / 440.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3364, allocations: 12.03 kB / 440.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.238e-05/0.3365, allocations: 35.58 kB / 440.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.3369, allocations: 309.8 kB / 441.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.3369, allocations: 24.44 kB / 441.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.337, allocations: 20 kB / 441.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.3373, allocations: 290.8 kB / 441.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3373, allocations: 7.938 kB / 441.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.3374, allocations: 4 kB / 441.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3374, allocations: 12 kB / 441.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.3376, allocations: 184.8 kB / 441.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.3387, allocations: 1.228 MB / 442.9 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.339, allocations: 101.2 kB / 443 MB, free: 9.164 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.553e-05/0.339, allocations: 49.7 kB / 443.1 MB, free: 9.109 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.3391, allocations: 4 kB / 443.1 MB, free: 9.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.3391, allocations: 42.48 kB / 443.1 MB, free: 9.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.3391, allocations: 0 / 443.1 MB, free: 9.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007033/0.3398, allocations: 480.4 kB / 443.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.3399, allocations: 93.12 kB / 443.7 MB, free: 8.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.34, allocations: 242.7 kB / 443.9 MB, free: 8.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.3401, allocations: 25.7 kB / 444 MB, free: 8.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.3402, allocations: 199.6 kB / 444.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.3402, allocations: 39.39 kB / 444.2 MB, free: 7.902 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.3402, allocations: 8 kB / 444.2 MB, free: 7.895 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.3403, allocations: 330.8 kB / 444.5 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.3403, allocations: 35.98 kB / 444.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.191e-05/0.3404, allocations: 128.7 kB / 444.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.506e-05/0.3405, allocations: 60.67 kB / 444.7 MB, free: 7.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3405, allocations: 4 kB / 444.8 MB, free: 7.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002396/0.3408, allocations: 208.9 kB / 445 MB, free: 7.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3408, allocations: 8 kB / 445 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3408, allocations: 4 kB / 445 MB, free: 7.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3408, allocations: 4 kB / 445 MB, free: 7.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.341, allocations: 48.34 kB / 445 MB, free: 7.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.341, allocations: 11.95 kB / 445 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.486e-05/0.3411, allocations: 8 kB / 445 MB, free: 7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3411, allocations: 8 kB / 445 MB, free: 6.992 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.3412, allocations: 161.7 kB / 445.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.3413, allocations: 19.72 kB / 445.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.3415, allocations: 135.2 kB / 445.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3415, allocations: 0 / 445.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3415, allocations: 4 kB / 445.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3415, allocations: 11.94 kB / 445.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.3419, allocations: 479.2 kB / 445.8 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3419, allocations: 4 kB / 445.8 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.342, allocations: 16 kB / 445.9 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.3421, allocations: 7.938 kB / 445.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3421, allocations: 0 / 445.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.3421, allocations: 3.953 kB / 445.9 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3421, allocations: 11.97 kB / 445.9 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.3423, allocations: 283.2 kB / 446.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.3424, allocations: 92.83 kB / 446.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.3424, allocations: 8 kB / 446.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.3425, allocations: 0 / 446.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.3426, allocations: 11.94 kB / 446.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.3426, allocations: 12 kB / 446.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.3427, allocations: 174 kB / 446.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3427, allocations: 0 / 446.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000279/0.343, allocations: 44 kB / 446.5 MB, free: 5.434 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * 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 8.612e-05/0.3431, allocations: 95.25 kB / 446.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.3433, allocations: 112.6 kB / 446.7 MB, free: 5.223 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3433, allocations: 4 kB / 446.7 MB, free: 5.219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.264e-05/0.3433, allocations: 44.2 kB / 446.7 MB, free: 5.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.3438, allocations: 52.59 kB / 446.8 MB, free: 5.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000766/0.3446, allocations: 0.7172 MB / 447.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.3448, allocations: 0.7794 MB / 448.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.3448, allocations: 19.44 kB / 448.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3449, allocations: 0 / 448.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of Templates: time 0.004161/0.349, allocations: 2.909 MB / 451.2 MB, free: 0.6328 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.AC1ph_DC.Elementary.ImpedanceOneTermCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTermCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTermCalcHelperMain.o] Error 1