Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") translateModel(PowerSysPro.Examples.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009318/0.0009316, allocations: 92.05 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.001123/0.001123, allocations: 178.4 kB / 17.26 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.516/1.516, allocations: 223.2 MB / 241.3 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06456/0.06456, allocations: 8.094 MB / 300.5 MB, free: 6.781 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 8 kB / 363.5 MB, free: 7.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3203, allocations: 52.5 MB / 416 MB, free: 24.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.0017/0.3221, allocations: 1.406 MB / 417.4 MB, free: 23.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.3238, allocations: 1.493 MB / 418.9 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.3239, allocations: 4 kB / 418.9 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.3242, allocations: 95.53 kB / 419 MB, free: 21.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.3245, allocations: 119.3 kB / 419.1 MB, free: 21.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.3256, allocations: 0.65 MB / 419.8 MB, free: 21.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.326, allocations: 270.6 kB / 420 MB, free: 20.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.3262, allocations: 93.39 kB / 420.1 MB, free: 20.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.3263, allocations: 103.6 kB / 420.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.3264, allocations: 135.4 kB / 420.3 MB, free: 20.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.3265, allocations: 19.94 kB / 420.4 MB, free: 20.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.3267, allocations: 151.9 kB / 420.5 MB, free: 20.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.3268, allocations: 43.77 kB / 420.6 MB, free: 20.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.3269, allocations: 69.58 kB / 420.6 MB, free: 20.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.3272, allocations: 309.2 kB / 420.9 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3272, allocations: 4 kB / 420.9 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.498e-06/0.3272, allocations: 0 / 420.9 MB, free: 20.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.3272, allocations: 3.938 kB / 420.9 MB, free: 20 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002414/0.3296, allocations: 0.9085 MB / 421.8 MB, free: 19.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3297, allocations: 8.031 kB / 421.8 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.3298, allocations: 35.58 kB / 421.9 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.33, allocations: 266.7 kB / 422.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.33, allocations: 16.44 kB / 422.2 MB, free: 18.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.3301, allocations: 24 kB / 422.2 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.3306, allocations: 347.1 kB / 422.5 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3306, allocations: 0 / 422.5 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.3307, allocations: 8 kB / 422.5 MB, free: 18.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.3307, allocations: 8 kB / 422.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.3311, allocations: 333.6 kB / 422.9 MB, free: 17.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.3325, allocations: 1.029 MB / 423.9 MB, free: 16.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.333, allocations: 394.5 kB / 424.3 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.3333, allocations: 229.6 kB / 424.5 MB, free: 16.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.706e-05/0.3334, allocations: 7.938 kB / 424.5 MB, free: 16.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3334, allocations: 38.56 kB / 424.5 MB, free: 16.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.352e-06/0.3334, allocations: 0 / 424.5 MB, free: 16.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001949/0.3353, allocations: 1.055 MB / 425.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.3354, allocations: 55.41 kB / 425.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.3356, allocations: 231 kB / 425.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.3356, allocations: 33.7 kB / 425.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.3357, allocations: 140.6 kB / 426.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.717e-05/0.3358, allocations: 122.2 kB / 426.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.3358, allocations: 8 kB / 426.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.3359, allocations: 334.8 kB / 426.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.3362, allocations: 232.8 kB / 426.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.3364, allocations: 239.9 kB / 427 MB, free: 13.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.3367, allocations: 252.8 kB / 427.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3368, allocations: 0 / 427.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001065/0.3378, allocations: 0.7208 MB / 427.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3379, allocations: 4 kB / 427.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3379, allocations: 0 / 427.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000539/0.3384, allocations: 158.5 kB / 428.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.3388, allocations: 91.81 kB / 428.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/0.3416, allocations: 4.302 MB / 432.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.3418, allocations: 39.56 kB / 432.5 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.3419, allocations: 12 kB / 432.5 MB, free: 7.691 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 (50): * Single equations (assignments): 47 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.342, allocations: 149.9 kB / 432.7 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.3421, allocations: 23.72 kB / 432.7 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.3431, allocations: 0.6004 MB / 433.3 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3432, allocations: 4 kB / 433.3 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3432, allocations: 0 / 433.3 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3432, allocations: 7.984 kB / 433.3 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.3435, allocations: 460.9 kB / 433.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3435, allocations: 0 / 433.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.3437, allocations: 55.91 kB / 433.8 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004825/0.3442, allocations: 150.5 kB / 434 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.3443, allocations: 8 kB / 434 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002685/0.347, allocations: 4.291 MB / 438.3 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.347, allocations: 0 / 438.3 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008915/0.3479, allocations: 0.6271 MB / 438.9 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.3479, allocations: 104.8 kB / 439 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.348, allocations: 11.95 kB / 439 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.3482, allocations: 7.984 kB / 439 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.3482, allocations: 27.97 kB / 439 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.3483, allocations: 12 kB / 439.1 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.3484, allocations: 160.1 kB / 439.2 MB, free: 496 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3484, allocations: 0 / 439.2 MB, free: 496 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005046/0.3489, allocations: 127.8 kB / 439.3 MB, free: 368 kB / 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 (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002245/0.3491, allocations: 111.2 kB / 439.4 MB, free: 248 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.3507, allocations: 0.8817 MB / 440.3 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3507, allocations: 0 / 440.3 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009964/0.3517, allocations: 0.5857 MB / 440.9 MB, free: 14.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.352, allocations: 20.67 kB / 440.9 MB, free: 14.67 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.3532, allocations: 0.6821 MB / 441.6 MB, free: 13.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.3536, allocations: 0.7572 MB / 442.4 MB, free: 13.17 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3537, allocations: 31.42 kB / 442.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3537, allocations: 0 / 442.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of Templates: time 0.01126/0.365, allocations: 7.441 MB / 449.8 MB, free: 5.699 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSourceCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSourceCalcHelperMain.o] Error 1