Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009824/0.0009821, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.0009/0.0009, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.25/1.25, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1575/0.1575, allocations: 38 MB / 309.3 MB, free: 6.234 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.001206/0.001206, allocations: 63.91 kB / 375.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2068, allocations: 55.25 MB / 430.5 MB, free: 19.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.007863/0.2147, allocations: 6.897 MB / 437.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.2179, allocations: 1.591 MB / 439 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008898/0.2188, allocations: 51.69 kB / 439 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.2191, allocations: 55.53 kB / 439.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007195/0.2199, allocations: 274.7 kB / 439.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.2202, allocations: 119.9 kB / 439.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005706/0.2207, allocations: 0.9541 MB / 440.4 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.221, allocations: 144.2 kB / 440.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.2213, allocations: 274.6 kB / 440.8 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003871/0.2216, allocations: 346.7 kB / 441.2 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/0.2217, allocations: 24 kB / 441.2 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.433e-05/0.2218, allocations: 24 kB / 441.2 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.2219, allocations: 151.5 kB / 441.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.2221, allocations: 230.8 kB / 441.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.2223, allocations: 363.1 kB / 442 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2223, allocations: 0 / 442 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2223, allocations: 0 / 442 MB, free: 8.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.2223, allocations: 0 / 442 MB, free: 8.164 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001079/0.2234, allocations: 0.7969 MB / 442.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2235, allocations: 8.031 kB / 442.8 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.233e-05/0.2236, allocations: 56.28 kB / 442.8 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.2241, allocations: 436.2 kB / 443.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.2241, allocations: 29 kB / 443.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.2242, allocations: 36 kB / 443.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/0.2247, allocations: 463.5 kB / 443.8 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.2247, allocations: 3.906 kB / 443.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.2248, allocations: 12 kB / 443.8 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.2248, allocations: 12 kB / 443.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.2252, allocations: 312.5 kB / 444.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.2267, allocations: 1.767 MB / 445.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.2269, allocations: 139.6 kB / 446 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.277e-05/0.227, allocations: 66.59 kB / 446.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.227, allocations: 4 kB / 446.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.227, allocations: 38.56 kB / 446.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.714e-06/0.227, allocations: 0 / 446.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.000857/0.2279, allocations: 0.6001 MB / 446.7 MB, free: 3.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.228, allocations: 106.9 kB / 446.8 MB, free: 2.961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.2283, allocations: 373.5 kB / 447.2 MB, free: 2.586 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.2283, allocations: 25.7 kB / 447.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.2284, allocations: 283.4 kB / 447.5 MB, free: 2.273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.2284, allocations: 51.2 kB / 447.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.2285, allocations: 61.61 kB / 447.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.859e-05/0.2286, allocations: 346.8 kB / 447.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.2287, allocations: 51.97 kB / 448 MB, free: 1.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.2288, allocations: 206.4 kB / 448.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.229, allocations: 266.6 kB / 448.4 MB, free: 1.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.229, allocations: 0 / 448.4 MB, free: 1.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003191/0.2294, allocations: 292.7 kB / 448.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2294, allocations: 8 kB / 448.7 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2294, allocations: 4.625 kB / 448.7 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.2294, allocations: 8 kB / 448.7 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.2296, allocations: 71.84 kB / 448.8 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.2297, allocations: 11.98 kB / 448.8 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.2298, allocations: 19.84 kB / 448.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.2298, allocations: 16 kB / 448.9 MB, free: 0.7305 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.23, allocations: 181.6 kB / 449 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.97e-05/0.23, allocations: 31.62 kB / 449.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.2303, allocations: 172.7 kB / 449.2 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2303, allocations: 8 kB / 449.2 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2303, allocations: 0 / 449.2 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2303, allocations: 0 / 449.2 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.2309, allocations: 0.5341 MB / 449.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2309, allocations: 4.422 kB / 449.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.2311, allocations: 35.92 kB / 449.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2311, allocations: 4 kB / 449.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.2311, allocations: 12 kB / 449.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2311, allocations: 4.031 kB / 449.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2311, allocations: 3.938 kB / 449.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.2315, allocations: 395.9 kB / 450.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/0.2316, allocations: 108.6 kB / 450.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.2317, allocations: 4 kB / 450.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.2319, allocations: 11.94 kB / 450.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.2319, allocations: 12.03 kB / 450.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.2319, allocations: 4 kB / 450.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002145/0.2321, allocations: 255.2 kB / 450.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2321, allocations: 0 / 450.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003755/0.2325, allocations: 72 kB / 450.7 MB, free: 14.79 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.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 (18): * Single equations (assignments): 17 * 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 9.229e-05/0.2326, allocations: 99.23 kB / 450.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.2329, allocations: 160.1 kB / 450.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2329, allocations: 0 / 450.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.411e-05/0.233, allocations: 56.06 kB / 451 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/0.2336, allocations: 103.5 kB / 451.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.2349, allocations: 1.072 MB / 452.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.2353, allocations: 0.8428 MB / 453 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.087e-05/0.2353, allocations: 31.44 kB / 453 MB, free: 12.36 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2354, allocations: 0 / 453 MB, free: 12.36 MB / 334.1 MB Notification: Performance of Templates: time 0.006537/0.2419, allocations: 4.617 MB / 457.7 MB, free: 7.746 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.Introductory.FrequencyCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Introductory.FrequencyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Introductory.FrequencyCalcHelperMain.o] Error 1