Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000838/0.0008383, allocations: 95.44 kB / 16.37 MB, free: 5.961 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.0008631/0.0008632, allocations: 187.9 kB / 17.27 MB, free: 5.84 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.478/1.478, 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.06843/0.06843, allocations: 8.098 MB / 300.5 MB, free: 6.777 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 8 kB / 363.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3229, allocations: 52.52 MB / 416 MB, free: 24.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.001221/0.3242, allocations: 0.8098 MB / 416.8 MB, free: 24.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.3258, allocations: 1.369 MB / 418.2 MB, free: 22.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.762e-05/0.3258, allocations: 4 kB / 418.2 MB, free: 22.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.3261, allocations: 79.67 kB / 418.3 MB, free: 22.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.3263, allocations: 55.67 kB / 418.3 MB, free: 22.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009402/0.3272, allocations: 0.6112 MB / 418.9 MB, free: 22.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.3274, allocations: 119.4 kB / 419 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.3276, allocations: 37.28 kB / 419.1 MB, free: 21.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.324e-05/0.3276, allocations: 47.78 kB / 419.1 MB, free: 21.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.3277, allocations: 67.75 kB / 419.2 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.3278, allocations: 8 kB / 419.2 MB, free: 21.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.328, allocations: 143.8 kB / 419.3 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.328, allocations: 19.91 kB / 419.4 MB, free: 21.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.3281, allocations: 49.64 kB / 419.4 MB, free: 21.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.3283, allocations: 185.5 kB / 419.6 MB, free: 21.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.3283, allocations: 0 / 419.6 MB, free: 21.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3284, allocations: 0 / 419.6 MB, free: 21.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3284, allocations: 0 / 419.6 MB, free: 21.35 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001276/0.3296, allocations: 0.5693 MB / 420.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3297, allocations: 8.031 kB / 420.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.3298, allocations: 23.77 kB / 420.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.3299, allocations: 207.7 kB / 420.4 MB, free: 20.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.33, allocations: 12.23 kB / 420.4 MB, free: 20.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.33, allocations: 12 kB / 420.4 MB, free: 20.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.3303, allocations: 167.4 kB / 420.6 MB, free: 20.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3303, allocations: 3.984 kB / 420.6 MB, free: 20.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.3303, allocations: 7.938 kB / 420.6 MB, free: 20.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3303, allocations: 0 / 420.6 MB, free: 20.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.3305, allocations: 160.5 kB / 420.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007683/0.3313, allocations: 0.5676 MB / 421.3 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.3315, allocations: 154.5 kB / 421.5 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.861e-05/0.3316, allocations: 72.84 kB / 421.5 MB, free: 19.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.3317, allocations: 0 / 421.5 MB, free: 19.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.3317, allocations: 38.56 kB / 421.6 MB, free: 19.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 8.92e-07/0.3317, allocations: 0 / 421.6 MB, free: 19.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008186/0.3326, allocations: 391 kB / 422 MB, free: 18.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.3326, allocations: 55.41 kB / 422 MB, free: 18.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3327, allocations: 169.8 kB / 422.2 MB, free: 18.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.3327, allocations: 29.7 kB / 422.2 MB, free: 18.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.3328, allocations: 120.1 kB / 422.3 MB, free: 18.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.3329, allocations: 47.3 kB / 422.4 MB, free: 18.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.3329, allocations: 0 / 422.4 MB, free: 18.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.18e-05/0.333, allocations: 322.8 kB / 422.7 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.3331, allocations: 87.97 kB / 422.8 MB, free: 17.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.3332, allocations: 96.98 kB / 422.9 MB, free: 17.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.3333, allocations: 107.5 kB / 423 MB, free: 17.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3333, allocations: 0 / 423 MB, free: 17.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004381/0.3338, allocations: 298.2 kB / 423.3 MB, free: 17.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3338, allocations: 4 kB / 423.3 MB, free: 17.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3338, allocations: 0 / 423.3 MB, free: 17.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/0.3341, allocations: 52.83 kB / 423.3 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.3342, allocations: 39.97 kB / 423.4 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.3353, allocations: 1.432 MB / 424.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.3354, allocations: 19.86 kB / 424.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.3354, allocations: 8 kB / 424.8 MB, free: 15.75 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 (22): * Single equations (assignments): 21 * 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 9.076e-05/0.3355, allocations: 126.3 kB / 424.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.3356, allocations: 15.81 kB / 425 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004236/0.336, allocations: 235.3 kB / 425.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.336, allocations: 4 kB / 425.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.336, allocations: 3.938 kB / 425.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.336, allocations: 0 / 425.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.3362, allocations: 269.4 kB / 425.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3362, allocations: 0 / 425.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.3363, allocations: 19.98 kB / 425.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001689/0.3365, allocations: 52.83 kB / 425.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.3365, allocations: 7.953 kB / 425.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008943/0.3374, allocations: 1.429 MB / 427 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3374, allocations: 3.938 kB / 427 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.3378, allocations: 304.1 kB / 427.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.3378, allocations: 93.11 kB / 427.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3379, allocations: 11.98 kB / 427.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.338, allocations: 4 kB / 427.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.338, allocations: 4 kB / 427.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.338, allocations: 7.984 kB / 427.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.762e-05/0.3381, allocations: 129.5 kB / 427.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3381, allocations: 0 / 427.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.3384, allocations: 51.94 kB / 427.6 MB, free: 12.76 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 (12): * Single equations (assignments): 11 * 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.0001698/0.3386, allocations: 119.2 kB / 427.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005373/0.3392, allocations: 322.5 kB / 428 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3392, allocations: 4 kB / 428 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.3395, allocations: 210 kB / 428.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.3397, allocations: 4 kB / 428.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005371/0.3403, allocations: 384.9 kB / 428.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.3404, allocations: 0.7124 MB / 429.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.3405, allocations: 19.42 kB / 429.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3405, allocations: 0 / 429.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of Templates: time 0.003987/0.3445, allocations: 2.757 MB / 432.1 MB, free: 8.168 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.OneSouceOneLineOneSourceCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSourceCalcHelperMain.o] Error 1