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.0008854/0.0008852, allocations: 90.72 kB / 16.95 MB, free: 5.539 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.001035/0.001035, allocations: 190.2 kB / 17.85 MB, free: 5.219 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.602/1.602, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1739/0.1739, allocations: 38.04 MB / 310.3 MB, free: 6.035 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.0005246/0.0005246, allocations: 16 kB / 377.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2968, allocations: 56.33 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.003482/0.3004, allocations: 3.34 MB / 436.8 MB, free: 15.47 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.3023, allocations: 1.647 MB / 438.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.3025, allocations: 11.94 kB / 438.5 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.3028, allocations: 75.59 kB / 438.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.3032, allocations: 195.1 kB / 438.7 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.3036, allocations: 157.9 kB / 438.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.304, allocations: 474.8 kB / 439.4 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005218/0.3045, allocations: 322.5 kB / 439.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.3049, allocations: 166.9 kB / 439.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.3051, allocations: 163.4 kB / 440 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.3051, allocations: 8 kB / 440 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.3055, allocations: 183.6 kB / 440.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.898e-05/0.3056, allocations: 91.75 kB / 440.3 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.858e-05/0.3056, allocations: 81.52 kB / 440.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.306, allocations: 375.2 kB / 440.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.306, allocations: 4 kB / 440.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.306, allocations: 3.938 kB / 440.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.306, allocations: 0 / 440.7 MB, free: 11.53 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.0007892/0.3068, allocations: 0.573 MB / 441.3 MB, free: 10.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3069, allocations: 12.03 kB / 441.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006553/0.3076, allocations: 87.53 kB / 441.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.308, allocations: 358.6 kB / 441.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.308, allocations: 16.38 kB / 441.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.308, allocations: 19.98 kB / 441.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.3085, allocations: 356.4 kB / 442.1 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3085, allocations: 0 / 442.1 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.034e-05/0.3086, allocations: 8 kB / 442.1 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.3086, allocations: 28.31 kB / 442.2 MB, free: 9.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.3091, allocations: 384.7 kB / 442.5 MB, free: 9.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.3105, allocations: 1.547 MB / 444.1 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.311, allocations: 325.6 kB / 444.4 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.3112, allocations: 110 kB / 444.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.3112, allocations: 8.172 kB / 444.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/0.3115, allocations: 198 kB / 444.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.3115, allocations: 0 / 444.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006333/0.3122, allocations: 386.1 kB / 445.1 MB, free: 6.887 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.3122, allocations: 136.5 kB / 445.2 MB, free: 6.723 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.3125, allocations: 283.2 kB / 445.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.3125, allocations: 41.7 kB / 445.5 MB, free: 6.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.3127, allocations: 180.2 kB / 445.7 MB, free: 6.207 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.3127, allocations: 78.91 kB / 445.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/0.3127, allocations: 8 kB / 445.8 MB, free: 6.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.3128, allocations: 338.8 kB / 446.1 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.313, allocations: 92.52 kB / 446.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.3131, allocations: 179.3 kB / 446.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.3133, allocations: 131.9 kB / 446.5 MB, free: 5.352 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3133, allocations: 0 / 446.5 MB, free: 5.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004334/0.3137, allocations: 357.7 kB / 446.9 MB, free: 4.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3138, allocations: 4.312 kB / 446.9 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.3138, allocations: 11.98 kB / 446.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3138, allocations: 4 kB / 446.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.314, allocations: 63.91 kB / 447 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3141, allocations: 4 kB / 447 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.3142, allocations: 31.62 kB / 447 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.3142, allocations: 12 kB / 447 MB, free: 4.867 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 ($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.0001413/0.3144, allocations: 182.2 kB / 447.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.3144, allocations: 27.67 kB / 447.2 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.3149, allocations: 315.6 kB / 447.5 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3149, allocations: 0 / 447.5 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3149, allocations: 4 kB / 447.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3149, allocations: 0 / 447.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007374/0.3156, allocations: 0.7595 MB / 448.3 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3157, allocations: 3.938 kB / 448.3 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.3158, allocations: 47.97 kB / 448.3 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3158, allocations: 4 kB / 448.3 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.3158, allocations: 8 kB / 448.3 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3158, allocations: 0 / 448.3 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3158, allocations: 4 kB / 448.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.3162, allocations: 408.8 kB / 448.8 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.3163, allocations: 112.7 kB / 448.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.3164, allocations: 16 kB / 448.9 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.3165, allocations: 4 kB / 448.9 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.3165, allocations: 19.97 kB / 448.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.3166, allocations: 12 kB / 448.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001625/0.3167, allocations: 209.9 kB / 449.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3168, allocations: 0 / 449.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003596/0.3171, allocations: 79.89 kB / 449.2 MB, free: 2.566 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 (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.001119/0.3182, allocations: 474 kB / 449.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003677/0.3186, allocations: 247.7 kB / 449.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3186, allocations: 0.625 kB / 449.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.3188, allocations: 120.3 kB / 450 MB, free: 1.797 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.3192, allocations: 61.73 kB / 450.1 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008391/0.3201, allocations: 0.7267 MB / 450.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.3203, allocations: 0.7953 MB / 451.6 MB, free: 164 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.945e-05/0.3204, allocations: 39.42 kB / 451.6 MB, free: 124 kB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3204, allocations: 0 / 451.6 MB, free: 124 kB / 318.1 MB Notification: Performance of Templates: time 0.007189/0.3276, allocations: 4.476 MB / 456.1 MB, free: 11.63 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++ 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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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