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.0008452/0.0008457, allocations: 94.09 kB / 16.95 MB, free: 6.461 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.0008117/0.0008117, allocations: 179.2 kB / 17.84 MB, free: 6 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.627/1.627, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1727/0.1727, allocations: 38.05 MB / 310.3 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.0005182/0.0005182, allocations: 12 kB / 377.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2736, allocations: 56.34 MB / 433.5 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.005293/0.2789, allocations: 6.118 MB / 439.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.2815, allocations: 1.529 MB / 441.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003851/0.2819, allocations: 47.69 kB / 441.2 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.2822, allocations: 107.1 kB / 441.3 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008316/0.283, allocations: 385.8 kB / 441.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.2835, allocations: 199.7 kB / 441.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005602/0.284, allocations: 0.7746 MB / 442.6 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.2843, allocations: 126.5 kB / 442.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.2846, allocations: 258.7 kB / 443 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004006/0.285, allocations: 318.9 kB / 443.3 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.285, allocations: 20 kB / 443.3 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.286e-05/0.2851, allocations: 16 kB / 443.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.2852, allocations: 151.5 kB / 443.5 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.419e-05/0.2853, allocations: 113.5 kB / 443.6 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.2856, allocations: 359 kB / 444 MB, free: 8.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2856, allocations: 0 / 444 MB, free: 8.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2856, allocations: 0 / 444 MB, free: 8.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2856, allocations: 0 / 444 MB, free: 8.293 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.001055/0.2867, allocations: 0.7267 MB / 444.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.2867, allocations: 8.031 kB / 444.7 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.027e-05/0.2868, allocations: 55.28 kB / 444.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.2873, allocations: 411.5 kB / 445.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.2873, allocations: 25 kB / 445.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.262e-05/0.2874, allocations: 36 kB / 445.2 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005547/0.2879, allocations: 455.6 kB / 445.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.288, allocations: 7.938 kB / 445.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.288, allocations: 19.94 kB / 445.7 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.288, allocations: 11.95 kB / 445.7 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.2884, allocations: 312.5 kB / 446 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.2899, allocations: 1.767 MB / 447.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.2901, allocations: 143.7 kB / 447.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.259e-05/0.2902, allocations: 58.67 kB / 448 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.2902, allocations: 0 / 448 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.2902, allocations: 42.48 kB / 448 MB, free: 3.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.2902, allocations: 0 / 448 MB, free: 3.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007873/0.291, allocations: 0.6076 MB / 448.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.2911, allocations: 102.8 kB / 448.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.2913, allocations: 365.5 kB / 449.1 MB, free: 2.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.2914, allocations: 29.7 kB / 449.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.2915, allocations: 279.4 kB / 449.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.2915, allocations: 63.3 kB / 449.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/0.2916, allocations: 8 kB / 449.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.2916, allocations: 346.8 kB / 449.8 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.95e-05/0.2917, allocations: 43.98 kB / 449.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.2919, allocations: 199 kB / 450 MB, free: 1.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.292, allocations: 75.94 kB / 450.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.292, allocations: 3.953 kB / 450.1 MB, free: 1.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003179/0.2923, allocations: 293.7 kB / 450.4 MB, free: 1.402 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2923, allocations: 4 kB / 450.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2923, allocations: 11.98 kB / 450.4 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2924, allocations: 8 kB / 450.4 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.2926, allocations: 67.84 kB / 450.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2926, allocations: 8.438 kB / 450.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.2927, allocations: 15.94 kB / 450.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.2928, allocations: 16 kB / 450.5 MB, free: 1.273 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.2929, allocations: 181.6 kB / 450.7 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.293, allocations: 43.52 kB / 450.7 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.2932, allocations: 172.7 kB / 450.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2932, allocations: 4 kB / 450.9 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2933, allocations: 0 / 450.9 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2933, allocations: 7.922 kB / 450.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/0.2938, allocations: 0.5303 MB / 451.4 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2938, allocations: 0 / 451.4 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.2939, allocations: 36.02 kB / 451.5 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2939, allocations: 7.938 kB / 451.5 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.294, allocations: 4 kB / 451.5 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.294, allocations: 4 kB / 451.5 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.294, allocations: 0 / 451.5 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.2944, allocations: 400.3 kB / 451.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.251e-05/0.2945, allocations: 104.6 kB / 452 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.2945, allocations: 8 kB / 452 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.2947, allocations: 0 / 452 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.2947, allocations: 19.97 kB / 452 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.2947, allocations: 7.984 kB / 452 MB, free: 15.65 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002473/0.295, allocations: 247.2 kB / 452.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.295, allocations: 0 / 452.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.2954, allocations: 72 kB / 452.3 MB, free: 15.34 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 (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.0001123/0.2955, allocations: 103.2 kB / 452.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.2958, allocations: 151.7 kB / 452.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2958, allocations: 1.25 kB / 452.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.2959, allocations: 55.86 kB / 452.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/0.2966, allocations: 94.31 kB / 452.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.2981, allocations: 1.124 MB / 453.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.2986, allocations: 0.8428 MB / 454.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.035e-05/0.2987, allocations: 31.44 kB / 454.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2987, allocations: 3.938 kB / 454.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of Templates: time 0.006953/0.3056, allocations: 4.57 MB / 459.3 MB, free: 8.297 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.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