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.0009561/0.0009561, allocations: 98.38 kB / 17.31 MB, free: 5.941 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.001167/0.001167, allocations: 182.8 kB / 18.21 MB, free: 5.418 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.778/1.778, allocations: 205.4 MB / 224.4 MB, free: 12.94 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1886/0.1886, allocations: 38.05 MB / 310.7 MB, free: 5.906 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.0005405/0.0005406, allocations: 16.56 kB / 377.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3066, allocations: 56.33 MB / 434.1 MB, free: 18.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.005941/0.3126, allocations: 6.472 MB / 440.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002304/0.3149, allocations: 1.571 MB / 442.2 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.3153, allocations: 43.69 kB / 442.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.3155, allocations: 67.47 kB / 442.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006082/0.3161, allocations: 270.7 kB / 442.6 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.3164, allocations: 123.8 kB / 442.7 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006649/0.317, allocations: 0.9503 MB / 443.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.3173, allocations: 144.2 kB / 443.8 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.3176, allocations: 258.6 kB / 444 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004169/0.3181, allocations: 330.7 kB / 444.3 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.3181, allocations: 23.94 kB / 444.4 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.465e-05/0.3182, allocations: 19.94 kB / 444.4 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.3183, allocations: 143.5 kB / 444.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.3185, allocations: 248.5 kB / 444.8 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.3188, allocations: 355 kB / 445.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3188, allocations: 0 / 445.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3188, allocations: 0 / 445.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.3188, allocations: 0 / 445.1 MB, free: 7.887 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.001091/0.3199, allocations: 0.7268 MB / 445.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.32, allocations: 8.031 kB / 445.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.923e-05/0.3201, allocations: 52.28 kB / 445.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.3206, allocations: 428.2 kB / 446.3 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.3207, allocations: 29 kB / 446.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/0.3207, allocations: 36 kB / 446.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/0.3213, allocations: 463.6 kB / 446.8 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.3213, allocations: 0 / 446.8 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.3214, allocations: 16 kB / 446.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.3214, allocations: 12 kB / 446.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.3218, allocations: 312.5 kB / 447.2 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.3234, allocations: 1.763 MB / 448.9 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.3236, allocations: 163.6 kB / 449.1 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.426e-05/0.3237, allocations: 54.62 kB / 449.2 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.3237, allocations: 0 / 449.2 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.3237, allocations: 34.56 kB / 449.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.3237, allocations: 8 kB / 449.2 MB, free: 3.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009245/0.3247, allocations: 0.5959 MB / 449.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.3247, allocations: 106.8 kB / 449.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.325, allocations: 373.5 kB / 450.3 MB, free: 2.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.3251, allocations: 29.7 kB / 450.3 MB, free: 2.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.3252, allocations: 275.5 kB / 450.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.3252, allocations: 59.2 kB / 450.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.3253, allocations: 33.7 kB / 450.6 MB, free: 1.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.3254, allocations: 346.8 kB / 451 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.3255, allocations: 55.91 kB / 451 MB, free: 1.578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.3256, allocations: 198.5 kB / 451.2 MB, free: 1.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.3259, allocations: 266.6 kB / 451.5 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3259, allocations: 4 kB / 451.5 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003418/0.3262, allocations: 293.4 kB / 451.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3263, allocations: 8 kB / 451.8 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3263, allocations: 4 kB / 451.8 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.3263, allocations: 8 kB / 451.8 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.3265, allocations: 75.78 kB / 451.9 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.3266, allocations: 11.98 kB / 451.9 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.3267, allocations: 11.91 kB / 451.9 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.3267, allocations: 20.34 kB / 451.9 MB, free: 0.5547 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.0001526/0.3269, allocations: 189.6 kB / 452.1 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.327, allocations: 31.62 kB / 452.1 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.3272, allocations: 168.7 kB / 452.3 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3272, allocations: 4 kB / 452.3 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3273, allocations: 0 / 452.3 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3273, allocations: 0 / 452.3 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/0.3279, allocations: 0.5341 MB / 452.8 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3279, allocations: 0 / 452.8 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.3281, allocations: 35.92 kB / 452.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.3281, allocations: 4 kB / 452.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.3282, allocations: 7.984 kB / 452.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3282, allocations: 4 kB / 452.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3282, allocations: 3.938 kB / 452.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.3286, allocations: 391.9 kB / 453.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.847e-05/0.3287, allocations: 116.8 kB / 453.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.3288, allocations: 3.984 kB / 453.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.329, allocations: 12.38 kB / 453.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.329, allocations: 7.984 kB / 453.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.329, allocations: 8 kB / 453.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002618/0.3293, allocations: 255.2 kB / 453.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3293, allocations: 0 / 453.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003885/0.3297, allocations: 76 kB / 453.7 MB, free: 14.61 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 0.000121/0.3298, allocations: 103.2 kB / 453.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.3301, allocations: 156.8 kB / 454 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3301, allocations: 4.125 kB / 454 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.381e-05/0.3302, allocations: 51.92 kB / 454.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000723/0.3309, allocations: 94.19 kB / 454.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.3326, allocations: 1.153 MB / 455.3 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/0.3332, allocations: 0.8389 MB / 456.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.352e-05/0.3332, allocations: 31.44 kB / 456.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3333, allocations: 0 / 456.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Templates: time 0.007083/0.3403, allocations: 4.579 MB / 460.7 MB, free: 7.535 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