Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001393, allocations: 168.5 kB / 16.76 MB, free: 4.934 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.58/1.58, 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.0009144/0.0009143, allocations: 89.77 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.1692/0.1692, allocations: 38.07 MB / 357.6 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003674, allocations: 15.98 kB / 423.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2895, allocations: 56.32 MB / 480.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.4159, allocations: 92.65 MB / 0.5595 GB, free: 9.695 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.4162, allocations: 87.95 kB / 0.5596 GB, free: 9.609 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04023/0.4565, allocations: 11.99 MB / 0.5713 GB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4565, allocations: 0 / 0.5713 GB, free: 13.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.4565, allocations: 0 / 0.5713 GB, free: 13.61 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008172/0.4573, allocations: 0.524 MB / 0.5718 GB, free: 13.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4574, allocations: 12.03 kB / 0.5718 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.4574, allocations: 8.844 kB / 0.5718 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.4576, allocations: 192.1 kB / 0.572 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.4576, allocations: 384 / 0.572 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.4576, allocations: 4.375 kB / 0.572 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.4577, allocations: 50.25 kB / 0.572 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4578, allocations: 4.188 kB / 0.5721 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.4578, allocations: 3.938 kB / 0.5721 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4578, allocations: 0 / 0.5721 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.315e-05/0.4578, allocations: 27.92 kB / 0.5721 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.458, allocations: 169.6 kB / 0.5722 GB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.022e-05/0.4581, allocations: 46.5 kB / 0.5723 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.4581, allocations: 36.88 kB / 0.5723 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.4581, allocations: 0 / 0.5723 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.4582, allocations: 34.56 kB / 0.5724 GB, free: 12.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 7.01e-07/0.4582, allocations: 0 / 0.5724 GB, free: 12.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002758/0.4584, allocations: 147.2 kB / 0.5725 GB, free: 12.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.4585, allocations: 89.14 kB / 0.5726 GB, free: 12.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.4586, allocations: 121.8 kB / 0.5727 GB, free: 11.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.4586, allocations: 29.64 kB / 0.5727 GB, free: 11.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.4587, allocations: 92.12 kB / 0.5728 GB, free: 11.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.4587, allocations: 27.59 kB / 0.5728 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.4587, allocations: 0 / 0.5728 GB, free: 11.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4588, allocations: 318.8 kB / 0.5731 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.599e-05/0.4589, allocations: 24.14 kB / 0.5732 GB, free: 11.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.88e-05/0.4589, allocations: 19.98 kB / 0.5732 GB, free: 11.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.459, allocations: 128.2 kB / 0.5733 GB, free: 11.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.459, allocations: 0 / 0.5733 GB, free: 11.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001468/0.4592, allocations: 127.6 kB / 0.5734 GB, free: 11.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.4592, allocations: 41.69 kB / 0.5735 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.4592, allocations: 3.938 kB / 0.5735 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.4593, allocations: 0 / 0.5735 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-06/0.4593, allocations: 7.938 kB / 0.5735 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4593, allocations: 3.984 kB / 0.5735 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/0.4593, allocations: 4 kB / 0.5735 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.4593, allocations: 4 kB / 0.5735 GB, free: 11.07 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.0001086/0.4594, allocations: 163.5 kB / 0.5736 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.4595, allocations: 7.906 kB / 0.5737 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.555e-05/0.4595, allocations: 12.31 kB / 0.5737 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.4595, allocations: 0 / 0.5737 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4595, allocations: 4 kB / 0.5737 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4595, allocations: 3.984 kB / 0.5737 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.4596, allocations: 173.5 kB / 0.5738 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.4596, allocations: 0 / 0.5738 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-06/0.4596, allocations: 0 / 0.5738 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.4596, allocations: 7.938 kB / 0.5738 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.4597, allocations: 11.94 kB / 0.5739 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4597, allocations: 0 / 0.5739 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4597, allocations: 0 / 0.5739 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.4599, allocations: 210.8 kB / 0.5741 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.46, allocations: 85.02 kB / 0.5741 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.46, allocations: 7.875 kB / 0.5742 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.366e-05/0.46, allocations: 4 kB / 0.5742 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.4601, allocations: 8.031 kB / 0.5742 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.4601, allocations: 4 kB / 0.5742 GB, free: 10.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.259e-05/0.4601, allocations: 102.8 kB / 0.5743 GB, free: 10.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4601, allocations: 0 / 0.5743 GB, free: 10.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009635/0.4611, allocations: 351.6 kB / 0.5746 GB, free: 9.836 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.0008523/0.462, allocations: 406.7 kB / 0.575 GB, free: 9.426 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.4622, allocations: 203.3 kB / 0.5752 GB, free: 9.215 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4623, allocations: 0 / 0.5752 GB, free: 9.215 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.4624, allocations: 147.4 kB / 0.5753 GB, free: 9.059 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.4626, allocations: 11.92 kB / 0.5753 GB, free: 9.047 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.463, allocations: 296.9 kB / 0.5756 GB, free: 8.723 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.4633, allocations: 0.6965 MB / 0.5763 GB, free: 8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-06/0.4633, allocations: 7.438 kB / 0.5763 GB, free: 7.996 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4633, allocations: 0 / 0.5763 GB, free: 7.996 MB / 410.7 MB Notification: Performance of Templates: time 0.008752/0.4721, allocations: 5.63 MB / 0.5818 GB, free: 2.363 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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_matrixTrDat0CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0CalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0Functions.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_matrixTrDat0CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0Functions.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_matrixTrDat0CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0Functions.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_matrixTrDat0CalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0Initialize.cpp:180:87: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat0_z__matrix(1, tmp1, tmp4, _x_d_, _xsig_s_, _r_s_, _if0_, (3.141592653589793 + _alpha_if0_), 0.0, true, tmp5); ^~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0Functions.cpp:450:101: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat0_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__matrixTrDat0_z__matrixRetType & output) ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0CalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0Initialize.cpp:196:87: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat0_z__matrix(0, tmp6, tmp9, _x_q_, _xsig_s_, _r_s_, 0.0, 0.0, 0.0, false, tmp10); ^~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0Functions.cpp:450:101: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat0_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__matrixTrDat0_z__matrixRetType & output) ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0CalcHelperMain.cpp:33: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.cpp:192:87: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat0_z__matrix(1, tmp354, tmp357, _x_d_, _xsig_s_, _r_s_, _if0_, (3.141592653589793 + _alpha_if0_), 0.0, true, tmp358); ^~~~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0Functions.cpp:450:101: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat0_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__matrixTrDat0_z__matrixRetType & output) ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0CalcHelperMain.cpp:33: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.cpp:208:87: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat0_z__matrix(0, tmp359, tmp362, _x_q_, _xsig_s_, _r_s_, 0.0, 0.0, 0.0, false, tmp363); ^~~~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0Functions.cpp:450:101: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat0_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__matrixTrDat0_z__matrixRetType & output) ^ 7 errors generated. make: *** [: OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0CalcHelperMain.o] Error 1