Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009537/0.0009536, allocations: 171.3 kB / 16.76 MB, free: 4.809 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.358/1.358, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0008554/0.0008553, allocations: 90.36 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1788/0.1788, allocations: 38.07 MB / 357.6 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 15.98 kB / 423.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2795, allocations: 56.32 MB / 480.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.4039, allocations: 92.87 MB / 0.5597 GB, free: 9.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4042, allocations: 83.95 kB / 0.5598 GB, free: 9.398 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04042/0.4446, allocations: 12.14 MB / 0.5716 GB, free: 13.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4446, allocations: 0 / 0.5716 GB, free: 13.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.4447, allocations: 4 kB / 0.5716 GB, free: 13.23 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009946/0.4457, allocations: 0.5588 MB / 0.5722 GB, free: 12.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4457, allocations: 16.03 kB / 0.5722 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.4458, allocations: 8.844 kB / 0.5722 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.446, allocations: 204 kB / 0.5724 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.446, allocations: 384 / 0.5724 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.446, allocations: 384 / 0.5724 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.4462, allocations: 70.22 kB / 0.5725 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.4462, allocations: 192 / 0.5725 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.4462, allocations: 7.938 kB / 0.5725 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4462, allocations: 0 / 0.5725 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.007e-05/0.4463, allocations: 39.92 kB / 0.5725 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.4465, allocations: 185.5 kB / 0.5727 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.178e-05/0.4466, allocations: 66.56 kB / 0.5728 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.466e-05/0.4467, allocations: 60.8 kB / 0.5728 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.4467, allocations: 0 / 0.5728 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.4467, allocations: 34.56 kB / 0.5728 GB, free: 11.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 7.82e-07/0.4467, allocations: 0 / 0.5728 GB, free: 11.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003268/0.447, allocations: 223.3 kB / 0.5731 GB, free: 11.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.4471, allocations: 89.09 kB / 0.5731 GB, free: 11.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.4472, allocations: 154.1 kB / 0.5733 GB, free: 11.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.4472, allocations: 25.7 kB / 0.5733 GB, free: 11.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.4473, allocations: 96.38 kB / 0.5734 GB, free: 11.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/0.4473, allocations: 47.27 kB / 0.5735 GB, free: 11.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.4474, allocations: 0 / 0.5735 GB, free: 11.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4475, allocations: 322.8 kB / 0.5738 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.802e-05/0.4475, allocations: 44 kB / 0.5738 GB, free: 10.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.542e-05/0.4476, allocations: 31.98 kB / 0.5738 GB, free: 10.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.4477, allocations: 168.2 kB / 0.574 GB, free: 10.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4478, allocations: 0 / 0.574 GB, free: 10.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002029/0.448, allocations: 174.6 kB / 0.5742 GB, free: 10.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.986e-05/0.448, allocations: 49.67 kB / 0.5742 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.448, allocations: 3.938 kB / 0.5742 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.4481, allocations: 0 / 0.5742 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/0.4481, allocations: 3.938 kB / 0.5742 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4481, allocations: 0 / 0.5742 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.4481, allocations: 15.91 kB / 0.5742 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.4482, allocations: 8 kB / 0.5742 GB, free: 10.3 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.0001162/0.4483, allocations: 171.4 kB / 0.5744 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.4483, allocations: 11.91 kB / 0.5744 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.094e-05/0.4483, allocations: 20.77 kB / 0.5744 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4483, allocations: 0 / 0.5744 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4483, allocations: 0 / 0.5744 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4484, allocations: 0 / 0.5744 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.4485, allocations: 185.5 kB / 0.5746 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4485, allocations: 0 / 0.5746 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.4485, allocations: 4 kB / 0.5746 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4485, allocations: 4 kB / 0.5746 GB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.4485, allocations: 7.938 kB / 0.5746 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4485, allocations: 0 / 0.5746 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4485, allocations: 7.938 kB / 0.5746 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.4489, allocations: 294.5 kB / 0.5749 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.4489, allocations: 88.86 kB / 0.575 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.449, allocations: 11.92 kB / 0.575 GB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.66e-05/0.449, allocations: 8.031 kB / 0.575 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.449, allocations: 0 / 0.575 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.449, allocations: 8 kB / 0.575 GB, free: 9.391 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.106e-05/0.4491, allocations: 111.2 kB / 0.5751 GB, free: 9.281 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4491, allocations: 0 / 0.5751 GB, free: 9.281 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001059/0.4502, allocations: 367.6 kB / 0.5755 GB, free: 8.922 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.001236/0.4514, allocations: 410 kB / 0.5759 GB, free: 8.512 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003628/0.4518, allocations: 327.3 kB / 0.5762 GB, free: 8.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4518, allocations: 0 / 0.5762 GB, free: 8.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.452, allocations: 259.3 kB / 0.5764 GB, free: 7.914 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.4523, allocations: 11.98 kB / 0.5764 GB, free: 7.902 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/0.4529, allocations: 411.3 kB / 0.5768 GB, free: 7.469 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.4531, allocations: 0.716 MB / 0.5775 GB, free: 6.727 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.363e-05/0.4531, allocations: 7.438 kB / 0.5775 GB, free: 6.723 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4531, allocations: 0 / 0.5775 GB, free: 6.723 MB / 410.7 MB Notification: Performance of Templates: time 0.009945/0.4631, allocations: 6.04 MB / 0.5834 GB, free: 0.6758 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.EqCircFromTransDatCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatCalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatFunctions.cpp:981:33: error: no matching member function for call to 'setDims' _omcQ_24tmpVar23_.setDims(tmp107); ~~~~~~~~~~~~~~~~~~^~~~~~~ /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.EqCircFromTransDatCalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatFunctions.cpp:993:19: error: no matching function for call to object of type 'DynArrayDim2' _omcQ_24tmpVar23_(tmp103++) = _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.EqCircFromTransDatCalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatFunctions.cpp:1003: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.EqCircFromTransDatCalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatInitialize.cpp:204:92: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuit(2, tmp1, tmp4, _x_d_, _xsig_s_, _r_s_, _if0_, (3.141592653589793 + _alpha_if0_), _tol_, true, tmp5); ^~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatFunctions.cpp:449:106: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuit(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_EqCircFromTransDat_equiCircuitRetType & output) ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatCalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatInitialize.cpp:218:92: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuit(2, tmp6, tmp9, _x_q_, _xsig_s_, _r_s_, 0.0, 0.0, 0.0, false, tmp10); ^~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatFunctions.cpp:449:106: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuit(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_EqCircFromTransDat_equiCircuitRetType & output) ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatCalcHelperMain.cpp:33: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.cpp:216:92: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuit(2, tmp344, tmp347, _x_d_, _xsig_s_, _r_s_, _if0_, (3.141592653589793 + _alpha_if0_), _tol_, true, tmp348); ^~~~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatFunctions.cpp:449:106: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuit(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_EqCircFromTransDat_equiCircuitRetType & output) ^ In file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatCalcHelperMain.cpp:33: ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.cpp:230:92: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuit(2, tmp349, tmp352, _x_q_, _xsig_s_, _r_s_, 0.0, 0.0, 0.0, false, tmp353); ^~~~~~ ./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatFunctions.cpp:449:106: note: passing argument to parameter 'x_' here void Functions::PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuit(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_EqCircFromTransDat_equiCircuitRetType & output) ^ 7 errors generated. make: *** [: OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatCalcHelperMain.o] Error 1