Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001447/0.001447, allocations: 173.2 kB / 16.76 MB, free: 5.035 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.327/1.327, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0009552/0.0009553, allocations: 82.42 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2508/0.2508, allocations: 38.09 MB / 357.6 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003164, allocations: 12 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2509, allocations: 56.32 MB / 480.3 MB, free: 9.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.3688, allocations: 92.58 MB / 0.5594 GB, free: 9.801 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.3691, allocations: 79.95 kB / 0.5595 GB, free: 9.723 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04139/0.4105, allocations: 12.35 MB / 0.5715 GB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4106, allocations: 0 / 0.5715 GB, free: 13.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.4106, allocations: 0 / 0.5715 GB, free: 13.36 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009814/0.4116, allocations: 0.6327 MB / 0.5722 GB, free: 12.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.4116, allocations: 8.031 kB / 0.5722 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.4117, allocations: 16.75 kB / 0.5722 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.4119, allocations: 215.9 kB / 0.5724 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.4119, allocations: 4.312 kB / 0.5724 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.4119, allocations: 4.312 kB / 0.5724 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.4122, allocations: 127.2 kB / 0.5725 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.4122, allocations: 4.188 kB / 0.5725 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4122, allocations: 3.938 kB / 0.5725 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4122, allocations: 4 kB / 0.5725 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.4123, allocations: 96.28 kB / 0.5726 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.4125, allocations: 202.1 kB / 0.5728 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.4127, allocations: 154.9 kB / 0.573 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.4128, allocations: 145.1 kB / 0.5731 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-06/0.4128, allocations: 0 / 0.5731 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.4129, allocations: 34.56 kB / 0.5731 GB, free: 11.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.064e-06/0.4129, allocations: 7.984 kB / 0.5731 GB, free: 11.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005636/0.4135, allocations: 484.8 kB / 0.5736 GB, free: 11.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.4135, allocations: 109.1 kB / 0.5737 GB, free: 10.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.4137, allocations: 167.9 kB / 0.5739 GB, free: 10.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.4137, allocations: 25.7 kB / 0.5739 GB, free: 10.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.4138, allocations: 108.8 kB / 0.574 GB, free: 10.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.32e-05/0.4139, allocations: 130 kB / 0.5741 GB, free: 10.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.4139, allocations: 0 / 0.5741 GB, free: 10.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.414, allocations: 342.8 kB / 0.5744 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.53e-05/0.4141, allocations: 91.91 kB / 0.5745 GB, free: 10.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.784e-05/0.4142, allocations: 99.89 kB / 0.5746 GB, free: 9.961 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.4145, allocations: 365.4 kB / 0.575 GB, free: 9.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4146, allocations: 0 / 0.575 GB, free: 9.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003441/0.4149, allocations: 327 kB / 0.5753 GB, free: 9.258 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.757e-05/0.415, allocations: 89.62 kB / 0.5754 GB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.415, allocations: 3.938 kB / 0.5754 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.415, allocations: 0 / 0.5754 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.415, allocations: 0 / 0.5754 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.415, allocations: 4.062 kB / 0.5754 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.092e-05/0.4151, allocations: 23.72 kB / 0.5754 GB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.4151, allocations: 12 kB / 0.5754 GB, free: 9.121 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.0001954/0.4153, allocations: 235.3 kB / 0.5756 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.4154, allocations: 27.72 kB / 0.5757 GB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.4154, allocations: 18.58 kB / 0.5757 GB, free: 8.832 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4154, allocations: 3.938 kB / 0.5757 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4154, allocations: 0 / 0.5757 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.4154, allocations: 0 / 0.5757 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.4156, allocations: 241.3 kB / 0.5759 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4156, allocations: 0 / 0.5759 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.4156, allocations: 0 / 0.5759 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4156, allocations: 4 kB / 0.5759 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.4157, allocations: 7.938 kB / 0.5759 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4157, allocations: 0 / 0.5759 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4157, allocations: 4 kB / 0.5759 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009143/0.4166, allocations: 0.9004 MB / 0.5768 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.4167, allocations: 96.8 kB / 0.5769 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.4167, allocations: 15.94 kB / 0.5769 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.751e-05/0.4167, allocations: 8 kB / 0.5769 GB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.4168, allocations: 11.98 kB / 0.5769 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.4168, allocations: 12 kB / 0.577 GB, free: 7.441 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.144e-05/0.4169, allocations: 127.2 kB / 0.5771 GB, free: 7.316 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-07/0.4169, allocations: 0 / 0.5771 GB, free: 7.316 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00108/0.418, allocations: 391.6 kB / 0.5774 GB, free: 6.934 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.001028/0.419, allocations: 418 kB / 0.5778 GB, free: 6.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.4204, allocations: 1.589 MB / 0.5794 GB, free: 4.918 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4205, allocations: 0 / 0.5794 GB, free: 4.918 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.4215, allocations: 1.366 MB / 0.5807 GB, free: 3.539 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.4217, allocations: 18.67 kB / 0.5808 GB, free: 3.523 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009365/0.4227, allocations: 0.7677 MB / 0.5815 GB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.4229, allocations: 0.752 MB / 0.5822 GB, free: 1.941 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.272e-05/0.423, allocations: 7.438 kB / 0.5822 GB, free: 1.934 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.423, allocations: 0 / 0.5822 GB, free: 1.934 MB / 410.7 MB Notification: Performance of Templates: time 0.01037/0.4334, allocations: 6.958 MB / 0.589 GB, free: 10.96 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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_matrixTrDat3CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3Functions.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_matrixTrDat3CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3Functions.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_matrixTrDat3CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3Functions.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_matrixTrDat3CalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3Initialize.cpp:308:87: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat3_z__matrix(3, tmp1, tmp4, _x_d_, _xsig_s_, _r_s_, _if0_, (3.141592653589793 + _alpha_if0_), _tol_, true, tmp5); ^~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3Functions.cpp:450:101: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat3_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__matrixTrDat3_z__matrixRetType & output) ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3Initialize.cpp:321:87: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat3_z__matrix(3, tmp6, tmp9, _x_q_, _xsig_s_, _r_s_, 0.0, 0.0, 0.0, false, tmp10); ^~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3Functions.cpp:450:101: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat3_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__matrixTrDat3_z__matrixRetType & output) ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.cpp:33: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.cpp:320:87: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat3_z__matrix(3, tmp354, tmp357, _x_d_, _xsig_s_, _r_s_, _if0_, (3.141592653589793 + _alpha_if0_), _tol_, true, tmp358); ^~~~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3Functions.cpp:450:101: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat3_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__matrixTrDat3_z__matrixRetType & output) ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.cpp:33: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.cpp:333:87: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat3_z__matrix(3, tmp359, tmp362, _x_q_, _xsig_s_, _r_s_, 0.0, 0.0, 0.0, false, tmp363); ^~~~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3Functions.cpp:450:101: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat3_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__matrixTrDat3_z__matrixRetType & output) ^ 7 errors generated. make: *** [: OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.o] Error 1