Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008819/0.0008819, allocations: 92.81 kB / 16.95 MB, free: 5.938 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.0008862/0.000886, allocations: 178 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.68/1.68, 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.1764/0.1764, allocations: 38.05 MB / 310.3 MB, free: 6.113 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.0005066/0.0005067, allocations: 12 kB / 377.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.299, allocations: 56.33 MB / 433.5 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.00224/0.3013, allocations: 1.77 MB / 435.2 MB, free: 17.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.3039, allocations: 1.944 MB / 437.2 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.304, allocations: 4 kB / 437.2 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.3042, allocations: 11.92 kB / 437.2 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.691e-05/0.3043, allocations: 27.83 kB / 437.2 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.3062, allocations: 0.6419 MB / 437.9 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.3064, allocations: 95.69 kB / 438 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.3064, allocations: 4.188 kB / 438 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.28e-05/0.3065, allocations: 35.84 kB / 438 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.3066, allocations: 35.83 kB / 438 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.377e-06/0.3066, allocations: 0 / 438 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.3079, allocations: 1.057 MB / 439.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.3079, allocations: 23.86 kB / 439.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.3079, allocations: 25.7 kB / 439.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007218/0.3087, allocations: 0.9064 MB / 440 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3087, allocations: 0 / 440 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3087, allocations: 0 / 440 MB, free: 12.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3087, allocations: 0 / 440 MB, free: 12.24 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005103/0.3092, allocations: 0.4889 MB / 440.5 MB, free: 11.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3093, allocations: 20.02 kB / 440.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.3093, allocations: 11.84 kB / 440.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.3095, allocations: 182.8 kB / 440.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3095, allocations: 0 / 440.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.3095, allocations: 4 kB / 440.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.3096, allocations: 53.67 kB / 440.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3097, allocations: 0 / 440.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3097, allocations: 4 kB / 440.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3097, allocations: 11.94 kB / 440.8 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.464e-05/0.3097, allocations: 23.98 kB / 440.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.3099, allocations: 161.7 kB / 441 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.278e-05/0.3099, allocations: 46.58 kB / 441 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.31, allocations: 40.95 kB / 441.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.728e-06/0.31, allocations: 3.938 kB / 441.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.31, allocations: 30.56 kB / 441.1 MB, free: 11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.31, allocations: 0 / 441.1 MB, free: 11 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002253/0.3103, allocations: 159.2 kB / 441.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.3103, allocations: 93.08 kB / 441.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.967e-05/0.3104, allocations: 125.8 kB / 441.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.3104, allocations: 29.7 kB / 441.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.3104, allocations: 84.14 kB / 441.6 MB, free: 10.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.3105, allocations: 27.64 kB / 441.6 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.3105, allocations: 0 / 441.6 MB, free: 10.44 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.3105, allocations: 318.8 kB / 441.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.857e-05/0.3106, allocations: 19.98 kB / 442 MB, free: 10.1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-05/0.3106, allocations: 27.98 kB / 442 MB, free: 10.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.786e-05/0.3107, allocations: 57.69 kB / 442 MB, free: 10.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3107, allocations: 0 / 442 MB, free: 10.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001112/0.3108, allocations: 127.3 kB / 442.2 MB, free: 9.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.3108, allocations: 41.69 kB / 442.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3108, allocations: 0 / 442.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.3108, allocations: 0 / 442.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.153e-06/0.3108, allocations: 4 kB / 442.2 MB, free: 9.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3109, allocations: 0 / 442.2 MB, free: 9.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.3109, allocations: 7.859 kB / 442.2 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.3109, allocations: 8.062 kB / 442.2 MB, free: 9.809 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.18e-05/0.311, allocations: 167.4 kB / 442.4 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.311, allocations: 7.906 kB / 442.4 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.054e-05/0.311, allocations: 4.375 kB / 442.4 MB, free: 9.617 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.3111, allocations: 0 / 442.4 MB, free: 9.617 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3111, allocations: 4 kB / 442.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3111, allocations: 0 / 442.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.301e-05/0.3112, allocations: 177.6 kB / 442.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3112, allocations: 3.938 kB / 442.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3112, allocations: 4 kB / 442.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.3112, allocations: 0 / 442.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3112, allocations: 4 kB / 442.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.3112, allocations: 0 / 442.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.3112, allocations: 0 / 442.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.3114, allocations: 222.5 kB / 442.8 MB, free: 9.137 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.3114, allocations: 88.95 kB / 442.9 MB, free: 9.031 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.3114, allocations: 0 / 442.9 MB, free: 9.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.076e-05/0.3115, allocations: 4.031 kB / 442.9 MB, free: 9.027 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.3115, allocations: 7.984 kB / 442.9 MB, free: 9.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3115, allocations: 7.938 kB / 442.9 MB, free: 9.012 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.95e-05/0.3116, allocations: 106 kB / 443 MB, free: 8.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3116, allocations: 0 / 443 MB, free: 8.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005309/0.3121, allocations: 300 kB / 443.3 MB, free: 8.617 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0007126/0.3128, allocations: 362.5 kB / 443.7 MB, free: 8.254 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.313, allocations: 195.3 kB / 443.9 MB, free: 8.051 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.313, allocations: 0 / 443.9 MB, free: 8.051 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.882e-05/0.3131, allocations: 155.3 kB / 444 MB, free: 7.887 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.3133, allocations: 7.953 kB / 444 MB, free: 7.879 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.3137, allocations: 300.4 kB / 444.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.3138, allocations: 0.6926 MB / 445 MB, free: 6.836 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.948e-06/0.3138, allocations: 7.438 kB / 445 MB, free: 6.828 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3138, allocations: 0 / 445 MB, free: 6.828 MB / 318.1 MB Notification: Performance of Templates: time 0.006668/0.3205, allocations: 5.773 MB / 450.8 MB, free: 1.051 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.AC3ph.Precalculation.Z_matrixTrDat0CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0CalcHelperMain.o] Error 1