Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00147/0.00147, allocations: 180.7 kB / 8.012 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.18/2.18, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.001077/0.001077, allocations: 86.64 kB / 261.8 MB, free: 1.676 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.2637/0.2637, allocations: 37.99 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.113e-05/2.136e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1064, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5145/0.6209, allocations: 91.76 MB / 0.5449 GB, free: 11.06 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/0.6213, allocations: 80.55 kB / 0.5449 GB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06349/0.6848, allocations: 11.9 MB / 0.5566 GB, free: 6.145 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.6848, allocations: 4 kB / 0.5566 GB, free: 6.141 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.6849, allocations: 0 / 0.5566 GB, free: 6.141 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009799/0.6859, allocations: 0.5324 MB / 0.5571 GB, free: 5.637 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.6859, allocations: 7.688 kB / 0.5571 GB, free: 5.637 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.686, allocations: 14.59 kB / 0.5571 GB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.6862, allocations: 188.7 kB / 0.5573 GB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.6862, allocations: 0 / 0.5573 GB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.6862, allocations: 0 / 0.5573 GB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.805e-05/0.6863, allocations: 34.48 kB / 0.5573 GB, free: 5.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.6865, allocations: 65.98 kB / 0.5574 GB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.6865, allocations: 0 / 0.5574 GB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.6865, allocations: 3.844 kB / 0.5574 GB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.6865, allocations: 3.984 kB / 0.5574 GB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001185/0.6866, allocations: 148.7 kB / 0.5575 GB, free: 5.195 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.819e-05/0.6867, allocations: 52.41 kB / 0.5576 GB, free: 5.168 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.747e-05/0.6868, allocations: 45.47 kB / 0.5576 GB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.6868, allocations: 0 / 0.5576 GB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.6869, allocations: 38.5 kB / 0.5577 GB, free: 5.109 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.6869, allocations: 4.438 kB / 0.5577 GB, free: 5.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003485/0.6872, allocations: 110.9 kB / 0.5578 GB, free: 5.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.6873, allocations: 87.95 kB / 0.5579 GB, free: 4.965 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.154e-05/0.6874, allocations: 115 kB / 0.558 GB, free: 4.867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.6874, allocations: 29.69 kB / 0.558 GB, free: 4.832 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.6875, allocations: 154.4 kB / 0.5581 GB, free: 4.684 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.6875, allocations: 41.69 kB / 0.5582 GB, free: 4.656 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/0.6875, allocations: 4.031 kB / 0.5582 GB, free: 4.652 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.754e-05/0.6876, allocations: 322.5 kB / 0.5585 GB, free: 4.332 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.866e-05/0.6877, allocations: 29.95 kB / 0.5585 GB, free: 4.328 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.303e-05/0.6877, allocations: 30.3 kB / 0.5585 GB, free: 4.324 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.6879, allocations: 41.77 kB / 0.5586 GB, free: 4.312 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6879, allocations: 3.953 kB / 0.5586 GB, free: 4.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002553/0.6882, allocations: 112.9 kB / 0.5587 GB, free: 4.258 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.6882, allocations: 48.97 kB / 0.5587 GB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6883, allocations: 0 / 0.5587 GB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.6883, allocations: 64 / 0.5587 GB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.6883, allocations: 4 kB / 0.5588 GB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.6883, allocations: 3.875 kB / 0.5588 GB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.431e-05/0.6884, allocations: 7.844 kB / 0.5588 GB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.6884, allocations: 3.75 kB / 0.5588 GB, free: 4.211 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.0001006/0.6885, allocations: 149.9 kB / 0.5589 GB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.6886, allocations: 18.98 kB / 0.5589 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.6886, allocations: 4.625 kB / 0.5589 GB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.6886, allocations: 0 / 0.5589 GB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6886, allocations: 3.984 kB / 0.5589 GB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.6886, allocations: 7.688 kB / 0.5589 GB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.489e-05/0.6887, allocations: 143.5 kB / 0.5591 GB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6887, allocations: 3.984 kB / 0.5591 GB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.6888, allocations: 0 / 0.5591 GB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6888, allocations: 7.828 kB / 0.5591 GB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.6888, allocations: 3.844 kB / 0.5591 GB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6888, allocations: 0 / 0.5591 GB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6888, allocations: 4 kB / 0.5591 GB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.6892, allocations: 215.3 kB / 0.5593 GB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.6893, allocations: 88.77 kB / 0.5594 GB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.6893, allocations: 7.828 kB / 0.5594 GB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.747e-05/0.6894, allocations: 2.688 kB / 0.5594 GB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.6894, allocations: 7.828 kB / 0.5594 GB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.6894, allocations: 3.844 kB / 0.5594 GB, free: 3.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.445e-05/0.6895, allocations: 103.4 kB / 0.5595 GB, free: 3.578 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6895, allocations: 0 / 0.5595 GB, free: 3.578 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001264/0.6908, allocations: 355.2 kB / 0.5598 GB, free: 3.5 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.001255/0.6921, allocations: 412.9 kB / 0.5602 GB, free: 3.305 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.6925, allocations: 288 kB / 0.5605 GB, free: 3.145 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6925, allocations: 0 / 0.5605 GB, free: 3.145 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.6927, allocations: 232.8 kB / 0.5607 GB, free: 2.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.693, allocations: 8.078 kB / 0.5607 GB, free: 2.961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.6934, allocations: 237.2 kB / 0.561 GB, free: 2.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.6936, allocations: 0.708 MB / 0.5617 GB, free: 1.984 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.6936, allocations: 7.438 kB / 0.5617 GB, free: 1.98 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.6936, allocations: 0 / 0.5617 GB, free: 1.98 MB / 362.7 MB Notification: Performance of Templates: time 0.01576/0.7094, allocations: 6.441 MB / 0.568 GB, free: 11.53 MB / 378.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 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_matrixTrDat1CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.cpp\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.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_matrixTrDat1Functions.cpp:497:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp63;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.cpp:820:22: error: expected \'(\' for function-style cast or type construction\n DynArrayDim4 tmp113;\n ~~~~~~^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.cpp:820:3: error: use of undeclared identifier \'DynArrayDim4\'\n DynArrayDim4 tmp113;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.cpp:820:24: error: use of undeclared identifier \'tmp113\'\n DynArrayDim4 tmp113;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.cpp:1034:28: error: expected \'(\' for function-style cast or type construction\n DynArrayDim4 $tmpVar25_;\n ~~~~~~^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.cpp:1034:9: error: use of undeclared identifier \'DynArrayDim4\'\n DynArrayDim4 $tmpVar25_;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.cpp:1034:30: error: use of undeclared identifier \'$tmpVar25_\'\n DynArrayDim4 $tmpVar25_;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.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_matrixTrDat1Functions.cpp:1036:30: note: \'$tmpVar24_\' declared here\n DynArrayDim2 $tmpVar24_;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.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_matrixTrDat1CalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.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_matrixTrDat1CalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.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_matrixTrDat1Functions.cpp:1036:30: note: \'$tmpVar24_\' declared here\n DynArrayDim2 $tmpVar24_;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.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_matrixTrDat1Functions.cpp:818:24: note: \'tmp103\' declared here\n DynArrayDim1 tmp103;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.cpp:1128:18: error: use of undeclared identifier \'$tmpVar25_\'\n tmp113 = $tmpVar25_;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.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_matrixTrDat1Functions.cpp:818:24: note: \'tmp103\' declared here\n DynArrayDim1 tmp103;\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.cpp:2540:3: error: unknown type name \'diagonalRetType\'\n diagonalRetType /* undefined */ tmp360;\n ^\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.cpp:29:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Initialize.cpp:220:93: error: no viable conversion from \'StatArrayDim1\' to \'double\'\n _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_z__matrix(1, /*t4*/tmp379, tmp382, _x_d_, _xsig_s_, _r_s_, _if0_, (3.141592653589793 + _alpha_if0_), 0.0, true, tmp383);\n ^~~~~~\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.cpp:473:182: note: passing argument to parameter \'x_\' here\nvoid /*PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_z__matrixRetType */ 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_, BaseArray& Tc_, BaseArray& To_,PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_z__matrixRetType & output )\n ^\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.cpp:29:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Initialize.cpp:233:93: error: no viable conversion from \'StatArrayDim1\' to \'double\'\n _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_z__matrix(1, /*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_matrixTrDat1Functions.cpp:473:182: note: passing argument to parameter \'x_\' here\nvoid /*PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_z__matrixRetType */ 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_, BaseArray& Tc_, BaseArray& To_,PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_z__matrixRetType & output )\n ^\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.cpp:33:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.cpp:232:93: error: no viable conversion from \'StatArrayDim1\' to \'double\'\n _functions->PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_z__matrix(1, /*t4*/tmp0, tmp3, _x_d_, _xsig_s_, _r_s_, _if0_, (3.141592653589793 + _alpha_if0_), 0.0, true, tmp4);\n ^~~~\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1Functions.cpp:473:182: note: passing argument to parameter \'x_\' here\nvoid /*PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_z__matrixRetType */ 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_, BaseArray& Tc_, BaseArray& To_,PowerSystems_Examples_AC3ph_Precalculation_Z__matrixTrDat1_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_matrixTrDat1CalcHelperMain.o\' failed\nmake: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.o] Error 1\n'