Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008498/0.0008556, allocations: 94.28 kB / 16.38 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.0009419/0.0009419, allocations: 184.2 kB / 17.27 MB, free: 5.855 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.552/1.552, allocations: 223.2 MB / 241.3 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2767/0.2767, allocations: 8.084 MB / 300.5 MB, free: 2.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 12 kB / 363.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 52.52 MB / 416 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.00165/0.1339, allocations: 1.171 MB / 417.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.1362, allocations: 1.458 MB / 418.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.039e-05/0.1363, allocations: 4 kB / 418.6 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.1366, allocations: 87.59 kB / 418.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.1369, allocations: 99.42 kB / 418.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.1384, allocations: 0.732 MB / 419.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.1388, allocations: 218.8 kB / 419.8 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.139, allocations: 64.05 kB / 419.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.1391, allocations: 83.7 kB / 419.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.1394, allocations: 115.5 kB / 420 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.1394, allocations: 8 kB / 420 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004182/0.1398, allocations: 195.7 kB / 420.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.1399, allocations: 35.84 kB / 420.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.14, allocations: 65.58 kB / 420.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.1404, allocations: 267.6 kB / 420.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1404, allocations: 0 / 420.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1404, allocations: 4 kB / 420.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1404, allocations: 4 kB / 420.6 MB, free: 4.07 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002488/0.1429, allocations: 0.7797 MB / 421.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.143, allocations: 12.03 kB / 421.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.275e-05/0.143, allocations: 31.67 kB / 421.4 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.1434, allocations: 255.2 kB / 421.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.1435, allocations: 12.33 kB / 421.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.1435, allocations: 23.98 kB / 421.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.144, allocations: 255.8 kB / 421.9 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.144, allocations: 0 / 421.9 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.1441, allocations: 4 kB / 422 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.1441, allocations: 8 kB / 422 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.1445, allocations: 251.8 kB / 422.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.1464, allocations: 1.125 MB / 423.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.1471, allocations: 310.4 kB / 423.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.1473, allocations: 156.8 kB / 423.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.624e-05/0.1474, allocations: 12.41 kB / 423.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.1475, allocations: 42.55 kB / 423.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.322e-06/0.1475, allocations: 0 / 423.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.2581/0.4056, allocations: 0.9544 MB / 424.8 MB, free: 41.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.4057, allocations: 54.78 kB / 424.8 MB, free: 41.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.4059, allocations: 191.9 kB / 425 MB, free: 41.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.4059, allocations: 38.48 kB / 425.1 MB, free: 41.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.406, allocations: 123.3 kB / 425.2 MB, free: 41.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/0.4061, allocations: 91.67 kB / 425.3 MB, free: 41.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.4061, allocations: 6.438 kB / 425.3 MB, free: 41.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.4062, allocations: 329.9 kB / 425.6 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.4064, allocations: 153.4 kB / 425.8 MB, free: 40.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.4066, allocations: 163.7 kB / 425.9 MB, free: 40.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.4068, allocations: 176.1 kB / 426.1 MB, free: 40.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.4068, allocations: 0 / 426.1 MB, free: 40.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001324/0.4082, allocations: 0.6336 MB / 426.7 MB, free: 40.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.4082, allocations: 6.281 kB / 426.7 MB, free: 40.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4082, allocations: 0 / 426.7 MB, free: 40.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.4094, allocations: 327.6 kB / 427.1 MB, free: 40.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.4096, allocations: 43.05 kB / 427.1 MB, free: 40.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003203/0.4128, allocations: 2.539 MB / 429.6 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.413, allocations: 22.34 kB / 429.7 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.4131, allocations: 10.03 kB / 429.7 MB, free: 39.43 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 (27): * Single equations (assignments): 26 * 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 {6 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.4132, allocations: 139.2 kB / 429.8 MB, free: 39.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.4133, allocations: 14.44 kB / 429.8 MB, free: 39.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.4146, allocations: 0.6199 MB / 430.4 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.4146, allocations: 10.64 kB / 430.4 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.4146, allocations: 3.953 kB / 430.5 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.4146, allocations: 4 kB / 430.5 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.4149, allocations: 377.4 kB / 430.8 MB, free: 39.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4149, allocations: 1.859 kB / 430.8 MB, free: 39.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.855e-05/0.415, allocations: 40.84 kB / 430.9 MB, free: 39.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.4162, allocations: 303.3 kB / 431.2 MB, free: 39.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.4162, allocations: 15.59 kB / 431.2 MB, free: 39.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002978/0.4192, allocations: 2.5 MB / 433.7 MB, free: 37.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4192, allocations: 8.734 kB / 433.7 MB, free: 37.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.4206, allocations: 0.6655 MB / 434.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.4206, allocations: 110.7 kB / 434.5 MB, free: 37.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.4207, allocations: 4.75 kB / 434.5 MB, free: 37.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.4209, allocations: 16.62 kB / 434.5 MB, free: 37.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.4209, allocations: 27.81 kB / 434.5 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.4209, allocations: 6.031 kB / 434.5 MB, free: 37.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.4211, allocations: 152 kB / 434.7 MB, free: 37.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4211, allocations: 0 / 434.7 MB, free: 37.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004518/0.4215, allocations: 100.2 kB / 434.8 MB, free: 37.22 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 (20): * Single equations (assignments): 19 * 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 {6 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001898/0.4217, allocations: 118.2 kB / 434.9 MB, free: 37.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.4229, allocations: 0.6084 MB / 435.5 MB, free: 36.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4229, allocations: 3.25 kB / 435.5 MB, free: 36.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007621/0.4237, allocations: 429.4 kB / 435.9 MB, free: 36.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.424, allocations: 21.72 kB / 435.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007269/0.4247, allocations: 0.5909 MB / 436.5 MB, free: 36.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.4249, allocations: 0.7512 MB / 437.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.425, allocations: 23.12 kB / 437.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.425, allocations: 0 / 437.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of Templates: time 0.005785/0.4308, allocations: 4.497 MB / 441.8 MB, free: 35.14 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoadCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoadCalcHelperMain.o] Error 1