Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 97.03 kB / 17.31 MB, free: 6.391 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.001404/0.001405, allocations: 175.7 kB / 18.21 MB, free: 5.551 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.796/1.796, allocations: 205.4 MB / 224.4 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1966/0.1966, allocations: 38.05 MB / 310.7 MB, free: 6.008 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.0005244/0.0005247, allocations: 15.28 kB / 377.8 MB, free: 2.812 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.308, allocations: 56.34 MB / 434.2 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004624/0.3126, allocations: 4.596 MB / 438.7 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.3144, allocations: 1.162 MB / 439.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.3146, allocations: 19.88 kB / 439.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.3148, allocations: 47.61 kB / 440 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005316/0.3154, allocations: 219.1 kB / 440.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.3156, allocations: 83.91 kB / 440.3 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005883/0.3162, allocations: 0.8026 MB / 441.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.3165, allocations: 122.9 kB / 441.2 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.3167, allocations: 183.1 kB / 441.4 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.3171, allocations: 271 kB / 441.6 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.3172, allocations: 16 kB / 441.7 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.099e-05/0.3172, allocations: 12 kB / 441.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.3174, allocations: 131.6 kB / 441.8 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.3175, allocations: 192.8 kB / 442 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.3177, allocations: 263.3 kB / 442.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3177, allocations: 0 / 442.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3177, allocations: 4 kB / 442.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3177, allocations: 0 / 442.2 MB, free: 10.57 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009335/0.3187, allocations: 0.605 MB / 442.8 MB, free: 9.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3187, allocations: 8.031 kB / 442.9 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.3188, allocations: 40.47 kB / 442.9 MB, free: 9.871 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.3192, allocations: 359.8 kB / 443.2 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3193, allocations: 24.69 kB / 443.3 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.3193, allocations: 24 kB / 443.3 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.3198, allocations: 352.7 kB / 443.6 MB, free: 9.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3198, allocations: 7.922 kB / 443.6 MB, free: 9.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.3198, allocations: 12 kB / 443.7 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.676e-05/0.3199, allocations: 24.53 kB / 443.7 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.3203, allocations: 238 kB / 443.9 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.3215, allocations: 1.378 MB / 445.3 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.3219, allocations: 173.1 kB / 445.5 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.322, allocations: 101.7 kB / 445.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.3221, allocations: 3.984 kB / 445.6 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.3221, allocations: 46.44 kB / 445.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.3221, allocations: 4 kB / 445.6 MB, free: 6.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001134/0.3233, allocations: 0.7517 MB / 446.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.3233, allocations: 89.05 kB / 446.5 MB, free: 6.039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.3235, allocations: 292.6 kB / 446.7 MB, free: 5.742 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.3236, allocations: 29.83 kB / 446.8 MB, free: 5.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3237, allocations: 219.5 kB / 447 MB, free: 5.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.3237, allocations: 55.2 kB / 447 MB, free: 5.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.3237, allocations: 25.7 kB / 447.1 MB, free: 5.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.533e-05/0.3238, allocations: 338.8 kB / 447.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.879e-05/0.3239, allocations: 67.95 kB / 447.5 MB, free: 4.996 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.324, allocations: 160.8 kB / 447.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.3243, allocations: 260.5 kB / 447.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3243, allocations: 0 / 447.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003972/0.3247, allocations: 322 kB / 448.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3247, allocations: 8 kB / 448.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3247, allocations: 4 kB / 448.2 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/0.3249, allocations: 48.83 kB / 448.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.3251, allocations: 47.91 kB / 448.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009594/0.3261, allocations: 1.503 MB / 449.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.3262, allocations: 8 kB / 449.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.3262, allocations: 15.94 kB / 449.8 MB, free: 2.398 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 (28): * Single equations (assignments): 27 * Array equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.3264, allocations: 177.8 kB / 450 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.3264, allocations: 35.56 kB / 450 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.3268, allocations: 236.3 kB / 450.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3268, allocations: 0 / 450.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3268, allocations: 7.938 kB / 450.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3269, allocations: 0 / 450.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006751/0.3275, allocations: 0.6482 MB / 450.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3275, allocations: 0 / 450.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.871e-05/0.3276, allocations: 23.94 kB / 450.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000163/0.3278, allocations: 60.78 kB / 451 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3278, allocations: 0 / 451 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.3289, allocations: 1.487 MB / 452.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3289, allocations: 4.031 kB / 452.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005356/0.3295, allocations: 405.6 kB / 452.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/0.3296, allocations: 104.8 kB / 453 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.3296, allocations: 11.92 kB / 453 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.3297, allocations: 4 kB / 453 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.3298, allocations: 15.92 kB / 453 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3298, allocations: 8 kB / 453 MB, free: 14.92 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002149/0.33, allocations: 207.1 kB / 453.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.33, allocations: 4 kB / 453.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003751/0.3304, allocations: 68 kB / 453.3 MB, free: 14.65 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001521/0.3306, allocations: 107.2 kB / 453.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005833/0.3312, allocations: 310.4 kB / 453.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.3312, allocations: 0 / 453.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.3315, allocations: 202.6 kB / 453.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.3321, allocations: 65.08 kB / 454 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.3335, allocations: 0.95 MB / 454.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.334, allocations: 0.8107 MB / 455.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.334, allocations: 23.44 kB / 455.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of SimCode: time 3.527e-06/0.334, allocations: 0 / 455.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Templates: time 0.007478/0.3415, allocations: 4.831 MB / 460.6 MB, free: 7.27 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.ImpedanceCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceCalcHelperMain.o] Error 1