Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009489/0.0009489, allocations: 92.2 kB / 17.31 MB, free: 6.023 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.001203/0.001203, allocations: 175.8 kB / 18.21 MB, free: 5.414 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.791/1.791, allocations: 205.4 MB / 224.4 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.18/0.18, allocations: 38.06 MB / 310.7 MB, free: 5.906 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.0005414/0.0005415, allocations: 12 kB / 377.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3272, allocations: 56.33 MB / 434.1 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002015/0.3293, allocations: 1.801 MB / 435.9 MB, free: 16.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.3319, allocations: 2.165 MB / 438.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.332, allocations: 0 / 438.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.3321, allocations: 7.922 kB / 438.1 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.381e-05/0.3322, allocations: 27.84 kB / 438.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.3337, allocations: 0.6827 MB / 438.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.3338, allocations: 123.6 kB / 438.9 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.3338, allocations: 4.172 kB / 439 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.738e-05/0.3339, allocations: 35.84 kB / 439 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.128e-05/0.334, allocations: 39.83 kB / 439 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.334, allocations: 4 kB / 439 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.3353, allocations: 1.232 MB / 440.3 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.3354, allocations: 27.86 kB / 440.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.3354, allocations: 57.44 kB / 440.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007721/0.3362, allocations: 0.9727 MB / 441.3 MB, free: 11.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3362, allocations: 0 / 441.3 MB, free: 11.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3362, allocations: 0 / 441.3 MB, free: 11.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3362, allocations: 4 kB / 441.3 MB, free: 11.48 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005604/0.3368, allocations: 0.5085 MB / 441.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3368, allocations: 12.03 kB / 441.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.3369, allocations: 8.844 kB / 441.8 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.337, allocations: 187.6 kB / 442 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.337, allocations: 0 / 442 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.3371, allocations: 0 / 442 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.3372, allocations: 69.67 kB / 442.1 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3372, allocations: 3.938 kB / 442.1 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3372, allocations: 4 kB / 442.1 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3373, allocations: 0 / 442.1 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.714e-05/0.3373, allocations: 31.98 kB / 442.1 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.3374, allocations: 185.4 kB / 442.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.769e-05/0.3375, allocations: 62.55 kB / 442.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.403e-05/0.3376, allocations: 44.88 kB / 442.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.3376, allocations: 0 / 442.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.3376, allocations: 38.56 kB / 442.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.3376, allocations: 0 / 442.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002727/0.3379, allocations: 194.8 kB / 442.7 MB, free: 9.965 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.3379, allocations: 89.09 kB / 442.7 MB, free: 9.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.413e-05/0.338, allocations: 133.1 kB / 442.9 MB, free: 9.723 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.338, allocations: 25.7 kB / 442.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.854e-05/0.3381, allocations: 92.14 kB / 443 MB, free: 9.598 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.3381, allocations: 35.45 kB / 443 MB, free: 9.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.3382, allocations: 21.73 kB / 443 MB, free: 9.535 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.3382, allocations: 326.8 kB / 443.4 MB, free: 9.207 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.3383, allocations: 31.97 kB / 443.4 MB, free: 9.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.358e-05/0.3383, allocations: 36.14 kB / 443.4 MB, free: 9.141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.3384, allocations: 160.2 kB / 443.6 MB, free: 8.969 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3384, allocations: 3.984 kB / 443.6 MB, free: 8.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001444/0.3386, allocations: 155.2 kB / 443.7 MB, free: 8.801 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.3386, allocations: 45.69 kB / 443.8 MB, free: 8.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3386, allocations: 0 / 443.8 MB, free: 8.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3387, allocations: 4.062 kB / 443.8 MB, free: 8.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.963e-06/0.3387, allocations: 3.984 kB / 443.8 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3387, allocations: 3.984 kB / 443.8 MB, free: 8.738 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/0.3387, allocations: 7.938 kB / 443.8 MB, free: 8.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.3388, allocations: 7.938 kB / 443.8 MB, free: 8.723 MB / 318.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.427e-05/0.3389, allocations: 171.4 kB / 444 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.3389, allocations: 7.906 kB / 444 MB, free: 8.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.297e-05/0.3389, allocations: 8.719 kB / 444 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3389, allocations: 3.984 kB / 444 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3389, allocations: 7.984 kB / 444 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3389, allocations: 0 / 444 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.61e-05/0.339, allocations: 189.4 kB / 444.2 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.339, allocations: 0 / 444.2 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.339, allocations: 0 / 444.2 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.339, allocations: 3.938 kB / 444.2 MB, free: 8.273 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3391, allocations: 4 kB / 444.2 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.3391, allocations: 0 / 444.2 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3391, allocations: 0 / 444.2 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.3393, allocations: 290.6 kB / 444.5 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.3394, allocations: 88.95 kB / 444.6 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.3394, allocations: 7.984 kB / 444.6 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.556e-05/0.3394, allocations: 0 / 444.6 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.3395, allocations: 4 kB / 444.6 MB, free: 7.844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.3395, allocations: 4 kB / 444.6 MB, free: 7.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.492e-05/0.3395, allocations: 99.27 kB / 444.7 MB, free: 7.742 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3395, allocations: 0 / 444.7 MB, free: 7.742 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006705/0.3402, allocations: 327.9 kB / 445 MB, free: 7.422 MB / 318.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007993/0.341, allocations: 373.3 kB / 445.4 MB, free: 7.051 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.3413, allocations: 299.2 kB / 445.7 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3413, allocations: 0 / 445.7 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.3415, allocations: 223.3 kB / 445.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.3417, allocations: 4.125 kB / 445.9 MB, free: 6.512 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.3421, allocations: 380.5 kB / 446.3 MB, free: 6.109 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.3423, allocations: 0.7121 MB / 447 MB, free: 5.371 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.006e-05/0.3423, allocations: 7.438 kB / 447 MB, free: 5.363 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3423, allocations: 0 / 447 MB, free: 5.363 MB / 318.1 MB Notification: Performance of Templates: time 0.008574/0.3509, allocations: 5.961 MB / 452.9 MB, free: 15.39 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.o] Error 1