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_CurrentSource.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_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|terminalBoxQS.plugSupply.pin.1..v.re|terminalBoxQS.plugSupply.pin.1..v.im|terminalBoxQS.plugSupply.pin.1..i.re|terminalBoxQS.plugSupply.pin.1..i.im|terminalBoxQS.plugSupply.pin.2..v.re|terminalBoxQS.plugSupply.pin.2..v.im|terminalBoxQS.plugSupply.pin.2..i.re|terminalBoxQS.plugSupply.pin.2..i.im|terminalBoxQS.plugSupply.pin.3..v.re|terminalBoxQS.plugSupply.pin.3..v.im|terminalBoxQS.plugSupply.pin.3..i.re|terminalBoxQS.plugSupply.pin.3..i.im",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|terminalBoxQS.plugSupply.pin.1..v.re|terminalBoxQS.plugSupply.pin.1..v.im|terminalBoxQS.plugSupply.pin.1..i.re|terminalBoxQS.plugSupply.pin.1..i.im|terminalBoxQS.plugSupply.pin.2..v.re|terminalBoxQS.plugSupply.pin.2..v.im|terminalBoxQS.plugSupply.pin.2..i.re|terminalBoxQS.plugSupply.pin.2..i.im|terminalBoxQS.plugSupply.pin.3..v.re|terminalBoxQS.plugSupply.pin.3..v.im|terminalBoxQS.plugSupply.pin.3..i.re|terminalBoxQS.plugSupply.pin.3..i.im",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 202.5 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 226.5 MB / 245.4 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009885/0.0009885, allocations: 90.72 kB / 297.4 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002275/0.0002276, allocations: 7.984 kB / 357.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2369, allocations: 51.28 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3404/0.5773, allocations: 165.3 MB / 0.5605 GB, free: 32.31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5776, allocations: 110.9 kB / 0.5606 GB, free: 32.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.165/1.743, allocations: 402.5 MB / 0.9537 GB, free: 41.54 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.743, allocations: 0 / 0.9537 GB, free: 41.54 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001144/1.744, allocations: 289.2 kB / 0.954 GB, free: 41.52 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: 3414 * Number of variables: 3414 Notification: Performance of Generate backend data structure: time 0.03922/1.783, allocations: 11.63 MB / 0.9654 GB, free: 37.56 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.783, allocations: 13.53 kB / 0.9654 GB, free: 37.56 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02362/1.807, allocations: 4.504 MB / 0.9698 GB, free: 36.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02199/1.829, allocations: 8.975 MB / 0.9785 GB, free: 34.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009976/1.83, allocations: 0.8998 MB / 0.9794 GB, free: 34.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00488/1.835, allocations: 1.185 MB / 0.9806 GB, free: 33.86 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04783/1.883, allocations: 18.88 MB / 0.999 GB, free: 20.22 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007896/1.883, allocations: 23.75 kB / 0.999 GB, free: 20.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005367/1.889, allocations: 0.5092 MB / 0.9995 GB, free: 19.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001029/1.89, allocations: 0.8296 MB / 1 GB, free: 18.97 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03795/1.928, allocations: 15.79 MB / 1.016 GB, free: 5.172 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4464/2.374, allocations: 61.89 MB / 1.076 GB, free: 32.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02337/2.398, allocations: 33.42 MB / 1.109 GB, free: 36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00596/2.404, allocations: 3.771 MB / 1.113 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01648/2.42, allocations: 9.001 MB / 1.121 GB, free: 34.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.682e-05/2.42, allocations: 77.84 kB / 1.121 GB, free: 34.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=363): time 7.163e-06/2.42, allocations: 0 / 1.121 GB, free: 34.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=405): time 0.03547/2.456, allocations: 17.99 MB / 1.139 GB, free: 32.35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/2.456, allocations: 93.42 kB / 1.139 GB, free: 32.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01014/2.466, allocations: 5.109 MB / 1.144 GB, free: 31.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007224/2.467, allocations: 94.11 kB / 1.144 GB, free: 31.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003141/2.47, allocations: 5.63 MB / 1.15 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001584/2.472, allocations: 1.406 MB / 1.151 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/2.473, allocations: 143.3 kB / 1.151 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006727/2.473, allocations: 0.5891 MB / 1.152 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004835/2.478, allocations: 2.914 MB / 1.155 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006127/2.484, allocations: 6.035 MB / 1.16 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/2.496, allocations: 9.681 MB / 1.17 GB, free: 17.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001352/2.496, allocations: 29.72 kB / 1.17 GB, free: 17.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.02292/2.519, allocations: 10.01 MB / 1.18 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001902/2.519, allocations: 56.09 kB / 1.18 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000225/2.519, allocations: 108.1 kB / 1.18 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/2.522, allocations: 0.9366 MB / 1.181 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005974/2.528, allocations: 1.638 MB / 1.182 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/2.538, allocations: 9.414 MB / 1.192 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006267/2.545, allocations: 425 kB / 1.192 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001447/2.546, allocations: 372.9 kB / 1.192 GB, free: 7.098 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 480 * 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 (847): * Single equations (assignments): 841 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(8,59.4%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0101/2.556, allocations: 4.31 MB / 1.197 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001798/2.558, allocations: 0.5399 MB / 1.197 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/2.571, allocations: 6.562 MB / 1.203 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-05/2.572, allocations: 44.44 kB / 1.204 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.132e-05/2.572, allocations: 10.88 kB / 1.204 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.598e-05/2.572, allocations: 22.69 kB / 1.204 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03908/2.611, allocations: 16.11 MB / 1.219 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-05/2.611, allocations: 4 kB / 1.219 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003613/2.614, allocations: 0.7776 MB / 1.22 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002313/2.617, allocations: 0.7773 MB / 1.221 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006488/2.617, allocations: 87.45 kB / 1.221 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/2.628, allocations: 8.588 MB / 1.229 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/2.628, allocations: 7.938 kB / 1.229 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3501/2.978, allocations: 10.13 MB / 1.239 GB, free: 98.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003737/2.982, allocations: 1.092 MB / 1.24 GB, free: 98.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001843/2.984, allocations: 76 kB / 1.24 GB, free: 98.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003699/2.987, allocations: 243.2 kB / 1.241 GB, free: 98.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000683/2.988, allocations: 270.6 kB / 1.241 GB, free: 98.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002922/2.988, allocations: 121.6 kB / 1.241 GB, free: 98.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007817/2.996, allocations: 3.376 MB / 1.244 GB, free: 97.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.91e-07/2.996, allocations: 0 / 1.244 GB, free: 97.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01107/3.007, allocations: 2.001 MB / 1.246 GB, free: 97.94 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (inertiaLoad.w,quadraticSpeedDependentTorque.phi,inertiaLoadQS.w,quadraticSpeedDependentTorqueQS.phi) * 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 (385): * Single equations (assignments): 379 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(8,59.4%) 38,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001856/3.009, allocations: 0.6824 MB / 1.247 GB, free: 97.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01406/3.023, allocations: 7.725 MB / 1.254 GB, free: 97.17 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/3.023, allocations: 0 / 1.254 GB, free: 97.17 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006628/3.03, allocations: 3.577 MB / 1.258 GB, free: 96.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01107/3.041, allocations: 1.31 MB / 1.259 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04258/3.084, allocations: 24.3 MB / 1.283 GB, free: 86.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01258/3.096, allocations: 7.209 MB / 1.29 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002459/3.099, allocations: 479.5 kB / 1.29 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of SimCode: time 1.132e-06/3.099, allocations: 0 / 1.29 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of Templates: time 1.2/4.299, allocations: 473.5 MB / 1.753 GB, free: 53.57 MB / 0.5417 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.makefile make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.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_CurrentSourceCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceCalcHelperMain.cpp:15: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceTypes.h:143: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_CurrentSourceTypes.h:144: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_CurrentSourceTypes.h:145: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_CurrentSourceTypes.h:146: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_CurrentSourceCalcHelperMain.cpp:16: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceFunctions.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_CurrentSourceFunctions.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_CurrentSourceFunctions.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_CurrentSourceFunctions.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_CurrentSourceCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSourceFunctions.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_CurrentSourceFunctions.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_CurrentSourceFunctions.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_CurrentSourceFunctions.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_CurrentSourceCalcHelperMain.o] Error 1