Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.00143, allocations: 185.2 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.19/2.19, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 82.72 kB / 261.8 MB, free: 1.672 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2602/0.2602, allocations: 38.01 MB / 347.7 MB, free: 5.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.679e-05/1.689e-05, allocations: 4 kB / 409.9 MB, free: 35.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1188, allocations: 56.32 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4815/0.6003, allocations: 91.77 MB / 0.5449 GB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.6007, allocations: 79.45 kB / 0.545 GB, free: 11.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06692/0.6676, allocations: 12.06 MB / 0.5567 GB, free: 6.094 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6677, allocations: 4 kB / 0.5567 GB, free: 6.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.6677, allocations: 3.844 kB / 0.5567 GB, free: 6.09 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001028/0.6687, allocations: 0.5574 MB / 0.5573 GB, free: 5.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.6688, allocations: 11.66 kB / 0.5573 GB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/0.6688, allocations: 11.59 kB / 0.5573 GB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.6691, allocations: 200.3 kB / 0.5575 GB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.6691, allocations: 0 / 0.5575 GB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.6691, allocations: 3.812 kB / 0.5575 GB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001318/0.6693, allocations: 57.31 kB / 0.5576 GB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.6694, allocations: 101 kB / 0.5576 GB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.6694, allocations: 0 / 0.5576 GB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.6695, allocations: 0 / 0.5576 GB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.6695, allocations: 0 / 0.5576 GB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.6696, allocations: 164.2 kB / 0.5578 GB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.6698, allocations: 96.83 kB / 0.5579 GB, free: 5.074 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.6699, allocations: 88.61 kB / 0.558 GB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.6699, allocations: 4.719 kB / 0.558 GB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.6699, allocations: 34.56 kB / 0.558 GB, free: 5.012 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/0.67, allocations: 0 / 0.558 GB, free: 5.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004465/0.6704, allocations: 172.6 kB / 0.5582 GB, free: 4.957 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.6705, allocations: 103.9 kB / 0.5583 GB, free: 4.855 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.6706, allocations: 134 kB / 0.5584 GB, free: 4.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.6706, allocations: 25.7 kB / 0.5584 GB, free: 4.719 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.6707, allocations: 161.5 kB / 0.5586 GB, free: 4.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.6708, allocations: 80.31 kB / 0.5587 GB, free: 4.508 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-06/0.6708, allocations: 4.031 kB / 0.5587 GB, free: 4.504 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.6709, allocations: 322 kB / 0.559 GB, free: 4.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-05/0.671, allocations: 59.12 kB / 0.559 GB, free: 4.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-05/0.6711, allocations: 59.14 kB / 0.5591 GB, free: 4.168 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.6713, allocations: 77.95 kB / 0.5592 GB, free: 4.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6713, allocations: 3.953 kB / 0.5592 GB, free: 4.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003598/0.6717, allocations: 166.4 kB / 0.5593 GB, free: 4.102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.912e-05/0.6718, allocations: 71.28 kB / 0.5594 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6718, allocations: 0 / 0.5594 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.6718, allocations: 0 / 0.5594 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-06/0.6718, allocations: 4.062 kB / 0.5594 GB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.6718, allocations: 0 / 0.5594 GB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-05/0.6719, allocations: 11.62 kB / 0.5594 GB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.672, allocations: 7.5 kB / 0.5594 GB, free: 4.047 MB / 362.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 () * 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.0001373/0.6721, allocations: 173.1 kB / 0.5596 GB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.6722, allocations: 15.55 kB / 0.5596 GB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.6722, allocations: 15.42 kB / 0.5596 GB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.6722, allocations: 0 / 0.5596 GB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6722, allocations: 0 / 0.5596 GB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6723, allocations: 4 kB / 0.5596 GB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.6724, allocations: 180.7 kB / 0.5598 GB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.6724, allocations: 0 / 0.5598 GB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-06/0.6724, allocations: 0 / 0.5598 GB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.6724, allocations: 3.953 kB / 0.5598 GB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.6725, allocations: 3.812 kB / 0.5598 GB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6725, allocations: 0 / 0.5598 GB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6725, allocations: 3.844 kB / 0.5598 GB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/0.6731, allocations: 362.2 kB / 0.5601 GB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.6732, allocations: 96.55 kB / 0.5602 GB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.6733, allocations: 7.797 kB / 0.5602 GB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.6733, allocations: 3.812 kB / 0.5602 GB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.6734, allocations: 3.984 kB / 0.5602 GB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.6734, allocations: 11.7 kB / 0.5603 GB, free: 3.445 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.859e-05/0.6735, allocations: 110.7 kB / 0.5604 GB, free: 3.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.132e-06/0.6735, allocations: 0 / 0.5604 GB, free: 3.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001379/0.6749, allocations: 384.1 kB / 0.5607 GB, free: 3.055 MB / 362.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 () * 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.001597/0.6765, allocations: 405.9 kB / 0.5611 GB, free: 2.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008558/0.6774, allocations: 0.6924 MB / 0.5618 GB, free: 2.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6775, allocations: 0 / 0.5618 GB, free: 2.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.678, allocations: 0.5654 MB / 0.5623 GB, free: 1.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.6783, allocations: 15.77 kB / 0.5624 GB, free: 1.898 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006984/0.679, allocations: 378.2 kB / 0.5627 GB, free: 1.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.6792, allocations: 0.7326 MB / 0.5634 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.6792, allocations: 11.44 kB / 0.5635 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6792, allocations: 0 / 0.5635 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of Templates: time 0.01792/0.6972, allocations: 6.933 MB / 0.5702 GB, free: 9.824 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=7 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"." -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:405:17: error: use of undeclared identifier \'daeExpBinary\'\n y_.assign(daeExpBinary:ERR DIV_SCALAR_ARR not supported);\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:497:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp63;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:820:22: error: expected \'(\' for function-style cast or type construction\n DynArrayDim4 tmp113;\n ~~~~~~^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:820:3: error: use of undeclared identifier \'DynArrayDim4\'\n DynArrayDim4 tmp113;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:820:24: error: use of undeclared identifier \'tmp113\'\n DynArrayDim4 tmp113;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:1034:28: error: expected \'(\' for function-style cast or type construction\n DynArrayDim4 $tmpVar25_;\n ~~~~~~^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:1034:9: error: use of undeclared identifier \'DynArrayDim4\'\n DynArrayDim4 $tmpVar25_;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:1034:30: error: use of undeclared identifier \'$tmpVar25_\'\n DynArrayDim4 $tmpVar25_;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:1065:9: error: use of undeclared identifier \'$tmpVar25_\'; did you mean \'$tmpVar24_\'?\n $tmpVar25_.setDims(tmp131);\n ^~~~~~~~~~\n $tmpVar24_\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:1036:30: note: \'$tmpVar24_\' declared here\n DynArrayDim2 $tmpVar24_;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:1091:26: error: no matching member function for call to \'setDims\'\n $tmpVar23_.setDims(tmp118);\n ~~~~~~~~~~~^~~~~~~\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/Array.h:1713:16: note: candidate function not viable: no known conversion from \'int\' to \'const std::vector\' (aka \'const vector\') for 1st argument\n virtual void setDims(const std::vector& dims)\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/Array.h:1706:8: note: candidate function not viable: requires 2 arguments, but 1 was provided\n void setDims(size_t size1, size_t size2)\n ^\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:1104:19: error: no matching function for call to object of type \'DynArrayDim2\'\n $tmpVar23_(tmp114++) = $tmpVar22_;\n ^~~~~~~~~~\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/Array.h:1688:14: note: candidate function not viable: no known conversion from \'int\' to \'const vector\' (aka \'const vector\') for 1st argument\n virtual T& operator()(const vector& idx)\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/Array.h:1682:20: note: candidate function not viable: no known conversion from \'int\' to \'const vector\' (aka \'const vector\') for 1st argument\n virtual const T& operator()(const vector& idx) const\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/Array.h:1694:21: note: candidate function not viable: requires 2 arguments, but 1 was provided\n inline virtual T& operator()(size_t i, size_t j)\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/Array.h:1700:27: note: candidate function not viable: requires 2 arguments, but 1 was provided\n inline virtual const T& operator()(size_t i, size_t j) const\n ^\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:1121:71: error: use of undeclared identifier \'$tmpVar25_\'; did you mean \'$tmpVar24_\'?\n fill_array_from_shape(make_pair(tmp119,tmp120),$tmpVar24_,$tmpVar25_);\n ^~~~~~~~~~\n $tmpVar24_\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:1036:30: note: \'$tmpVar24_\' declared here\n DynArrayDim2 $tmpVar24_;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:1128:9: error: use of undeclared identifier \'tmp113\'; did you mean \'tmp103\'?\n tmp113 = $tmpVar25_;\n ^~~~~~\n tmp103\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:818:24: note: \'tmp103\' declared here\n DynArrayDim1 tmp103;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:1128:18: error: use of undeclared identifier \'$tmpVar25_\'\n tmp113 = $tmpVar25_;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:1130:32: error: use of undeclared identifier \'tmp113\'; did you mean \'tmp103\'?\n tmp132 = min_max(tmp113).second;\n ^~~~~~\n tmp103\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:818:24: note: \'tmp103\' declared here\n DynArrayDim1 tmp103;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:2540:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp360;\n ^\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp:29:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Initialize.cpp:292:93: error: no viable conversion from \'StatArrayDim1\' to \'double\'\n _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrix(2, /*t4*/tmp379, tmp382, _x_d_, _xsig_s_, _r_s_, _if0_, (3.141592653589793 + _alpha_if0_), _tol_, true, tmp383);\n ^~~~~~\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:473:182: note: passing argument to parameter \'x_\' here\nvoid /*PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrixRetType */ Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrix(int n_, double x_, double xsig_s_, double r_s_, double if0_, double alpha_if0_, double tol_, bool field_, BaseArray& Tc_, BaseArray& To_,PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrixRetType & output )\n ^\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp:29:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Initialize.cpp:305:93: error: no viable conversion from \'StatArrayDim1\' to \'double\'\n _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrix(2, /*t4*/tmp384, tmp387, _x_q_, _xsig_s_, _r_s_, 0.0, 0.0, 0.0, false, tmp388);\n ^~~~~~\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:473:182: note: passing argument to parameter \'x_\' here\nvoid /*PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrixRetType */ Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrix(int n_, double x_, double xsig_s_, double r_s_, double if0_, double alpha_if0_, double tol_, bool field_, BaseArray& Tc_, BaseArray& To_,PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrixRetType & output )\n ^\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp:33:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.cpp:304:93: error: no viable conversion from \'StatArrayDim1\' to \'double\'\n _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrix(2, /*t4*/tmp0, tmp3, _x_d_, _xsig_s_, _r_s_, _if0_, (3.141592653589793 + _alpha_if0_), _tol_, true, tmp4);\n ^~~~\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2Functions.cpp:473:182: note: passing argument to parameter \'x_\' here\nvoid /*PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrixRetType */ Functions::PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrix(int n_, double x_, double xsig_s_, double r_s_, double if0_, double alpha_if0_, double tol_, bool field_, BaseArray& Tc_, BaseArray& To_,PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat2_z__matrixRetType & output )\n ^\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\n20 errors generated.\n: recipe for target \'OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.o\' failed\nmake: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.o] Error 1\n'