Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 100.4 kB / 16.38 MB, free: 5.965 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.001551/0.001551, allocations: 187 kB / 17.27 MB, free: 5.82 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.553/1.553, allocations: 223.2 MB / 241.3 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.256/0.256, allocations: 8.088 MB / 300.5 MB, free: 2.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 8 kB / 363.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1329, allocations: 52.52 MB / 416 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.001624/0.1346, allocations: 1.019 MB / 417 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1364, allocations: 1.439 MB / 418.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.1365, allocations: 4 kB / 418.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.1368, allocations: 79.66 kB / 418.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.137, allocations: 87.45 kB / 418.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.1383, allocations: 0.7203 MB / 419.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.1386, allocations: 167.1 kB / 419.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.1387, allocations: 57.81 kB / 419.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.523e-05/0.1388, allocations: 71.7 kB / 419.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.139, allocations: 87.61 kB / 419.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.139, allocations: 8 kB / 419.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.1394, allocations: 191.8 kB / 419.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.1394, allocations: 23.91 kB / 419.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.1395, allocations: 57.58 kB / 420 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.1398, allocations: 239.7 kB / 420.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1398, allocations: 12 kB / 420.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1398, allocations: 3.938 kB / 420.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1398, allocations: 0 / 420.2 MB, free: 4.445 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001663/0.1415, allocations: 0.6489 MB / 420.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1415, allocations: 8.031 kB / 420.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.1416, allocations: 27.67 kB / 420.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.1419, allocations: 226.8 kB / 421.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1419, allocations: 8.281 kB / 421.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.142, allocations: 20 kB / 421.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.1423, allocations: 215.8 kB / 421.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.1423, allocations: 0 / 421.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.1424, allocations: 12 kB / 421.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1424, allocations: 0 / 421.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.1427, allocations: 208.7 kB / 421.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.1439, allocations: 0.8462 MB / 422.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006896/0.1446, allocations: 379.9 kB / 422.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.1448, allocations: 132.8 kB / 422.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-05/0.1449, allocations: 11.98 kB / 423 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.1449, allocations: 38.56 kB / 423 MB, free: 1.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.725e-06/0.145, allocations: 0 / 423 MB, free: 1.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001918/0.1469, allocations: 0.7239 MB / 423.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1469, allocations: 55.36 kB / 423.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1471, allocations: 190.2 kB / 424 MB, free: 472 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.1472, allocations: 29.7 kB / 424 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.1473, allocations: 116.4 kB / 424.1 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/0.1474, allocations: 74.91 kB / 424.2 MB, free: 240 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/0.1474, allocations: 8 kB / 424.2 MB, free: 232 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.3031/0.4505, allocations: 328.4 kB / 424.5 MB, free: 41.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.4509, allocations: 116.5 kB / 424.6 MB, free: 41.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.4511, allocations: 129.3 kB / 424.7 MB, free: 41.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.4514, allocations: 129.8 kB / 424.9 MB, free: 41.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.4514, allocations: 6.25 kB / 424.9 MB, free: 41.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00117/0.4526, allocations: 485.8 kB / 425.4 MB, free: 41.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.4526, allocations: 4.625 kB / 425.4 MB, free: 41.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.4526, allocations: 0 / 425.4 MB, free: 41.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007736/0.4534, allocations: 181.2 kB / 425.5 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.4536, allocations: 39.34 kB / 425.6 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.4564, allocations: 2.169 MB / 427.7 MB, free: 39.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.4566, allocations: 16.62 kB / 427.8 MB, free: 39.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.4566, allocations: 10.62 kB / 427.8 MB, free: 39.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.4568, allocations: 141.5 kB / 427.9 MB, free: 39.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.4568, allocations: 15.23 kB / 427.9 MB, free: 39.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009604/0.4578, allocations: 466 kB / 428.4 MB, free: 39.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4578, allocations: 3.438 kB / 428.4 MB, free: 39.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.4578, allocations: 3.953 kB / 428.4 MB, free: 39.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.4578, allocations: 1.125 kB / 428.4 MB, free: 39.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.4592, allocations: 0.8501 MB / 429.2 MB, free: 39.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4592, allocations: 3.188 kB / 429.2 MB, free: 39.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.512e-05/0.4593, allocations: 21.64 kB / 429.3 MB, free: 39.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005862/0.4599, allocations: 176.3 kB / 429.4 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.4599, allocations: 9.562 kB / 429.4 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/0.4624, allocations: 2.155 MB / 431.6 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4624, allocations: 0.5625 kB / 431.6 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008891/0.4633, allocations: 0.5176 MB / 432.1 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.4633, allocations: 101.8 kB / 432.2 MB, free: 37.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.4634, allocations: 3.188 kB / 432.2 MB, free: 37.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.4635, allocations: 22.72 kB / 432.2 MB, free: 37.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.4636, allocations: 21.42 kB / 432.3 MB, free: 37.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.4636, allocations: 10.66 kB / 432.3 MB, free: 37.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.4637, allocations: 136 kB / 432.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4637, allocations: 0 / 432.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004396/0.4642, allocations: 79.31 kB / 432.5 MB, free: 37.6 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002145/0.4644, allocations: 112.6 kB / 432.6 MB, free: 37.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008734/0.4653, allocations: 491.7 kB / 433.1 MB, free: 37.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4653, allocations: 0 / 433.1 MB, free: 37.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005121/0.4658, allocations: 336.2 kB / 433.4 MB, free: 37.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.4662, allocations: 20.12 kB / 433.4 MB, free: 37.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007612/0.4669, allocations: 0.5089 MB / 433.9 MB, free: 36.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.4671, allocations: 0.738 MB / 434.7 MB, free: 36.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.4672, allocations: 18.03 kB / 434.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4672, allocations: 0 / 434.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of Templates: time 0.005799/0.473, allocations: 3.606 MB / 438.3 MB, free: 36.03 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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 OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBankCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBankCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBankCalcHelperMain.o] Error 1