Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quadraticSpeedDependentTorqueQS.phi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quadraticSpeedDependentTorqueQS.phi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009604/0.0009605, allocations: 199.6 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 226.5 MB / 245.3 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007176/0.0007176, allocations: 100.1 kB / 297.4 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002145/0.0002145, allocations: 4 kB / 357.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2088, allocations: 51.29 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.5848, allocations: 138 MB / 0.5339 GB, free: 45.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.5852, allocations: 113.4 kB / 0.534 GB, free: 45.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.055/1.64, allocations: 336.5 MB / 0.8626 GB, free: 54.83 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.64, allocations: 0.5 kB / 0.8626 GB, free: 54.83 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000968/1.641, allocations: 209.1 kB / 0.8628 GB, free: 54.82 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2599 * Number of variables: 2599 Notification: Performance of Generate backend data structure: time 0.03704/1.678, allocations: 8.79 MB / 0.8714 GB, free: 51.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.386e-05/1.678, allocations: 11.72 kB / 0.8714 GB, free: 51.98 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02298/1.701, allocations: 3.927 MB / 0.8753 GB, free: 51.47 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02054/1.722, allocations: 6.778 MB / 0.8819 GB, free: 50.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001004/1.723, allocations: 0.6673 MB / 0.8825 GB, free: 50.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005164/1.728, allocations: 0.892 MB / 0.8834 GB, free: 50.53 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04291/1.771, allocations: 14.95 MB / 0.898 GB, free: 49.38 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005799/1.771, allocations: 16.53 kB / 0.898 GB, free: 49.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003752/1.775, allocations: 395.8 kB / 0.8984 GB, free: 49.38 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008624/1.776, allocations: 0.6867 MB / 0.8991 GB, free: 49.35 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02892/1.805, allocations: 12.73 MB / 0.9115 GB, free: 49.26 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07382/1.879, allocations: 48.35 MB / 0.9587 GB, free: 28.55 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01762/1.897, allocations: 28.52 MB / 0.9866 GB, free: 1.094 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005099/1.902, allocations: 3.04 MB / 0.9895 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007716/1.902, allocations: 324.9 kB / 0.9899 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/1.903, allocations: 76 kB / 0.9899 GB, free: 15.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=386): time 6.862e-06/1.903, allocations: 0 / 0.9899 GB, free: 15.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=394): time 0.03077/1.933, allocations: 14.86 MB / 1.004 GB, free: 9.137 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/1.934, allocations: 95.16 kB / 1.005 GB, free: 9.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005747/1.939, allocations: 3.533 MB / 1.008 GB, free: 6.594 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002911/1.94, allocations: 89.7 kB / 1.008 GB, free: 6.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002215/1.942, allocations: 4.03 MB / 1.012 GB, free: 2.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001111/1.943, allocations: 1.344 MB / 1.013 GB, free: 1.723 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003789/1.943, allocations: 120 kB / 1.013 GB, free: 1.605 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003529/1.944, allocations: 0.5408 MB / 1.014 GB, free: 1.125 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008787/1.952, allocations: 2.947 MB / 1.017 GB, free: 0 / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006396/1.959, allocations: 5.043 MB / 1.022 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/1.97, allocations: 8.259 MB / 1.03 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.53e-05/1.97, allocations: 28 kB / 1.03 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=770) (initialization): time 0.2613/2.231, allocations: 8.964 MB / 1.039 GB, free: 79.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.549e-05/2.231, allocations: 40.34 kB / 1.039 GB, free: 79.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001613/2.231, allocations: 82.91 kB / 1.039 GB, free: 79.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002373/2.234, allocations: 0.8818 MB / 1.04 GB, free: 79.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00472/2.238, allocations: 1.358 MB / 1.041 GB, free: 79.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009646/2.248, allocations: 7.556 MB / 1.048 GB, free: 77.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004146/2.252, allocations: 339.8 kB / 1.049 GB, free: 77.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/2.253, allocations: 310.8 kB / 1.049 GB, free: 77.94 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 377 * 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 (716): * Single equations (assignments): 714 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 46} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006713/2.26, allocations: 3.512 MB / 1.052 GB, free: 77.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/2.261, allocations: 410.2 kB / 1.053 GB, free: 77.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009866/2.271, allocations: 5.908 MB / 1.058 GB, free: 77.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/2.271, allocations: 38.62 kB / 1.059 GB, free: 77.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/2.271, allocations: 11.94 kB / 1.059 GB, free: 77.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-05/2.271, allocations: 24.38 kB / 1.059 GB, free: 77.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02652/2.298, allocations: 15.38 MB / 1.074 GB, free: 76.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/2.298, allocations: 3.656 kB / 1.074 GB, free: 76.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00246/2.3, allocations: 0.6883 MB / 1.074 GB, free: 76.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/2.302, allocations: 0.6864 MB / 1.075 GB, free: 76.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003251/2.302, allocations: 85.8 kB / 1.075 GB, free: 76.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007557/2.31, allocations: 6.176 MB / 1.081 GB, free: 74.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/2.31, allocations: 12.48 kB / 1.081 GB, free: 74.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/2.322, allocations: 8.544 MB / 1.089 GB, free: 74.03 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002135/2.325, allocations: 0.882 MB / 1.09 GB, free: 73.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/2.326, allocations: 73.62 kB / 1.09 GB, free: 73.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002425/2.328, allocations: 199.1 kB / 1.091 GB, free: 73.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005834/2.329, allocations: 260.4 kB / 1.091 GB, free: 73.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002981/2.329, allocations: 113.1 kB / 1.091 GB, free: 73.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004874/2.334, allocations: 2.362 MB / 1.093 GB, free: 73.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.61e-07/2.334, allocations: 1.75 kB / 1.093 GB, free: 73.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007354/2.341, allocations: 1.605 MB / 1.095 GB, free: 73.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 1 (smpmQS.phiMechanical) * 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 (378): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,59.4%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/2.343, allocations: 0.6119 MB / 1.095 GB, free: 73.44 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01069/2.353, allocations: 6.473 MB / 1.102 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/2.353, allocations: 3.594 kB / 1.102 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004738/2.358, allocations: 2.895 MB / 1.105 GB, free: 72.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008498/2.367, allocations: 0.9014 MB / 1.105 GB, free: 72.97 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0309/2.398, allocations: 18.7 MB / 1.124 GB, free: 63.03 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006029/2.404, allocations: 5.795 MB / 1.129 GB, free: 60.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/2.405, allocations: 384.3 kB / 1.13 GB, free: 60.76 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/2.405, allocations: 0 / 1.13 GB, free: 60.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.4312/2.837, allocations: 150.7 MB / 1.277 GB, free: 71.34 MB / 0.4948 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.makefile make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.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 OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPACalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPACalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPACalcHelperMain.cpp:15: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPATypes.h:135:9: error: unknown type name '_omcQComplexOutput_24currentRMSSensorQS_24currentSensor_24iType' typedef _omcQComplexOutput_24currentRMSSensorQS_24currentSensor_24iType _omcQComplexOutput_24currentRMSSensorQS_24currentSensor_24iRetType /* functionHeaderRegularFunction1 */; ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPATypes.h:136:9: error: unknown type name '_omcQComplexOutput_24rotorAngleQS_24voltageSensor_24vType' typedef _omcQComplexOutput_24rotorAngleQS_24voltageSensor_24vType _omcQComplexOutput_24rotorAngleQS_24voltageSensor_24vRetType /* functionHeaderRegularFunction1 */; ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPATypes.h:137:9: error: unknown type name '_omcQComplexOutput_24rotorAngleQS_24voltageSensor_24voltageSensor_24vType' typedef _omcQComplexOutput_24rotorAngleQS_24voltageSensor_24voltageSensor_24vType _omcQComplexOutput_24rotorAngleQS_24voltageSensor_24voltageSensor_24vRetType /* functionHeaderRegularFunction1 */; ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPATypes.h:138:9: error: unknown type name '_omcQComplexOutput_24voltageQuasiRMSSensorQS_24voltageSensor_24vType' typedef _omcQComplexOutput_24voltageQuasiRMSSensorQS_24voltageSensor_24vType _omcQComplexOutput_24voltageQuasiRMSSensorQS_24voltageSensor_24vRetType /* functionHeaderRegularFunction1 */; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPACalcHelperMain.cpp:16: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPAFunctions.h:18:110: error: unknown type name '_omcQComplexOutput_24currentRMSSensorQS_24currentSensor_24iType' void /*RecordTypetest*/ _omcQComplexOutput_24currentRMSSensorQS_24currentSensor_24i(double re_, double im_,_omcQComplexOutput_24currentRMSSensorQS_24currentSensor_24iType &output ); ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPAFunctions.h:19:104: error: unknown type name '_omcQComplexOutput_24rotorAngleQS_24voltageSensor_24vType' void /*RecordTypetest*/ _omcQComplexOutput_24rotorAngleQS_24voltageSensor_24v(double re_, double im_,_omcQComplexOutput_24rotorAngleQS_24voltageSensor_24vType &output ); ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPAFunctions.h:20:120: error: unknown type name '_omcQComplexOutput_24rotorAngleQS_24voltageSensor_24voltageSensor_24vType' void /*RecordTypetest*/ _omcQComplexOutput_24rotorAngleQS_24voltageSensor_24voltageSensor_24v(double re_, double im_,_omcQComplexOutput_24rotorAngleQS_24voltageSensor_24voltageSensor_24vType &output ); ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPAFunctions.h:21:115: error: unknown type name '_omcQComplexOutput_24voltageQuasiRMSSensorQS_24voltageSensor_24vType' void /*RecordTypetest*/ _omcQComplexOutput_24voltageQuasiRMSSensorQS_24voltageSensor_24v(double re_, double im_,_omcQComplexOutput_24voltageQuasiRMSSensorQS_24voltageSensor_24vType &output ); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPACalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPAFunctions.cpp:56:101: error: unknown type name '_omcQComplexOutput_24currentRMSSensorQS_24currentSensor_24iType' void Functions::_omcQComplexOutput_24currentRMSSensorQS_24currentSensor_24i(double re_, double im_, _omcQComplexOutput_24currentRMSSensorQS_24currentSensor_24iType& output) ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPAFunctions.cpp:64:95: error: unknown type name '_omcQComplexOutput_24rotorAngleQS_24voltageSensor_24vType' void Functions::_omcQComplexOutput_24rotorAngleQS_24voltageSensor_24v(double re_, double im_, _omcQComplexOutput_24rotorAngleQS_24voltageSensor_24vType& output) ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPAFunctions.cpp:72:111: error: unknown type name '_omcQComplexOutput_24rotorAngleQS_24voltageSensor_24voltageSensor_24vType' void Functions::_omcQComplexOutput_24rotorAngleQS_24voltageSensor_24voltageSensor_24v(double re_, double im_, _omcQComplexOutput_24rotorAngleQS_24voltageSensor_24voltageSensor_24vType& output) ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPAFunctions.cpp:80:106: error: unknown type name '_omcQComplexOutput_24voltageQuasiRMSSensorQS_24voltageSensor_24vType' void Functions::_omcQComplexOutput_24voltageQuasiRMSSensorQS_24voltageSensor_24v(double re_, double im_, _omcQComplexOutput_24voltageQuasiRMSSensorQS_24voltageSensor_24vType& output) ^ 12 errors generated. make: *** [: OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPACalcHelperMain.o] Error 1