Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001013, allocations: 95.5 kB / 16.38 MB, free: 6.422 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.001098/0.001098, allocations: 187.1 kB / 17.27 MB, free: 6.262 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: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05959/0.05959, allocations: 8.095 MB / 300.5 MB, free: 6.793 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005044/0.0005046, allocations: 12 kB / 363.5 MB, free: 7.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3643, allocations: 52.51 MB / 416 MB, free: 24.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.001817/0.3662, allocations: 1.273 MB / 417.3 MB, free: 23.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.3681, allocations: 1.493 MB / 418.8 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.5e-05/0.3682, allocations: 4 kB / 418.8 MB, free: 22.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.3685, allocations: 99.52 kB / 418.9 MB, free: 22.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.3688, allocations: 107.4 kB / 419 MB, free: 22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.37, allocations: 0.7357 MB / 419.7 MB, free: 21.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.3703, allocations: 246.7 kB / 419.9 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.3705, allocations: 64.5 kB / 420 MB, free: 20.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.734e-05/0.3706, allocations: 99.61 kB / 420.1 MB, free: 20.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.3708, allocations: 115.5 kB / 420.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.3708, allocations: 12 kB / 420.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003023/0.3711, allocations: 199.8 kB / 420.4 MB, free: 20.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.3712, allocations: 35.84 kB / 420.5 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.395e-05/0.3712, allocations: 69.52 kB / 420.5 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.3715, allocations: 293.2 kB / 420.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3715, allocations: 0 / 420.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3715, allocations: 0 / 420.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3715, allocations: 4 kB / 420.8 MB, free: 20.13 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002165/0.3737, allocations: 0.8148 MB / 421.6 MB, free: 19.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3738, allocations: 8.031 kB / 421.6 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.3738, allocations: 27.67 kB / 421.7 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.3741, allocations: 264.3 kB / 421.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.3741, allocations: 16.44 kB / 421.9 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.3742, allocations: 24 kB / 422 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.3746, allocations: 291.2 kB / 422.2 MB, free: 18.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3746, allocations: 0 / 422.2 MB, free: 18.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.3747, allocations: 8 kB / 422.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.3747, allocations: 11.95 kB / 422.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003561/0.375, allocations: 273.6 kB / 422.5 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.3764, allocations: 1.035 MB / 423.6 MB, free: 17.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008113/0.3772, allocations: 459.8 kB / 424 MB, free: 16.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.3775, allocations: 184.7 kB / 424.2 MB, free: 16.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.988e-05/0.3775, allocations: 4 kB / 424.2 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3776, allocations: 34.56 kB / 424.2 MB, free: 16.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.3776, allocations: 4 kB / 424.2 MB, free: 16.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.00246/0.38, allocations: 0.9529 MB / 425.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.3801, allocations: 51.41 kB / 425.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.3803, allocations: 216.8 kB / 425.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.3803, allocations: 29.7 kB / 425.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.3804, allocations: 148.5 kB / 425.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.737e-05/0.3805, allocations: 94.64 kB / 425.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.3805, allocations: 8 kB / 425.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3806, allocations: 338.8 kB / 426.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.3809, allocations: 175.9 kB / 426.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.3811, allocations: 179.9 kB / 426.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.3814, allocations: 191.9 kB / 426.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3814, allocations: 0 / 426.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001125/0.3825, allocations: 0.6547 MB / 427.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3825, allocations: 4 kB / 427.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3825, allocations: 0 / 427.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009095/0.3835, allocations: 256.5 kB / 427.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.3837, allocations: 51.91 kB / 427.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00311/0.3868, allocations: 2.493 MB / 430 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.387, allocations: 27.69 kB / 430.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.387, allocations: 15.98 kB / 430.1 MB, free: 10.41 MB / 302.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 (32): * Single equations (assignments): 31 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.3872, allocations: 142.3 kB / 430.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.3873, allocations: 23.72 kB / 430.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.3885, allocations: 0.6063 MB / 430.9 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3885, allocations: 4 kB / 430.9 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-06/0.3885, allocations: 4 kB / 430.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3885, allocations: 0 / 430.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.39, allocations: 1.049 MB / 431.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.39, allocations: 8 kB / 431.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.667e-05/0.3901, allocations: 43.86 kB / 432 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007994/0.3909, allocations: 240.9 kB / 432.2 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.3909, allocations: 8 kB / 432.2 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/0.3936, allocations: 2.476 MB / 434.7 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3936, allocations: 0 / 434.7 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.3947, allocations: 0.6447 MB / 435.3 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.3947, allocations: 108.7 kB / 435.4 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.3948, allocations: 11.98 kB / 435.4 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.395, allocations: 17.09 kB / 435.5 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.3951, allocations: 19.97 kB / 435.5 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.3951, allocations: 11.98 kB / 435.5 MB, free: 4.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.3952, allocations: 163 kB / 435.7 MB, free: 4.598 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3952, allocations: 0 / 435.7 MB, free: 4.598 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004782/0.3957, allocations: 111.9 kB / 435.8 MB, free: 4.488 MB / 302.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 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002098/0.3959, allocations: 111.2 kB / 435.9 MB, free: 4.371 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.3971, allocations: 0.6039 MB / 436.5 MB, free: 3.754 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.3972, allocations: 7.938 kB / 436.5 MB, free: 3.746 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00063/0.3978, allocations: 398.3 kB / 436.9 MB, free: 3.344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.3982, allocations: 31.45 kB / 436.9 MB, free: 3.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000948/0.3991, allocations: 0.6319 MB / 437.5 MB, free: 2.652 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.3994, allocations: 0.7488 MB / 438.3 MB, free: 1.875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.3995, allocations: 27.42 kB / 438.3 MB, free: 1.848 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3995, allocations: 0 / 438.3 MB, free: 1.848 MB / 302.1 MB Notification: Performance of Templates: time 0.007265/0.4067, allocations: 4.668 MB / 443 MB, free: 13.18 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoadCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoadCalcHelperMain.o] Error 1