Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="Time|city.p.1.|city.p.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest") translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|city.p.1.|city.p.2.",fileNamePrefix="PowerSystems_latest_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.000882/0.0008821, allocations: 95.69 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.0008424/0.0008427, allocations: 179.5 kB / 17.84 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.2 MB / 241.8 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1839/0.1839, allocations: 38.09 MB / 331 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003045, allocations: 8.5 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1137, allocations: 59.17 MB / 459.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.004287/0.118, allocations: 3.336 MB / 463.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.1204, allocations: 1.724 MB / 464.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.1205, allocations: 19.88 kB / 464.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.1209, allocations: 55.67 kB / 465 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004656/0.1214, allocations: 207.1 kB / 465.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.1218, allocations: 163.6 kB / 465.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004672/0.1223, allocations: 474.8 kB / 465.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000545/0.1228, allocations: 326.5 kB / 466.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.1232, allocations: 163.3 kB / 466.3 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.1234, allocations: 159.4 kB / 466.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.1235, allocations: 12 kB / 466.5 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.1238, allocations: 179.6 kB / 466.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1239, allocations: 103.7 kB / 466.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.124, allocations: 81.52 kB / 466.8 MB, free: 420 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.1244, allocations: 383.1 kB / 467.2 MB, free: 36 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1244, allocations: 0 / 467.2 MB, free: 36 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1244, allocations: 0 / 467.2 MB, free: 36 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1245, allocations: 0 / 467.2 MB, free: 36 kB / 334.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.000846/0.1253, allocations: 0.5654 MB / 467.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1253, allocations: 8.031 kB / 467.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006121/0.126, allocations: 91.39 kB / 467.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.1264, allocations: 354.8 kB / 468.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.1265, allocations: 20.31 kB / 468.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.1265, allocations: 16 kB / 468.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/0.127, allocations: 352.6 kB / 468.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.1271, allocations: 0 / 468.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.1271, allocations: 15.98 kB / 468.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.248e-05/0.1272, allocations: 20.36 kB / 468.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000533/0.1277, allocations: 380.8 kB / 469 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.1296, allocations: 1.558 MB / 470.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.1301, allocations: 313.6 kB / 470.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.1303, allocations: 102.1 kB / 471 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.393e-05/0.1304, allocations: 16.17 kB / 471 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/0.1307, allocations: 198.1 kB / 471.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 3.276e-06/0.1307, allocations: 3.984 kB / 471.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008138/0.1315, allocations: 380.5 kB / 471.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.1317, allocations: 136.7 kB / 471.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.132, allocations: 294.9 kB / 472 MB, free: 10.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.1321, allocations: 41.69 kB / 472 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1322, allocations: 168.2 kB / 472.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.1323, allocations: 82.94 kB / 472.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.1323, allocations: 4 kB / 472.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1325, allocations: 342.8 kB / 472.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.1326, allocations: 92.52 kB / 472.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.1329, allocations: 179.3 kB / 472.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.1331, allocations: 130.9 kB / 473 MB, free: 9.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1331, allocations: 4 kB / 473 MB, free: 9.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005019/0.1336, allocations: 353.2 kB / 473.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1336, allocations: 12.06 kB / 473.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.1336, allocations: 0 / 473.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1337, allocations: 8 kB / 473.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.1339, allocations: 59.91 kB / 473.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1339, allocations: 4 kB / 473.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.1341, allocations: 31.69 kB / 473.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.1341, allocations: 27.88 kB / 473.5 MB, free: 9.371 MB / 350.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 ($whenCondition1,$PRE.city.data.nextTimeEvent,city.data.nextTimeEvent,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002374/0.1343, allocations: 173.8 kB / 473.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.1344, allocations: 31.62 kB / 473.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005135/0.1349, allocations: 311.6 kB / 474 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1349, allocations: 4 kB / 474 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1349, allocations: 0 / 474 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1349, allocations: 3.984 kB / 474 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008607/0.1358, allocations: 0.746 MB / 474.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1358, allocations: 3.984 kB / 474.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.136, allocations: 51.92 kB / 474.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.136, allocations: 0 / 474.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.136, allocations: 8 kB / 474.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.136, allocations: 4 kB / 474.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.136, allocations: 3.984 kB / 474.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/0.1366, allocations: 413.5 kB / 475.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.1367, allocations: 116.8 kB / 475.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.1367, allocations: 8 kB / 475.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.1368, allocations: 8 kB / 475.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.1369, allocations: 19.92 kB / 475.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.1369, allocations: 12 kB / 475.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002526/0.1372, allocations: 217.9 kB / 475.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1372, allocations: 0 / 475.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003957/0.1376, allocations: 75.84 kB / 475.7 MB, free: 7.078 MB / 350.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 (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.0009208/0.1385, allocations: 467.8 kB / 476.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004003/0.1389, allocations: 248.3 kB / 476.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1389, allocations: 4 kB / 476.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.1392, allocations: 115.8 kB / 476.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.1396, allocations: 58.23 kB / 476.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009572/0.1406, allocations: 0.7194 MB / 477.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.1409, allocations: 0.7878 MB / 478 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.479e-05/0.141, allocations: 43.42 kB / 478.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.141, allocations: 0 / 478.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of Templates: time 0.006929/0.148, allocations: 4.483 MB / 482.6 MB, free: 308 kB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTestCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTestCalcHelperMain.o] Error 1