Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.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.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009043/0.0009043, allocations: 109.7 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.0009012/0.0009012, 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.185/1.185, allocations: 205.1 MB / 223.9 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1569/0.1569, 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.001158/0.001158, allocations: 67.91 kB / 375.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1842, allocations: 55.24 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.003662/0.1879, allocations: 3.853 MB / 434.4 MB, free: 15.92 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1896, allocations: 1.786 MB / 436.1 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.1898, allocations: 11.94 kB / 436.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.1904, allocations: 223.1 kB / 436.4 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.1908, allocations: 235.2 kB / 436.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.1911, allocations: 173.9 kB / 436.8 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003584/0.1915, allocations: 0.569 MB / 437.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.1917, allocations: 169.7 kB / 437.5 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.192, allocations: 167.3 kB / 437.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1922, allocations: 179.3 kB / 437.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.1922, allocations: 16 kB / 437.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.1926, allocations: 367.2 kB / 438.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.407e-05/0.1927, allocations: 111.6 kB / 438.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.849e-05/0.1928, allocations: 131.3 kB / 438.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.1931, allocations: 399.2 kB / 438.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1931, allocations: 0 / 438.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1931, allocations: 4 kB / 438.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1932, allocations: 0 / 438.9 MB, free: 11.41 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007745/0.1939, allocations: 0.6238 MB / 439.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.194, allocations: 8.031 kB / 439.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006632/0.1946, allocations: 92.38 kB / 439.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.195, allocations: 359.8 kB / 439.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1951, allocations: 16.73 kB / 439.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.1951, allocations: 24.12 kB / 440 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.1956, allocations: 364.6 kB / 440.3 MB, free: 9.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1956, allocations: 0 / 440.3 MB, free: 9.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.1956, allocations: 7.984 kB / 440.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.1957, allocations: 16.36 kB / 440.3 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005499/0.1962, allocations: 392.7 kB / 440.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.1976, allocations: 1.55 MB / 442.3 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.1981, allocations: 325.1 kB / 442.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.1982, allocations: 105.6 kB / 442.7 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.1983, allocations: 16.05 kB / 442.7 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.1985, allocations: 197.5 kB / 442.9 MB, free: 7.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.262e-06/0.1985, allocations: 0 / 442.9 MB, free: 7.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005619/0.1991, allocations: 385.1 kB / 443.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.1991, allocations: 132.5 kB / 443.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.1993, allocations: 298.8 kB / 443.7 MB, free: 6.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1994, allocations: 33.7 kB / 443.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.392e-05/0.1995, allocations: 176.4 kB / 443.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.1995, allocations: 86.89 kB / 444 MB, free: 5.934 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.1996, allocations: 57.98 kB / 444.1 MB, free: 5.871 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.1996, allocations: 342.8 kB / 444.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1998, allocations: 92.52 kB / 444.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.1999, allocations: 191.2 kB / 444.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.2002, allocations: 297.2 kB / 445 MB, free: 4.891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2002, allocations: 0 / 445 MB, free: 4.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004158/0.2007, allocations: 365.6 kB / 445.3 MB, free: 4.527 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.2007, allocations: 8 kB / 445.3 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2007, allocations: 4 kB / 445.3 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2007, allocations: 4 kB / 445.3 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.2009, allocations: 59.91 kB / 445.4 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2009, allocations: 4 kB / 445.4 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.2011, allocations: 31.7 kB / 445.4 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.2011, allocations: 16.28 kB / 445.4 MB, free: 4.402 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.city.data.nextTimeEvent,$whenCondition1,city.data.nextTimeEventScaled,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEvent,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001211/0.2012, allocations: 182.3 kB / 445.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.2013, allocations: 27.62 kB / 445.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004332/0.2017, allocations: 323.6 kB / 446 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2017, allocations: 4 kB / 446 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2017, allocations: 0 / 446 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2017, allocations: 7.938 kB / 446 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006736/0.2024, allocations: 0.7441 MB / 446.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2024, allocations: 0 / 446.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.2026, allocations: 43.92 kB / 446.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2026, allocations: 3.938 kB / 446.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.2026, allocations: 11.98 kB / 446.8 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2026, allocations: 0 / 446.8 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2026, allocations: 4 kB / 446.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.203, allocations: 416.7 kB / 447.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.2031, allocations: 100.8 kB / 447.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.2031, allocations: 15.94 kB / 447.3 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.2032, allocations: 0 / 447.3 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.2033, allocations: 23.97 kB / 447.3 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.2033, allocations: 8 kB / 447.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.2034, allocations: 213.9 kB / 447.5 MB, free: 2.188 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2035, allocations: 4 kB / 447.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003221/0.2038, allocations: 79.83 kB / 447.6 MB, free: 2.105 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,$whenCondition1,city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of discrete states: 2 (city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007964/0.2046, allocations: 464.3 kB / 448.1 MB, free: 1.711 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003437/0.2049, allocations: 248 kB / 448.3 MB, free: 1.469 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2049, allocations: 0 / 448.3 MB, free: 1.469 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.2051, allocations: 119.8 kB / 448.4 MB, free: 1.352 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.2055, allocations: 61.55 kB / 448.5 MB, free: 1.293 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007107/0.2062, allocations: 0.7392 MB / 449.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.2065, allocations: 0.7875 MB / 450 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.119e-05/0.2066, allocations: 47.41 kB / 450.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2066, allocations: 0 / 450.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of Templates: time 0.005802/0.2124, allocations: 4.484 MB / 454.5 MB, free: 11.17 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.makefile make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.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.PowerWorld.Test.CityTestCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTestCalcHelperMain.o] Error 1