Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009812/0.0009813, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001006/0.001006, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.167/1.167, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1571/0.1571, allocations: 37.99 MB / 309.3 MB, free: 6.242 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.001164/0.001164, allocations: 63.52 kB / 375.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1883, allocations: 55.24 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.00461/0.1929, allocations: 5.449 MB / 436 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1944, allocations: 1.718 MB / 437.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.1946, allocations: 35.81 kB / 437.7 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.1949, allocations: 91.42 kB / 437.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003894/0.1953, allocations: 238.7 kB / 438 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.1955, allocations: 115.9 kB / 438.1 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.196, allocations: 0.7203 MB / 438.9 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.1963, allocations: 329.8 kB / 439.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.1965, allocations: 207.1 kB / 439.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.1967, allocations: 235 kB / 439.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.1968, allocations: 28 kB / 439.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.774e-05/0.1968, allocations: 28 kB / 439.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.255e-05/0.1969, allocations: 111.6 kB / 439.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.1971, allocations: 210.9 kB / 440 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.1973, allocations: 399.1 kB / 440.4 MB, free: 9.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1973, allocations: 0 / 440.4 MB, free: 9.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1973, allocations: 0 / 440.4 MB, free: 9.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1973, allocations: 7.938 kB / 440.4 MB, free: 9.871 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0008581/0.1982, allocations: 0.6992 MB / 441.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.1982, allocations: 8.031 kB / 441.1 MB, free: 9.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/0.1983, allocations: 48.38 kB / 441.1 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.1987, allocations: 400.1 kB / 441.5 MB, free: 8.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.263e-05/0.1988, allocations: 62.58 kB / 441.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.1988, allocations: 43.84 kB / 441.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.1993, allocations: 432.1 kB / 442.1 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1993, allocations: 4 kB / 442.1 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.1994, allocations: 12 kB / 442.1 MB, free: 8.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1994, allocations: 12 kB / 442.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.1998, allocations: 278 kB / 442.4 MB, free: 7.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.2012, allocations: 1.845 MB / 444.2 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.2014, allocations: 171.6 kB / 444.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.2016, allocations: 74.67 kB / 444.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.2016, allocations: 0 / 444.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.2016, allocations: 42.5 kB / 444.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.031e-06/0.2016, allocations: 0 / 444.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009494/0.2026, allocations: 0.7058 MB / 445.2 MB, free: 4.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.2026, allocations: 111.1 kB / 445.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.2028, allocations: 312.5 kB / 445.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.2028, allocations: 29.7 kB / 445.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/0.2029, allocations: 243.5 kB / 445.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.203, allocations: 71 kB / 445.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.759e-05/0.2031, allocations: 69.92 kB / 446 MB, free: 3.852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.736e-05/0.2031, allocations: 338.8 kB / 446.3 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.2032, allocations: 72.61 kB / 446.4 MB, free: 3.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.2034, allocations: 206 kB / 446.6 MB, free: 3.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.2037, allocations: 296 kB / 446.9 MB, free: 2.836 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2037, allocations: 0 / 446.9 MB, free: 2.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004042/0.2041, allocations: 324.9 kB / 447.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2042, allocations: 11.94 kB / 447.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2042, allocations: 4 kB / 447.2 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2042, allocations: 7.984 kB / 447.2 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.2044, allocations: 75.84 kB / 447.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.2045, allocations: 12.41 kB / 447.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.2046, allocations: 15.98 kB / 447.3 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.2047, allocations: 16 kB / 447.4 MB, free: 2.371 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 40 * 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.0001159/0.2048, allocations: 185.6 kB / 447.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.2048, allocations: 35.56 kB / 447.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.2052, allocations: 193.8 kB / 447.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2052, allocations: 0 / 447.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2052, allocations: 7.984 kB / 447.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2052, allocations: 11.92 kB / 447.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.2058, allocations: 0.6153 MB / 448.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2058, allocations: 0 / 448.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.2061, allocations: 47.92 kB / 448.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2061, allocations: 4 kB / 448.4 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2061, allocations: 0 / 448.4 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2061, allocations: 7.984 kB / 448.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2061, allocations: 4.031 kB / 448.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.2065, allocations: 451.9 kB / 448.9 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.2066, allocations: 100.7 kB / 449 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.2066, allocations: 12 kB / 449 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.2068, allocations: 8 kB / 449 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.2068, allocations: 12.02 kB / 449 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.2069, allocations: 8 kB / 449 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.207, allocations: 215.1 kB / 449.2 MB, free: 372 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.207, allocations: 0 / 449.2 MB, free: 372 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.2074, allocations: 75.94 kB / 449.3 MB, free: 296 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * 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 6.671e-05/0.2074, allocations: 103.2 kB / 449.4 MB, free: 184 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.2078, allocations: 191.7 kB / 449.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2078, allocations: 0 / 449.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.2079, allocations: 88.91 kB / 449.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.2086, allocations: 85.52 kB / 449.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.21, allocations: 1.068 MB / 450.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.2104, allocations: 0.8188 MB / 451.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.31e-05/0.2105, allocations: 31.42 kB / 451.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2105, allocations: 0 / 451.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of Templates: time 0.005628/0.2161, allocations: 4.494 MB / 456.2 MB, free: 9.336 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.Drives.DCcharSpeedCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeedCalcHelperMain.o] Error 1