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.0008712/0.0008712, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.001045/0.001045, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.577/1.577, allocations: 223.2 MB / 242.2 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2028/0.2028, allocations: 38.1 MB / 331.5 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004581, allocations: 12 kB / 401.4 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1504, allocations: 59.17 MB / 460.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.004449/0.1549, allocations: 3.472 MB / 464 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.1576, allocations: 1.828 MB / 465.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.1578, allocations: 15.94 kB / 465.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.1583, allocations: 63.67 kB / 465.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005947/0.1589, allocations: 239.2 kB / 466.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.1594, allocations: 179.6 kB / 466.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005745/0.16, allocations: 0.5729 MB / 466.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006224/0.1606, allocations: 354.5 kB / 467.2 MB, free: 332 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.161, allocations: 155.2 kB / 467.4 MB, free: 176 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.1613, allocations: 167.4 kB / 467.6 MB, free: 8 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.1613, allocations: 12.05 kB / 467.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005456/0.1619, allocations: 363.2 kB / 467.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.162, allocations: 107.6 kB / 468 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.1622, allocations: 156.9 kB / 468.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.1626, allocations: 395.1 kB / 468.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1626, allocations: 0 / 468.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1627, allocations: 0 / 468.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1627, allocations: 0 / 468.6 MB, free: 14.99 MB / 350.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.0007946/0.1635, allocations: 0.5694 MB / 469.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1635, allocations: 12.03 kB / 469.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006666/0.1642, allocations: 92.38 kB / 469.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/0.1647, allocations: 363.8 kB / 469.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.1647, allocations: 12.75 kB / 469.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.1647, allocations: 20.12 kB / 469.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.1653, allocations: 360.6 kB / 470 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1653, allocations: 0 / 470 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.1654, allocations: 12 kB / 470 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.1654, allocations: 16.36 kB / 470 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005494/0.166, allocations: 388.7 kB / 470.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.1677, allocations: 1.55 MB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005534/0.1683, allocations: 325.1 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.1684, allocations: 107.9 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.1685, allocations: 8.062 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.1688, allocations: 193.7 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.1688, allocations: 4 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006824/0.1695, allocations: 385.1 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.1696, allocations: 136.5 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.1699, allocations: 290.9 kB / 473.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.1699, allocations: 33.7 kB / 473.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1701, allocations: 176.2 kB / 473.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.178e-05/0.1701, allocations: 87.08 kB / 473.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.1702, allocations: 33.7 kB / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1703, allocations: 338.8 kB / 474 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.1705, allocations: 96.52 kB / 474.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.1707, allocations: 187.2 kB / 474.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/0.1712, allocations: 296 kB / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1712, allocations: 3.984 kB / 474.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005492/0.1717, allocations: 361.2 kB / 474.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1718, allocations: 4 kB / 474.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1718, allocations: 4 kB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1718, allocations: 4 kB / 474.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.172, allocations: 67.89 kB / 475 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.172, allocations: 7.938 kB / 475 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.1722, allocations: 31.62 kB / 475 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.1722, allocations: 12 kB / 475.1 MB, free: 8.066 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.0001827/0.1724, allocations: 177.8 kB / 475.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.1725, allocations: 35.61 kB / 475.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005428/0.173, allocations: 315.6 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.173, allocations: 0 / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.173, allocations: 4 kB / 475.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.173, allocations: 3.938 kB / 475.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009469/0.174, allocations: 0.7422 MB / 476.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.174, allocations: 4 kB / 476.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.1742, allocations: 47.91 kB / 476.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1742, allocations: 3.938 kB / 476.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.1742, allocations: 8 kB / 476.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.1742, allocations: 4 kB / 476.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1742, allocations: 0 / 476.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005265/0.1748, allocations: 421.5 kB / 476.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.075e-05/0.1749, allocations: 108.8 kB / 476.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.1749, allocations: 15.94 kB / 476.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.1751, allocations: 4 kB / 476.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.1751, allocations: 19.97 kB / 476.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.1752, allocations: 8 kB / 477 MB, free: 6.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.1754, allocations: 213.9 kB / 477.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1754, allocations: 0 / 477.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003817/0.1758, allocations: 83.83 kB / 477.2 MB, free: 5.766 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.001076/0.1769, allocations: 476.1 kB / 477.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005096/0.1774, allocations: 251.1 kB / 478 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1774, allocations: 0 / 478 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.1776, allocations: 115.8 kB / 478.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.1781, allocations: 60.05 kB / 478.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.1792, allocations: 0.7508 MB / 478.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.1796, allocations: 0.7955 MB / 479.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.1797, allocations: 43.42 kB / 479.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1797, allocations: 0 / 479.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of Templates: time 0.007098/0.1868, allocations: 4.456 MB / 484.2 MB, free: 14.96 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