Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009206/0.0009209, allocations: 109.3 kB / 17.16 MB, free: 6.082 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.0008831/0.0008832, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.184/1.184, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1548/0.1548, allocations: 37.99 MB / 309.3 MB, free: 6.23 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.001194/0.001194, allocations: 63.03 kB / 375.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1866, allocations: 55.23 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.004333/0.1909, allocations: 5.191 MB / 435.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.1924, allocations: 1.714 MB / 437.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.1925, allocations: 27.81 kB / 437.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.1928, allocations: 111.4 kB / 437.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003604/0.1932, allocations: 242.7 kB / 437.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.1934, allocations: 99.81 kB / 437.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004526/0.1939, allocations: 0.6385 MB / 438.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.194, allocations: 127.5 kB / 438.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.1942, allocations: 179.1 kB / 438.8 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.1944, allocations: 223 kB / 439 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.1944, allocations: 20 kB / 439.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.81e-05/0.1945, allocations: 20 kB / 439.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.1946, allocations: 87.72 kB / 439.2 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.1947, allocations: 175 kB / 439.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.1949, allocations: 287.3 kB / 439.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1949, allocations: 4 kB / 439.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1949, allocations: 0 / 439.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1949, allocations: 0 / 439.6 MB, free: 10.64 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007476/0.1956, allocations: 0.6593 MB / 440.3 MB, free: 9.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.576e-05/0.1957, allocations: 8.031 kB / 440.3 MB, free: 9.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.1957, allocations: 40.47 kB / 440.3 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.1961, allocations: 387.7 kB / 440.7 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1962, allocations: 28.44 kB / 440.7 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.1962, allocations: 27.91 kB / 440.8 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.1966, allocations: 334.2 kB / 441.1 MB, free: 9.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1966, allocations: 0 / 441.1 MB, free: 9.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.1966, allocations: 12 kB / 441.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1966, allocations: 8 kB / 441.1 MB, free: 9.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.1969, allocations: 205.4 kB / 441.3 MB, free: 8.828 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009817/0.1979, allocations: 1.486 MB / 442.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.1982, allocations: 206.3 kB / 443 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.1983, allocations: 79.53 kB / 443.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1983, allocations: 3.984 kB / 443.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.1983, allocations: 46.56 kB / 443.1 MB, free: 6.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.1983, allocations: 0 / 443.1 MB, free: 6.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007768/0.1991, allocations: 0.6763 MB / 443.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.1991, allocations: 140.9 kB / 443.9 MB, free: 5.961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.1993, allocations: 317.6 kB / 444.2 MB, free: 5.645 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.1994, allocations: 25.7 kB / 444.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.1994, allocations: 219.8 kB / 444.5 MB, free: 5.391 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.1995, allocations: 67.09 kB / 444.5 MB, free: 5.324 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.1995, allocations: 53.61 kB / 444.6 MB, free: 5.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.1996, allocations: 338.8 kB / 444.9 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.1997, allocations: 51.97 kB / 445 MB, free: 4.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.595e-05/0.1998, allocations: 152.8 kB / 445.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.2, allocations: 220.9 kB / 445.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2, allocations: 0 / 445.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002715/0.2002, allocations: 252.9 kB / 445.6 MB, free: 4.164 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.2003, allocations: 8 kB / 445.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2003, allocations: 4 kB / 445.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2003, allocations: 7.938 kB / 445.6 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.2006, allocations: 84.33 kB / 445.7 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004776/0.2011, allocations: 1.278 MB / 447 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.2012, allocations: 15.98 kB / 447 MB, free: 2.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.2013, allocations: 12.16 kB / 447 MB, free: 2.625 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.2014, allocations: 173.6 kB / 447.2 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.2014, allocations: 31.56 kB / 447.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.2017, allocations: 184.5 kB / 447.4 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2017, allocations: 0 / 447.4 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.2017, allocations: 7.938 kB / 447.4 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2017, allocations: 0 / 447.4 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/0.2022, allocations: 0.5534 MB / 447.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2023, allocations: 0 / 447.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.2025, allocations: 43.92 kB / 448 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2025, allocations: 0 / 448 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.2025, allocations: 8 kB / 448 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2025, allocations: 0 / 448 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2025, allocations: 4 kB / 448 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.2028, allocations: 0.5026 MB / 448.5 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.2029, allocations: 104.9 kB / 448.6 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.2029, allocations: 11.98 kB / 448.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.2031, allocations: 0 / 448.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.2031, allocations: 15.98 kB / 448.6 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.2031, allocations: 8 kB / 448.6 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.2033, allocations: 223.1 kB / 448.9 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2033, allocations: 0 / 448.9 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003585/0.2036, allocations: 63.98 kB / 448.9 MB, free: 0.5938 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.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 (20): * Single equations (assignments): 19 * 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 5.897e-05/0.2037, allocations: 99.19 kB / 449 MB, free: 500 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.204, allocations: 168.3 kB / 449.2 MB, free: 332 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.204, allocations: 0 / 449.2 MB, free: 332 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.204e-05/0.2041, allocations: 67.91 kB / 449.2 MB, free: 264 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/0.2047, allocations: 85.77 kB / 449.3 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.206, allocations: 0.9788 MB / 450.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.2063, allocations: 0.7953 MB / 451.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.2064, allocations: 35.42 kB / 451.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2064, allocations: 0 / 451.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of Templates: time 0.005666/0.2121, allocations: 4.687 MB / 455.8 MB, free: 9.609 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.AC1ph_DC.Elementary.MachinesCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.MachinesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.MachinesCalcHelperMain.o] Error 1