Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008664/0.0008661, allocations: 93.27 kB / 16.95 MB, free: 5.578 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.0009141/0.0009141, allocations: 190.7 kB / 17.85 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1729/0.1729, allocations: 38.04 MB / 310.3 MB, free: 6.094 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005224/0.0005224, allocations: 16 kB / 377.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.301, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.006427/0.3074, allocations: 6.885 MB / 440.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004583/0.3121, allocations: 3.949 MB / 444.3 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003896/0.3125, allocations: 15.94 kB / 444.3 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.3129, allocations: 139 kB / 444.5 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.3149, allocations: 0.7976 MB / 445.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006989/0.3156, allocations: 215.4 kB / 445.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001563/0.3172, allocations: 1.882 MB / 447.4 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004683/0.3177, allocations: 320 kB / 447.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005803/0.3183, allocations: 469.7 kB / 448.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006509/0.3189, allocations: 0.5644 MB / 448.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.319, allocations: 20 kB / 448.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.3201, allocations: 478.3 kB / 449.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.3203, allocations: 255.3 kB / 449.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.3205, allocations: 109.5 kB / 449.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006151/0.3211, allocations: 0.5768 MB / 450.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3211, allocations: 4 kB / 450.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3211, allocations: 4 kB / 450.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.3211, allocations: 0 / 450.1 MB, free: 2.113 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009555/0.3221, allocations: 0.7141 MB / 450.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.3221, allocations: 12.03 kB / 450.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.3235, allocations: 131.3 kB / 451 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.3239, allocations: 329.2 kB / 451.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.3239, allocations: 28.98 kB / 451.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/0.324, allocations: 39.98 kB / 451.4 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006771/0.3247, allocations: 0.5827 MB / 451.9 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3247, allocations: 3.938 kB / 451.9 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.3247, allocations: 15.98 kB / 452 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-05/0.3248, allocations: 44.58 kB / 452 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005726/0.3254, allocations: 382.1 kB / 452.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00255/0.3279, allocations: 2.596 MB / 455 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/0.3286, allocations: 447.6 kB / 455.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.3289, allocations: 210.9 kB / 455.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.3289, allocations: 4.531 kB / 455.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.329, allocations: 42.52 kB / 455.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.084e-06/0.329, allocations: 0 / 455.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.001574/0.3306, allocations: 0.7532 MB / 456.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/0.3306, allocations: 106.8 kB / 456.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.331, allocations: 312.5 kB / 456.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.331, allocations: 33.7 kB / 456.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.3312, allocations: 256.1 kB / 457.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.3313, allocations: 122.3 kB / 457.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.3313, allocations: 8 kB / 457.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3315, allocations: 346.8 kB / 457.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.3317, allocations: 124.8 kB / 457.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.332, allocations: 276 kB / 458 MB, free: 9.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.3322, allocations: 185.2 kB / 458.2 MB, free: 9.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3322, allocations: 3.938 kB / 458.2 MB, free: 9.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008069/0.3331, allocations: 0.5535 MB / 458.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3331, allocations: 4 kB / 458.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.3331, allocations: 8 kB / 458.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/0.3334, allocations: 125.3 kB / 458.8 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.3337, allocations: 75.84 kB / 458.9 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.3364, allocations: 2.344 MB / 461.3 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.3366, allocations: 43.66 kB / 461.3 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.3366, allocations: 20 kB / 461.3 MB, free: 6.27 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002732/0.3369, allocations: 201.6 kB / 461.5 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.769e-05/0.337, allocations: 39.58 kB / 461.6 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.3371, allocations: 47.95 kB / 461.6 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3371, allocations: 7.984 kB / 461.6 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.3372, allocations: 4 kB / 461.6 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3372, allocations: 3.984 kB / 461.6 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.3386, allocations: 0.9377 MB / 462.6 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3386, allocations: 4 kB / 462.6 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.3387, allocations: 31.98 kB / 462.6 MB, free: 4.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000272/0.339, allocations: 113 kB / 462.7 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.339, allocations: 8 kB / 462.7 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002527/0.3416, allocations: 2.336 MB / 465 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3416, allocations: 4.031 kB / 465.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007489/0.3423, allocations: 0.6268 MB / 465.7 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.556e-05/0.3424, allocations: 116.6 kB / 465.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.3425, allocations: 8 kB / 465.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.3426, allocations: 4 kB / 465.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.3427, allocations: 23.97 kB / 465.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.3427, allocations: 12 kB / 465.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002329/0.343, allocations: 223 kB / 466.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.343, allocations: 4 kB / 466.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006845/0.3437, allocations: 159.8 kB / 466.2 MB, free: 1.105 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001292/0.3438, allocations: 99.19 kB / 466.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009013/0.3447, allocations: 0.519 MB / 466.8 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.3447, allocations: 0 / 466.8 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.3452, allocations: 347.3 kB / 467.2 MB, free: 116 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.3458, allocations: 58.09 kB / 467.2 MB, free: 60 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.3472, allocations: 1.012 MB / 468.2 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/0.3478, allocations: 0.8824 MB / 469.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.3478, allocations: 23.44 kB / 469.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3479, allocations: 0 / 469.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of Templates: time 0.008838/0.3567, allocations: 6.076 MB / 475.2 MB, free: 7.969 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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 OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dCalcHelperMain.o] Error 1