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.0008017/0.0008018, allocations: 92.22 kB / 16.96 MB, free: 6.41 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.0008472/0.0008475, allocations: 183.5 kB / 17.84 MB, free: 5.969 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.533/1.533, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.17/0.17, allocations: 38.05 MB / 310.3 MB, free: 6.023 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.0006073/0.0006077, allocations: 20 kB / 377.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2933, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004364/0.2977, allocations: 4.45 MB / 437.9 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.3003, allocations: 1.568 MB / 439.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.3005, allocations: 23.88 kB / 439.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.3008, allocations: 75.39 kB / 439.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00058/0.3014, allocations: 282.7 kB / 439.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.3019, allocations: 227.5 kB / 440.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.3024, allocations: 0.6858 MB / 440.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007161/0.3031, allocations: 0.5114 MB / 441.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.3034, allocations: 211 kB / 441.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.3038, allocations: 355 kB / 441.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.3039, allocations: 20 kB / 441.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/0.3042, allocations: 175.7 kB / 442 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.3044, allocations: 223.4 kB / 442.2 MB, free: 10 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.914e-05/0.3045, allocations: 109.5 kB / 442.3 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003862/0.3049, allocations: 490.9 kB / 442.8 MB, free: 9.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3049, allocations: 4 kB / 442.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3049, allocations: 0 / 442.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3049, allocations: 4 kB / 442.8 MB, free: 9.402 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.001056/0.306, allocations: 0.6957 MB / 443.5 MB, free: 8.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.306, allocations: 8.031 kB / 443.5 MB, free: 8.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005039/0.3065, allocations: 83.3 kB / 443.6 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.307, allocations: 402.1 kB / 444 MB, free: 8.133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.3071, allocations: 32.98 kB / 444 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.3072, allocations: 40 kB / 444.1 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000795/0.308, allocations: 0.6726 MB / 444.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.308, allocations: 15.83 kB / 444.8 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.3081, allocations: 16 kB / 444.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/0.3082, allocations: 48.97 kB / 444.8 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.309, allocations: 0.6674 MB / 445.5 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/0.3117, allocations: 2.524 MB / 448 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/0.3122, allocations: 333.3 kB / 448.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.3124, allocations: 229.9 kB / 448.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.3125, allocations: 7.984 kB / 448.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.3125, allocations: 38.56 kB / 448.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 2.024e-06/0.3125, allocations: 0 / 448.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.001737/0.3142, allocations: 1.348 MB / 450 MB, free: 1.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.3143, allocations: 81.11 kB / 450.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.3146, allocations: 304.4 kB / 450.3 MB, free: 1.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3146, allocations: 29.7 kB / 450.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.3147, allocations: 263.5 kB / 450.6 MB, free: 1.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.584e-05/0.3148, allocations: 149.8 kB / 450.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.3148, allocations: 16.12 kB / 450.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.3149, allocations: 350.8 kB / 451.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.3151, allocations: 197 kB / 451.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.3154, allocations: 361.2 kB / 451.7 MB, free: 80 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/0.3158, allocations: 265.2 kB / 451.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3158, allocations: 4 kB / 451.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009275/0.3168, allocations: 0.6305 MB / 452.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3168, allocations: 8 kB / 452.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3168, allocations: 4 kB / 452.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.3169, allocations: 12 kB / 452.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.3173, allocations: 111.8 kB / 452.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.3173, allocations: 11.98 kB / 452.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.3175, allocations: 23.94 kB / 452.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.3176, allocations: 20 kB / 452.8 MB, free: 14.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002898/0.3179, allocations: 229.8 kB / 453 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.318, allocations: 35.62 kB / 453 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007964/0.3188, allocations: 0.4934 MB / 453.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/0.3188, allocations: 11.98 kB / 453.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3188, allocations: 0 / 453.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3188, allocations: 4 kB / 453.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.3205, allocations: 1.097 MB / 454.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.3205, allocations: 4 kB / 454.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.3209, allocations: 67.95 kB / 454.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3209, allocations: 4 kB / 454.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.3209, allocations: 11.98 kB / 454.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.3209, allocations: 7.891 kB / 454.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.321, allocations: 8.094 kB / 454.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.3222, allocations: 0.8205 MB / 455.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.687e-05/0.3223, allocations: 108.6 kB / 455.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.556e-05/0.3223, allocations: 8 kB / 455.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.3225, allocations: 19.97 kB / 455.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.3226, allocations: 27.88 kB / 455.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.3227, allocations: 15.98 kB / 455.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.3229, allocations: 207.1 kB / 455.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3229, allocations: 0 / 455.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004905/0.3234, allocations: 111.9 kB / 456 MB, free: 11.59 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 (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.0002371/0.3236, allocations: 119.2 kB / 456.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007342/0.3244, allocations: 488.4 kB / 456.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3244, allocations: 3.938 kB / 456.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.3247, allocations: 229.1 kB / 456.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005824/0.3253, allocations: 65.83 kB / 456.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.3275, allocations: 1.41 MB / 458.3 MB, free: 9.242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.328, allocations: 0.8743 MB / 459.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.3281, allocations: 35.42 kB / 459.2 MB, free: 8.305 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3281, allocations: 0 / 459.2 MB, free: 8.305 MB / 334.1 MB Notification: Performance of Templates: time 0.008618/0.3368, allocations: 5.445 MB / 464.7 MB, free: 2.859 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.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