Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009669/0.0009669, allocations: 173.1 kB / 16.76 MB, free: 5.023 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.356/1.356, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0007134/0.0007134, allocations: 93.08 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.171/0.171, allocations: 38.08 MB / 357.6 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.000358, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2623, allocations: 56.32 MB / 480.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.3812, allocations: 92.57 MB / 0.5594 GB, free: 9.789 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.3815, allocations: 83.95 kB / 0.5595 GB, free: 9.707 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04191/0.4235, allocations: 12.02 MB / 0.5712 GB, free: 13.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4235, allocations: 0 / 0.5712 GB, free: 13.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.4235, allocations: 0 / 0.5712 GB, free: 13.67 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009261/0.4245, allocations: 0.5395 MB / 0.5717 GB, free: 13.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.4245, allocations: 8.031 kB / 0.5718 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.4245, allocations: 8.844 kB / 0.5718 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.4247, allocations: 196.1 kB / 0.572 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.4248, allocations: 4.375 kB / 0.572 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.4248, allocations: 384 / 0.572 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.4249, allocations: 70.22 kB / 0.572 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.4249, allocations: 4.125 kB / 0.572 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.4249, allocations: 3.938 kB / 0.572 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.425, allocations: 0 / 0.572 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.777e-05/0.425, allocations: 27.98 kB / 0.5721 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.4252, allocations: 177.5 kB / 0.5722 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.878e-05/0.4253, allocations: 58.56 kB / 0.5723 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.6e-05/0.4253, allocations: 44.88 kB / 0.5723 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.4253, allocations: 0 / 0.5723 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.4254, allocations: 34.56 kB / 0.5724 GB, free: 12.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 8.52e-07/0.4254, allocations: 0 / 0.5724 GB, free: 12.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002976/0.4257, allocations: 191.1 kB / 0.5725 GB, free: 12.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.4257, allocations: 89.09 kB / 0.5726 GB, free: 12.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.4258, allocations: 131.6 kB / 0.5728 GB, free: 11.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.4259, allocations: 33.7 kB / 0.5728 GB, free: 11.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.4259, allocations: 84.14 kB / 0.5729 GB, free: 11.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.426, allocations: 47.52 kB / 0.5729 GB, free: 11.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.426, allocations: 0 / 0.5729 GB, free: 11.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.4261, allocations: 326.8 kB / 0.5732 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.617e-05/0.4261, allocations: 31.98 kB / 0.5733 GB, free: 11.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.397e-05/0.4262, allocations: 31.98 kB / 0.5733 GB, free: 11.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.4263, allocations: 152.2 kB / 0.5734 GB, free: 11.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4263, allocations: 8.031 kB / 0.5734 GB, free: 11.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001705/0.4265, allocations: 151.6 kB / 0.5736 GB, free: 11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/0.4266, allocations: 57.61 kB / 0.5736 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.4266, allocations: 0 / 0.5736 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4266, allocations: 0 / 0.5736 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.4266, allocations: 0 / 0.5736 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.4266, allocations: 0 / 0.5736 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.812e-05/0.4267, allocations: 8 kB / 0.5736 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.4267, allocations: 4 kB / 0.5736 GB, free: 10.93 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.0001225/0.4268, allocations: 171.5 kB / 0.5738 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.4268, allocations: 23.77 kB / 0.5738 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.616e-05/0.4269, allocations: 8.703 kB / 0.5738 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4269, allocations: 0 / 0.5738 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.4269, allocations: 0 / 0.5738 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4269, allocations: 0 / 0.5738 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.427, allocations: 185.5 kB / 0.574 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.427, allocations: 0 / 0.574 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.427, allocations: 0 / 0.574 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.427, allocations: 3.938 kB / 0.574 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.427, allocations: 7.984 kB / 0.574 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4271, allocations: 4 kB / 0.574 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4271, allocations: 0 / 0.574 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.4274, allocations: 282.6 kB / 0.5743 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.4274, allocations: 85.02 kB / 0.5744 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.4275, allocations: 3.938 kB / 0.5744 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.776e-05/0.4275, allocations: 4 kB / 0.5744 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.4275, allocations: 4 kB / 0.5744 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.4275, allocations: 4 kB / 0.5744 GB, free: 10.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.808e-05/0.4276, allocations: 110.1 kB / 0.5745 GB, free: 9.941 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4276, allocations: 0 / 0.5745 GB, free: 9.941 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001096/0.4287, allocations: 367.5 kB / 0.5749 GB, free: 9.582 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.0008813/0.4296, allocations: 402.1 kB / 0.5752 GB, free: 9.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003375/0.43, allocations: 299.2 kB / 0.5755 GB, free: 8.875 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.43, allocations: 4.062 kB / 0.5755 GB, free: 8.871 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.4302, allocations: 231.3 kB / 0.5757 GB, free: 8.633 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.4303, allocations: 4 kB / 0.5758 GB, free: 8.629 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004917/0.4308, allocations: 365.1 kB / 0.5761 GB, free: 8.238 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.4311, allocations: 0.7043 MB / 0.5768 GB, free: 7.508 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.107e-05/0.4312, allocations: 7.438 kB / 0.5768 GB, free: 7.504 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4312, allocations: 0 / 0.5768 GB, free: 7.504 MB / 410.7 MB Notification: Performance of Templates: time 0.009366/0.4405, allocations: 5.835 MB / 0.5825 GB, free: 1.66 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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_matrixTrDat1CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.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_matrixTrDat1CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.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_matrixTrDat1CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.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_matrixTrDat1CalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Initialize.cpp:196:87: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_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_matrixTrDat1Functions.cpp:450:101: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_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__matrixTrDat1_z__matrixRetType & output) ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Initialize.cpp:209:87: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_z__matrix(1, tmp6, tmp9, _x_q_, _xsig_s_, _r_s_, 0.0, 0.0, 0.0, false, tmp10); ^~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.cpp:450:101: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_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__matrixTrDat1_z__matrixRetType & output) ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.cpp:33: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.cpp:208:87: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_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_matrixTrDat1Functions.cpp:450:101: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_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__matrixTrDat1_z__matrixRetType & output) ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.cpp:33: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.cpp:221:87: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_z__matrix(1, tmp359, tmp362, _x_q_, _xsig_s_, _r_s_, 0.0, 0.0, 0.0, false, tmp363); ^~~~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.cpp:450:101: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_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__matrixTrDat1_z__matrixRetType & output) ^ 7 errors generated. make: *** [: OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.o] Error 1