Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009012/0.0009013, allocations: 92.59 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.001535/0.001535, allocations: 182 kB / 18.21 MB, free: 5.676 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.828/1.828, 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.1779/0.1779, allocations: 38.05 MB / 310.7 MB, free: 5.918 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.0005322/0.0005324, allocations: 20 kB / 377.8 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3049, allocations: 56.33 MB / 434.1 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005611/0.3106, allocations: 4.947 MB / 439.1 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.3132, allocations: 1.563 MB / 440.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.3136, allocations: 27.81 kB / 440.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000393/0.314, allocations: 83.44 kB / 440.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005628/0.3145, allocations: 223 kB / 441 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.315, allocations: 151.8 kB / 441.1 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006639/0.3157, allocations: 0.7947 MB / 441.9 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009571/0.3166, allocations: 0.5976 MB / 442.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.3169, allocations: 199.1 kB / 442.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.3173, allocations: 263 kB / 443 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.3174, allocations: 16 kB / 443 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.3177, allocations: 131.7 kB / 443.1 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.3178, allocations: 167.5 kB / 443.3 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.318, allocations: 228.6 kB / 443.5 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.3184, allocations: 403 kB / 443.9 MB, free: 8.863 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3184, allocations: 0 / 443.9 MB, free: 8.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3184, allocations: 0 / 443.9 MB, free: 8.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.3184, allocations: 4 kB / 443.9 MB, free: 8.859 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001018/0.3195, allocations: 0.6328 MB / 444.5 MB, free: 8.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.3195, allocations: 8.031 kB / 444.5 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006603/0.3202, allocations: 84.31 kB / 444.6 MB, free: 8.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.3207, allocations: 407.9 kB / 445 MB, free: 7.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.3208, allocations: 29.38 kB / 445.1 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.3209, allocations: 48.11 kB / 445.1 MB, free: 7.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/0.3216, allocations: 480.8 kB / 445.6 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.3216, allocations: 0 / 445.6 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.3216, allocations: 12 kB / 445.6 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.3217, allocations: 32.98 kB / 445.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004841/0.3222, allocations: 347.7 kB / 446 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.324, allocations: 1.633 MB / 447.6 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.3244, allocations: 169.1 kB / 447.7 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.3245, allocations: 113.7 kB / 447.9 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.3245, allocations: 4 kB / 447.9 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.3246, allocations: 42.44 kB / 447.9 MB, free: 4.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.3246, allocations: 0 / 447.9 MB, free: 4.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.001193/0.3258, allocations: 0.7805 MB / 448.7 MB, free: 3.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.3258, allocations: 81.11 kB / 448.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.3261, allocations: 308.6 kB / 449.1 MB, free: 3.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.3261, allocations: 45.62 kB / 449.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3263, allocations: 251.5 kB / 449.4 MB, free: 3.074 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.3263, allocations: 67 kB / 449.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.3264, allocations: 37.7 kB / 449.5 MB, free: 2.965 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.586e-05/0.3265, allocations: 342.8 kB / 449.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.3266, allocations: 91.95 kB / 449.9 MB, free: 2.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.3268, allocations: 196.7 kB / 450.1 MB, free: 2.293 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.3272, allocations: 336.4 kB / 450.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3272, allocations: 7.938 kB / 450.4 MB, free: 1.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006928/0.3279, allocations: 433.6 kB / 450.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3279, allocations: 8 kB / 450.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004302/0.3283, allocations: 256.5 kB / 451.1 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003542/0.3287, allocations: 76.78 kB / 451.2 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.3289, allocations: 72.02 kB / 451.2 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/0.3305, allocations: 1.593 MB / 452.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.3307, allocations: 8 kB / 452.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.3308, allocations: 19.98 kB / 452.9 MB, free: 15.3 MB / 334.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 (34): * Single equations (assignments): 33 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002503/0.331, allocations: 197.5 kB / 453.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.3311, allocations: 31.62 kB / 453.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.3316, allocations: 268.5 kB / 453.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3316, allocations: 4.062 kB / 453.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3316, allocations: 4 kB / 453.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3316, allocations: 3.984 kB / 453.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.3329, allocations: 0.746 MB / 454.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.3329, allocations: 4 kB / 454.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.3332, allocations: 47.97 kB / 454.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3332, allocations: 8 kB / 454.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.3332, allocations: 8 kB / 454.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3332, allocations: 0 / 454.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.3332, allocations: 11.88 kB / 454.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006078/0.3338, allocations: 449.6 kB / 454.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.334, allocations: 116.7 kB / 454.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.334, allocations: 4 kB / 454.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.3342, allocations: 11.94 kB / 454.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.3342, allocations: 19.91 kB / 454.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.3342, allocations: 8 kB / 454.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.3345, allocations: 215.1 kB / 455 MB, free: 13.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3345, allocations: 0 / 455 MB, free: 13.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004191/0.3349, allocations: 84 kB / 455.1 MB, free: 12.97 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * 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.0001807/0.3351, allocations: 111.2 kB / 455.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006835/0.3358, allocations: 366.2 kB / 455.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.3358, allocations: 4.812 kB / 455.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.336, allocations: 103.8 kB / 455.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.3366, allocations: 65.58 kB / 455.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.3383, allocations: 1.192 MB / 456.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.3388, allocations: 0.8463 MB / 457.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/0.3389, allocations: 31.42 kB / 457.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of SimCode: time 3.516e-06/0.3389, allocations: 0 / 457.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of Templates: time 0.008128/0.3471, allocations: 5.21 MB / 463 MB, free: 4.965 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.AC3ph.Transmission.PowerTransferCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransferCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransferCalcHelperMain.o] Error 1