Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009454/0.0009454, allocations: 176.2 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007286/0.0007286, allocations: 97.39 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1713/0.1713, allocations: 38.08 MB / 357.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.281, allocations: 56.32 MB / 480.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1714/0.4524, allocations: 92.57 MB / 0.5594 GB, free: 9.793 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.4528, allocations: 83.95 kB / 0.5595 GB, free: 9.711 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04667/0.4994, allocations: 12.17 MB / 0.5714 GB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4995, allocations: 4 kB / 0.5714 GB, free: 13.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.4995, allocations: 4 kB / 0.5714 GB, free: 13.51 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007936/0.5003, allocations: 0.5822 MB / 0.572 GB, free: 12.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.5003, allocations: 8.031 kB / 0.572 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.5004, allocations: 16.73 kB / 0.572 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.5006, allocations: 192.1 kB / 0.5722 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.5006, allocations: 8.312 kB / 0.5722 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.5006, allocations: 384 / 0.5722 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.5008, allocations: 98.48 kB / 0.5723 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.5008, allocations: 4.188 kB / 0.5723 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.5008, allocations: 3.938 kB / 0.5723 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.5008, allocations: 0 / 0.5723 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.243e-05/0.5009, allocations: 55.97 kB / 0.5723 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.501, allocations: 193.3 kB / 0.5725 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.5012, allocations: 106.4 kB / 0.5726 GB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.199e-05/0.5012, allocations: 80.88 kB / 0.5727 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-06/0.5013, allocations: 0 / 0.5727 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.5013, allocations: 42.55 kB / 0.5727 GB, free: 11.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 9.21e-07/0.5013, allocations: 0 / 0.5727 GB, free: 11.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004004/0.5017, allocations: 303.5 kB / 0.573 GB, free: 11.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.5018, allocations: 97.09 kB / 0.5731 GB, free: 11.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.5019, allocations: 154.7 kB / 0.5733 GB, free: 11.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.5019, allocations: 25.7 kB / 0.5733 GB, free: 11.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.502, allocations: 100.6 kB / 0.5734 GB, free: 11.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.717e-05/0.502, allocations: 86.73 kB / 0.5735 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.502, allocations: 7.969 kB / 0.5735 GB, free: 11.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5022, allocations: 322.8 kB / 0.5738 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/0.5022, allocations: 59.97 kB / 0.5738 GB, free: 10.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.833e-05/0.5023, allocations: 56.78 kB / 0.5739 GB, free: 10.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.5025, allocations: 248.2 kB / 0.5741 GB, free: 10.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5025, allocations: 4 kB / 0.5741 GB, free: 10.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002439/0.5028, allocations: 223.1 kB / 0.5743 GB, free: 10.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.368e-05/0.5028, allocations: 61.66 kB / 0.5744 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.5029, allocations: 3.938 kB / 0.5744 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.5029, allocations: 8 kB / 0.5744 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.5029, allocations: 4 kB / 0.5744 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.5029, allocations: 0 / 0.5744 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.5029, allocations: 15.78 kB / 0.5744 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.503, allocations: 8 kB / 0.5744 GB, free: 10.12 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.5031, allocations: 199.4 kB / 0.5746 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.5032, allocations: 19.81 kB / 0.5746 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.601e-05/0.5032, allocations: 13.12 kB / 0.5747 GB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5032, allocations: 4 kB / 0.5747 GB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.5032, allocations: 0 / 0.5747 GB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.5032, allocations: 0 / 0.5747 GB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.5034, allocations: 205.4 kB / 0.5749 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5034, allocations: 0 / 0.5749 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-07/0.5034, allocations: 4 kB / 0.5749 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.5034, allocations: 0 / 0.5749 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.5034, allocations: 7.938 kB / 0.5749 GB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5034, allocations: 3.938 kB / 0.5749 GB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5034, allocations: 0 / 0.5749 GB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005306/0.5039, allocations: 0.5139 MB / 0.5754 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.504, allocations: 92.92 kB / 0.5755 GB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.504, allocations: 11.94 kB / 0.5755 GB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.694e-05/0.5041, allocations: 4 kB / 0.5755 GB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.5041, allocations: 3.938 kB / 0.5755 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.5041, allocations: 8 kB / 0.5755 GB, free: 8.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.694e-05/0.5042, allocations: 115.1 kB / 0.5756 GB, free: 8.816 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5042, allocations: 0 / 0.5756 GB, free: 8.816 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000853/0.5051, allocations: 375.6 kB / 0.576 GB, free: 8.449 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/0.5061, allocations: 422.1 kB / 0.5764 GB, free: 8.031 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006255/0.5067, allocations: 0.6984 MB / 0.577 GB, free: 7.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5068, allocations: 0 / 0.577 GB, free: 7.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004261/0.5072, allocations: 0.5696 MB / 0.5776 GB, free: 6.738 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.5074, allocations: 22.78 kB / 0.5776 GB, free: 6.719 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000667/0.5081, allocations: 0.5254 MB / 0.5781 GB, free: 6.156 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.5084, allocations: 0.728 MB / 0.5788 GB, free: 5.402 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.157e-05/0.5084, allocations: 7.438 kB / 0.5789 GB, free: 5.395 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5084, allocations: 3.938 kB / 0.5789 GB, free: 5.391 MB / 410.7 MB Notification: Performance of Templates: time 0.009518/0.5179, allocations: 6.334 MB / 0.585 GB, free: 15.05 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile clang++ -std=c++14 -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_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:1013:33: error: no matching member function for call to 'setDims' _omcQ_24tmpVar23_.setDims(tmp117); ~~~~~~~~~~~~~~~~~~^~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:2505:16: note: candidate function not viable: no known conversion from 'int' to 'const std::vector' (aka 'const vector') for 1st argument virtual void setDims(const std::vector& dims) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:2498:8: note: candidate function not viable: requires 2 arguments, but 1 was provided void setDims(size_t size1, size_t size2) ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:1025:19: error: no matching function for call to object of type 'DynArrayDim2' _omcQ_24tmpVar23_(tmp113++) = _omcQ_24tmpVar22_; ^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:2480:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:2474:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:2486:21: note: candidate function not viable: requires 2 arguments, but 1 was provided inline virtual T& operator()(size_t i, size_t j) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:2492:27: note: candidate function not viable: requires 2 arguments, but 1 was provided inline virtual const T& operator()(size_t i, size_t j) const ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:1035:33: error: no matching function for call to 'max' _omcQ_24tmpVar25_ = max(_omcQ_24tmpVar24_,_omcQ_24tmpVar25_); ^~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/algorithmfwd.h:370:5: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('DynArrayDim2' vs. 'double') max(const _Tp&, const _Tp&); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algo.h:3462:5: note: candidate template ignored: could not match 'initializer_list' against 'DynArrayDim2' max(initializer_list<_Tp> __l, _Compare __comp) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algo.h:3456:5: note: candidate function not viable: requires single argument '__l', but 2 arguments were provided max(initializer_list<_Tp> __l) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/algorithmfwd.h:375:5: note: candidate function not viable: requires 3 arguments, but 2 were provided max(const _Tp&, const _Tp&, _Compare); ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Initialize.cpp:244:87: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrix(2, tmp1, tmp4, _x_d_, _xsig_s_, _r_s_, _if0_, (3.141592653589793 + _alpha_if0_), _tol_, true, tmp5); ^~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:450:101: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrix(int n_, double x_, double xsig_s_, double r_s_, double if0_, double alpha_if0_, double tol_, bool field_, const BaseArray& Tc_, const BaseArray& To_, PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrixRetType & output) ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Initialize.cpp:257:87: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrix(2, tmp6, tmp9, _x_q_, _xsig_s_, _r_s_, 0.0, 0.0, 0.0, false, tmp10); ^~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:450:101: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrix(int n_, double x_, double xsig_s_, double r_s_, double if0_, double alpha_if0_, double tol_, bool field_, const BaseArray& Tc_, const BaseArray& To_, PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrixRetType & output) ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp:33: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.cpp:256:87: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrix(2, tmp354, tmp357, _x_d_, _xsig_s_, _r_s_, _if0_, (3.141592653589793 + _alpha_if0_), _tol_, true, tmp358); ^~~~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:450:101: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrix(int n_, double x_, double xsig_s_, double r_s_, double if0_, double alpha_if0_, double tol_, bool field_, const BaseArray& Tc_, const BaseArray& To_, PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrixRetType & output) ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp:33: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.cpp:269:87: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrix(2, tmp359, tmp362, _x_q_, _xsig_s_, _r_s_, 0.0, 0.0, 0.0, false, tmp363); ^~~~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:450:101: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrix(int n_, double x_, double xsig_s_, double r_s_, double if0_, double alpha_if0_, double tol_, bool field_, const BaseArray& Tc_, const BaseArray& To_, PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrixRetType & output) ^ 7 errors generated. make: *** [: OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.o] Error 1