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_Mains.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_Mains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs|loadInertiaM.phi|loadInertiaM.w|loadInertiaMQS.phi|loadInertiaMQS.w|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs|loadInertiaM.phi|loadInertiaM.w|loadInertiaMQS.phi|loadInertiaMQS.w|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001048, allocations: 198 kB / 18.06 MB, free: 3.648 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 226.5 MB / 245.3 MB, free: 6.414 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007765/0.0007764, allocations: 102.1 kB / 297.4 MB, free: 6.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002293/0.0002294, allocations: 4 kB / 357.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2436, allocations: 51.29 MB / 408.7 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3886/0.6323, allocations: 160.3 MB / 0.5556 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.6326, allocations: 106.5 kB / 0.5557 GB, free: 35.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.111/1.744, allocations: 403.1 MB / 0.9494 GB, free: 49.96 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.175e-06/1.744, allocations: 0 / 0.9494 GB, free: 49.96 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007685/1.745, allocations: 280.9 kB / 0.9496 GB, free: 49.91 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: 3330 * Number of variables: 3330 Notification: Performance of Generate backend data structure: time 0.03196/1.777, allocations: 11.81 MB / 0.9612 GB, free: 45.97 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/1.777, allocations: 10.88 kB / 0.9612 GB, free: 45.97 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02208/1.799, allocations: 4.611 MB / 0.9657 GB, free: 45.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01768/1.817, allocations: 9.198 MB / 0.9747 GB, free: 42.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007061/1.817, allocations: 0.8761 MB / 0.9755 GB, free: 42.27 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003617/1.821, allocations: 1.159 MB / 0.9767 GB, free: 41.89 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04959/1.871, allocations: 18.66 MB / 0.9949 GB, free: 27.62 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000772/1.871, allocations: 19.84 kB / 0.9949 GB, free: 27.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005024/1.876, allocations: 0.5011 MB / 0.9954 GB, free: 27.11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00097/1.877, allocations: 0.8043 MB / 0.9962 GB, free: 26.39 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03875/1.916, allocations: 15.88 MB / 1.012 GB, free: 12.49 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4103/2.327, allocations: 62.6 MB / 1.073 GB, free: 44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03283/2.359, allocations: 30.08 MB / 1.102 GB, free: 36.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007142/2.367, allocations: 4.12 MB / 1.106 GB, free: 36.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02266/2.389, allocations: 10.25 MB / 1.116 GB, free: 35.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.11e-05/2.389, allocations: 79.12 kB / 1.116 GB, free: 35.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=412): time 6.351e-06/2.389, allocations: 1.625 kB / 1.116 GB, free: 35.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=422): time 0.04029/2.43, allocations: 20.47 MB / 1.136 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/2.43, allocations: 121.3 kB / 1.136 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/2.44, allocations: 5.129 MB / 1.141 GB, free: 26.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009408/2.441, allocations: 92.7 kB / 1.142 GB, free: 26.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00329/2.444, allocations: 5.354 MB / 1.147 GB, free: 22.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001825/2.446, allocations: 1.455 MB / 1.148 GB, free: 21.19 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009707/2.447, allocations: 129.6 kB / 1.148 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000646/2.448, allocations: 0.563 MB / 1.149 GB, free: 20.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005037/2.453, allocations: 2.901 MB / 1.152 GB, free: 19.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006169/2.459, allocations: 5.408 MB / 1.157 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/2.47, allocations: 8.846 MB / 1.166 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.923e-05/2.47, allocations: 20.44 kB / 1.166 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of matching and sorting (n=837) (initialization): time 0.01924/2.489, allocations: 9.812 MB / 1.175 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/2.489, allocations: 42.38 kB / 1.175 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/2.49, allocations: 82.19 kB / 1.175 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003058/2.493, allocations: 1.12 MB / 1.176 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005119/2.498, allocations: 1.469 MB / 1.178 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/2.512, allocations: 12.52 MB / 1.19 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00509/2.517, allocations: 365.3 kB / 1.19 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/2.518, allocations: 323.8 kB / 1.191 GB, free: 11.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 372 * 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 (770): * Single equations (assignments): 761 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(10,50.0%) 46} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008305/2.526, allocations: 4.232 MB / 1.195 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001519/2.528, allocations: 0.5401 MB / 1.195 GB, free: 8.238 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/2.541, allocations: 7.201 MB / 1.202 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01135/2.553, allocations: 4.653 MB / 1.207 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.385e-05/2.553, allocations: 20 kB / 1.207 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.108e-05/2.553, allocations: 24.84 kB / 1.207 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04058/2.593, allocations: 17.22 MB / 1.224 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.836e-05/2.594, allocations: 4 kB / 1.224 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003705/2.597, allocations: 0.6962 MB / 1.224 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2728/2.87, allocations: 1.285 MB / 1.226 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001075/2.871, allocations: 100.6 kB / 1.226 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01522/2.887, allocations: 16.09 MB / 1.242 GB, free: 99.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/2.887, allocations: 8.219 kB / 1.242 GB, free: 99.33 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/2.901, allocations: 10.44 MB / 1.252 GB, free: 98.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002709/2.904, allocations: 1.138 MB / 1.253 GB, free: 98.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000813/2.905, allocations: 86 kB / 1.253 GB, free: 98.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002385/2.907, allocations: 227.2 kB / 1.253 GB, free: 98.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006189/2.908, allocations: 309 kB / 1.253 GB, free: 98.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002547/2.908, allocations: 121.1 kB / 1.254 GB, free: 98.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005082/2.913, allocations: 3.426 MB / 1.257 GB, free: 98.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/2.913, allocations: 0 / 1.257 GB, free: 98.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007487/2.921, allocations: 2.049 MB / 1.259 GB, free: 98.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 10 (smpmQS.inertiaRotor.w,smpmQS.permanentMagnet.port_p.reference.gamma,loadInertiaMQS.phi,smpm.inertiaRotor.w,smpm.stator.core.Phi.re,smpm.stator.core.Phi.im,smpm.stator.zeroInductor.i0,smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.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 (359): * Single equations (assignments): 349 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(10,50.0%) 46,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/2.922, allocations: 0.7309 MB / 1.26 GB, free: 98.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01125/2.933, allocations: 7.794 MB / 1.267 GB, free: 97.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/2.933, allocations: 3.562 kB / 1.267 GB, free: 97.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006536/2.94, allocations: 4.149 MB / 1.271 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01314/2.953, allocations: 1.357 MB / 1.273 GB, free: 96.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04499/2.998, allocations: 24.41 MB / 1.296 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009634/3.008, allocations: 7.153 MB / 1.303 GB, free: 85.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001969/3.01, allocations: 458 kB / 1.304 GB, free: 85.24 MB / 0.5261 GB Notification: Performance of SimCode: time 1.453e-06/3.01, allocations: 0 / 1.304 GB, free: 85.24 MB / 0.5261 GB Notification: Performance of Templates: time 1.439/4.449, allocations: 0.4953 GB / 1.799 GB, free: 107.4 MB / 0.5417 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.makefile make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.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_MainsCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsCalcHelperMain.cpp:15: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsTypes.h:150:9: error: unknown type name '_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType' typedef _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iRetType /* functionHeaderRegularFunction1 */; ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsTypes.h:151:9: error: unknown type name '_omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPowerType' typedef _omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPowerType _omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPowerRetType /* functionHeaderRegularFunction1 */; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsCalcHelperMain.cpp:16: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsFunctions.h:18:115: error: unknown type name '_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType' void /*RecordTypetest*/ _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24i(double re_, double im_,_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType &output ); ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsFunctions.h:19:115: error: unknown type name '_omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPowerType' void /*RecordTypetest*/ _omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPower(double re_, double im_,_omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPowerType &output ); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsFunctions.cpp:56:106: error: unknown type name '_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType' void Functions::_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24i(double re_, double im_, _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType& output) ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsFunctions.cpp:64:106: error: unknown type name '_omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPowerType' void Functions::_omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPower(double re_, double im_, _omcQComplexOutput_24powerSensorQS_24powerSensor_24apparentPowerType& output) ^ 6 errors generated. make: *** [: OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsCalcHelperMain.o] Error 1