Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") translateModel(PowerSysPro.Examples.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009588/0.0009589, allocations: 93.31 kB / 16.37 MB, free: 5.969 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.001195/0.001195, allocations: 177.2 kB / 17.27 MB, free: 5.824 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.596/1.596, allocations: 223.2 MB / 241.3 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.292/0.292, allocations: 8.082 MB / 300.5 MB, free: 2.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003423, allocations: 8 kB / 363.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1296, allocations: 52.51 MB / 416 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.001593/0.1313, allocations: 0.8994 MB / 416.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1329, allocations: 1.197 MB / 418.1 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.1329, allocations: 4 kB / 418.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.1332, allocations: 47.77 kB / 418.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.1334, allocations: 39.75 kB / 418.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.134, allocations: 299 kB / 418.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.1341, allocations: 115.5 kB / 418.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.1343, allocations: 45.39 kB / 418.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.507e-05/0.1343, allocations: 43.8 kB / 418.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.1345, allocations: 55.77 kB / 418.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1345, allocations: 8 kB / 418.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.1347, allocations: 95.88 kB / 418.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.1348, allocations: 19.92 kB / 418.8 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.1348, allocations: 45.64 kB / 418.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.135, allocations: 159.8 kB / 419 MB, free: 5.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.1351, allocations: 0 / 419 MB, free: 5.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1351, allocations: 0 / 419 MB, free: 5.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1351, allocations: 0 / 419 MB, free: 5.645 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009352/0.136, allocations: 450.9 kB / 419.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1361, allocations: 8.031 kB / 419.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.1361, allocations: 23.77 kB / 419.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.1363, allocations: 182.9 kB / 419.7 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1364, allocations: 8 kB / 419.7 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1364, allocations: 8 kB / 419.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.1366, allocations: 137.6 kB / 419.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1367, allocations: 0 / 419.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.1367, allocations: 4 kB / 419.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1367, allocations: 4 kB / 419.9 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.1369, allocations: 95.92 kB / 420 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009919/0.1379, allocations: 0.4963 MB / 420.4 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.1383, allocations: 98.69 kB / 420.5 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.228e-05/0.1384, allocations: 28.84 kB / 420.6 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.1386, allocations: 81.11 kB / 420.7 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.1386, allocations: 42.48 kB / 420.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.1387, allocations: 0 / 420.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000752/0.1394, allocations: 227.7 kB / 420.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.1395, allocations: 51.41 kB / 421 MB, free: 3.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1397, allocations: 145.9 kB / 421.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.1397, allocations: 25.7 kB / 421.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.1398, allocations: 123.4 kB / 421.3 MB, free: 3.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.1399, allocations: 27.58 kB / 421.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-06/0.1399, allocations: 4 kB / 421.3 MB, free: 3.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1401, allocations: 314.8 kB / 421.6 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.1402, allocations: 27.98 kB / 421.6 MB, free: 2.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.519e-05/0.1402, allocations: 31.98 kB / 421.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.715e-05/0.1403, allocations: 32 kB / 421.7 MB, free: 2.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1403, allocations: 0 / 421.7 MB, free: 2.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003779/0.1407, allocations: 138.3 kB / 421.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1408, allocations: 6.031 kB / 421.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1408, allocations: 3.938 kB / 421.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002886/0.1411, allocations: 32.83 kB / 421.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.1412, allocations: 27.92 kB / 421.9 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.1427, allocations: 1.304 MB / 423.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.1428, allocations: 7.938 kB / 423.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.1428, allocations: 4 kB / 423.2 MB, free: 1.086 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 (9): * Single equations (assignments): 8 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.143, allocations: 126.3 kB / 423.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.143, allocations: 11.86 kB / 423.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.1434, allocations: 119.1 kB / 423.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1434, allocations: 8.094 kB / 423.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1434, allocations: 0 / 423.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1435, allocations: 0 / 423.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.1438, allocations: 225.5 kB / 423.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1438, allocations: 288 / 423.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.1439, allocations: 11.94 kB / 423.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.1441, allocations: 32.83 kB / 423.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1441, allocations: 7.938 kB / 423.7 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.1455, allocations: 1.308 MB / 425 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1455, allocations: 4.156 kB / 425 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.1459, allocations: 204.3 kB / 425.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.146, allocations: 89.05 kB / 425.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.146, allocations: 0 / 425.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.1462, allocations: 7.984 kB / 425.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.1462, allocations: 15.92 kB / 425.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1462, allocations: 8 kB / 425.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.1464, allocations: 111.1 kB / 425.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1464, allocations: 0 / 425.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005265/0.1469, allocations: 35.91 kB / 425.5 MB, free: 14.54 MB / 366.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 (6): * Single equations (assignments): 5 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002109/0.1472, allocations: 111.2 kB / 425.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004646/0.1476, allocations: 182.9 kB / 425.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1477, allocations: 4 kB / 425.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.1479, allocations: 150.5 kB / 425.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.1484, allocations: 15.95 kB / 426 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006424/0.1491, allocations: 331.8 kB / 426.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.1495, allocations: 0.7082 MB / 427 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.1495, allocations: 11.44 kB / 427 MB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1495, allocations: 0 / 427 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.005959/0.1555, allocations: 2.13 MB / 429.1 MB, free: 10.82 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.OneSourceOneLoadWithBusesCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBusesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBusesCalcHelperMain.o] Error 1