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.001406/0.001406, allocations: 110.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.001608/0.001608, 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 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241.7 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.172/0.172, allocations: 38.03 MB / 329.9 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 59.12 kB / 398.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1071, allocations: 58.06 MB / 456.8 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005741/0.1129, allocations: 3.839 MB / 460.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.1157, allocations: 1.875 MB / 462.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003904/0.1161, allocations: 15.88 kB / 462.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000971/0.1172, allocations: 215.2 kB / 462.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008871/0.1181, allocations: 239.2 kB / 463 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000742/0.1188, allocations: 183.6 kB / 463.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007461/0.1196, allocations: 0.5768 MB / 463.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004322/0.12, allocations: 173.7 kB / 463.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.1205, allocations: 158.3 kB / 464 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.1208, allocations: 175.3 kB / 464.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.1209, allocations: 16 kB / 464.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006934/0.1216, allocations: 375.2 kB / 464.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1218, allocations: 103.7 kB / 464.7 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.1219, allocations: 139.2 kB / 464.8 MB, free: 432 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.1225, allocations: 399.2 kB / 465.2 MB, free: 32 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1225, allocations: 0 / 465.2 MB, free: 32 kB / 334.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1225, allocations: 0 / 465.2 MB, free: 32 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.1226, allocations: 0 / 465.2 MB, free: 32 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.001069/0.1236, allocations: 0.6199 MB / 465.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1237, allocations: 8.031 kB / 465.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008129/0.1245, allocations: 96.48 kB / 465.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.125, allocations: 359.8 kB / 466.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.125, allocations: 20.67 kB / 466.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.1251, allocations: 24.11 kB / 466.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.1257, allocations: 356.6 kB / 466.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1257, allocations: 11.92 kB / 466.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.1257, allocations: 4 kB / 466.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.1258, allocations: 16.38 kB / 466.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006007/0.1264, allocations: 392.8 kB / 467.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.1283, allocations: 1.546 MB / 468.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/0.1289, allocations: 313.1 kB / 469 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.1291, allocations: 101.7 kB / 469.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.1291, allocations: 20.06 kB / 469.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003208/0.1295, allocations: 196.5 kB / 469.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.733e-06/0.1295, allocations: 3.938 kB / 469.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007472/0.1302, allocations: 387.3 kB / 469.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.1303, allocations: 136.8 kB / 469.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.1306, allocations: 291 kB / 470.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.1307, allocations: 33.7 kB / 470.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1308, allocations: 180.1 kB / 470.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.1309, allocations: 82.89 kB / 470.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/0.131, allocations: 53.98 kB / 470.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1311, allocations: 338.8 kB / 470.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.1313, allocations: 96.52 kB / 470.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.1315, allocations: 187.2 kB / 471 MB, free: 9.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.1319, allocations: 303.8 kB / 471.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.132, allocations: 0 / 471.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000564/0.1325, allocations: 356.9 kB / 471.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1325, allocations: 7.984 kB / 471.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1326, allocations: 4 kB / 471.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1326, allocations: 4.312 kB / 471.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.1328, allocations: 67.91 kB / 471.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1329, allocations: 4 kB / 471.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.133, allocations: 31.62 kB / 471.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.133, allocations: 12 kB / 471.8 MB, free: 9.035 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 ($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.0001739/0.1332, allocations: 180.5 kB / 472 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.1333, allocations: 31.7 kB / 472 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005475/0.1338, allocations: 311.6 kB / 472.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1339, allocations: 8 kB / 472.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1339, allocations: 4 kB / 472.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1339, allocations: 7.922 kB / 472.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009414/0.1348, allocations: 0.744 MB / 473.1 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1348, allocations: 0 / 473.1 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.135, allocations: 47.97 kB / 473.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.135, allocations: 3.938 kB / 473.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.135, allocations: 8 kB / 473.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.135, allocations: 8 kB / 473.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1351, allocations: 3.938 kB / 473.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.1356, allocations: 412.1 kB / 473.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/0.1357, allocations: 108.7 kB / 473.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.1358, allocations: 15.92 kB / 473.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1359, allocations: 12 kB / 473.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.136, allocations: 15.92 kB / 473.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.136, allocations: 15.98 kB / 473.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002074/0.1362, allocations: 213.9 kB / 473.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1362, allocations: 0 / 473.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.1366, allocations: 79.78 kB / 474 MB, free: 6.727 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 (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.001021/0.1376, allocations: 470.3 kB / 474.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004491/0.1381, allocations: 239.8 kB / 474.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1381, allocations: 3.938 kB / 474.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.1383, allocations: 124.5 kB / 474.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.1388, allocations: 56.92 kB / 474.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1399, allocations: 0.7345 MB / 475.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.1403, allocations: 0.7917 MB / 476.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1404, allocations: 39.42 kB / 476.4 MB, free: 4.395 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1404, allocations: 0 / 476.4 MB, free: 4.395 MB / 350.1 MB Notification: Performance of Templates: time 0.007271/0.1477, allocations: 4.488 MB / 480.9 MB, free: 15.92 MB / 366.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++ -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/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/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