Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009171/0.0009171, allocations: 97.67 kB / 17.31 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.001062/0.001062, 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.831/1.831, allocations: 205.4 MB / 224.4 MB, free: 12.92 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1722/0.1722, allocations: 38.06 MB / 310.7 MB, free: 5.867 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.0007481/0.0007483, allocations: 12 kB / 377.8 MB, free: 2.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3113, allocations: 56.33 MB / 434.1 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004508/0.3159, allocations: 4.67 MB / 438.8 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.3181, allocations: 1.653 MB / 440.5 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.3183, allocations: 27.81 kB / 440.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.3185, allocations: 59.55 kB / 440.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000484/0.319, allocations: 227.1 kB / 440.8 MB, free: 12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.3195, allocations: 223.6 kB / 441 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000617/0.3201, allocations: 0.8692 MB / 441.9 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000764/0.3209, allocations: 0.5398 MB / 442.4 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.3211, allocations: 203 kB / 442.6 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.3215, allocations: 355 kB / 442.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.3216, allocations: 20 kB / 443 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003457/0.3219, allocations: 239.5 kB / 443.2 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.3221, allocations: 219.5 kB / 443.4 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.3223, allocations: 256.4 kB / 443.7 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.3227, allocations: 498.8 kB / 444.1 MB, free: 8.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3228, allocations: 0 / 444.1 MB, free: 8.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3228, allocations: 0 / 444.1 MB, free: 8.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.3228, allocations: 0 / 444.1 MB, free: 8.586 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001181/0.324, allocations: 0.6921 MB / 444.8 MB, free: 7.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.324, allocations: 8.031 kB / 444.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005662/0.3246, allocations: 88.22 kB / 444.9 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.3251, allocations: 399.2 kB / 445.3 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.3252, allocations: 33.36 kB / 445.4 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.3253, allocations: 52.05 kB / 445.4 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007989/0.3261, allocations: 0.6881 MB / 446.1 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.3262, allocations: 4 kB / 446.1 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.3262, allocations: 16 kB / 446.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/0.3264, allocations: 48.97 kB / 446.2 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008379/0.3272, allocations: 0.6713 MB / 446.8 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.33, allocations: 2.524 MB / 449.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.3304, allocations: 345.3 kB / 449.7 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.3307, allocations: 225.7 kB / 449.9 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.3307, allocations: 19.97 kB / 449.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3308, allocations: 42.44 kB / 450 MB, free: 2.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 1.783e-06/0.3308, allocations: 0 / 450 MB, free: 2.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.001723/0.3325, allocations: 1.344 MB / 451.3 MB, free: 1.062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.3326, allocations: 81.11 kB / 451.4 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.3328, allocations: 308.5 kB / 451.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.3329, allocations: 37.62 kB / 451.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.333, allocations: 251.6 kB / 452 MB, free: 368 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.99e-05/0.3331, allocations: 153.8 kB / 452.1 MB, free: 212 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.3331, allocations: 45.7 kB / 452.2 MB, free: 160 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3333, allocations: 350.8 kB / 452.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.3336, allocations: 201 kB / 452.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.334, allocations: 357.2 kB / 453.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000795/0.3348, allocations: 0.6021 MB / 453.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3349, allocations: 4 kB / 453.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009622/0.3358, allocations: 0.6346 MB / 454.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.3359, allocations: 8 kB / 454.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.3359, allocations: 8.031 kB / 454.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.3359, allocations: 8 kB / 454.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.3363, allocations: 115.8 kB / 454.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.3363, allocations: 7.938 kB / 454.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.3366, allocations: 27.88 kB / 454.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.3366, allocations: 24 kB / 454.5 MB, free: 13.68 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * 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.0002739/0.3369, allocations: 213.6 kB / 454.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-05/0.337, allocations: 43.5 kB / 454.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008137/0.3378, allocations: 0.4935 MB / 455.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.3379, allocations: 11.98 kB / 455.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3379, allocations: 4 kB / 455.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3379, allocations: 0 / 455.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.3396, allocations: 1.101 MB / 456.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3396, allocations: 0 / 456.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.34, allocations: 71.95 kB / 456.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.34, allocations: 3.938 kB / 456.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.34, allocations: 11.98 kB / 456.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.34, allocations: 4 kB / 456.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.34, allocations: 0 / 456.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.3412, allocations: 0.8321 MB / 457.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3413, allocations: 116.6 kB / 457.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.3414, allocations: 11.94 kB / 457.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.3416, allocations: 15.98 kB / 457.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.3416, allocations: 23.91 kB / 457.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.3417, allocations: 19.98 kB / 457.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002264/0.3419, allocations: 211.1 kB / 457.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3419, allocations: 0 / 457.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004714/0.3424, allocations: 104 kB / 457.8 MB, free: 10.28 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (33): * Single equations (assignments): 30 * Array equations: 2 * 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.0002722/0.3427, allocations: 135.1 kB / 457.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007569/0.3434, allocations: 0.4888 MB / 458.4 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3435, allocations: 0 / 458.4 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.3438, allocations: 223.7 kB / 458.6 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.3444, allocations: 71.17 kB / 458.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.3466, allocations: 1.429 MB / 460.1 MB, free: 7.883 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007298/0.3473, allocations: 0.8665 MB / 461 MB, free: 6.992 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.3476, allocations: 39.42 kB / 461 MB, free: 6.953 MB / 334.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3476, allocations: 0 / 461 MB, free: 6.953 MB / 334.1 MB Notification: Performance of Templates: time 0.01052/0.3581, allocations: 5.454 MB / 466.5 MB, free: 1.5 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.ReferenceSynchronCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchronCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchronCalcHelperMain.o] Error 1