Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.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.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009667/0.0009667, allocations: 198.4 kB / 18.07 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.203/1.203, allocations: 226.5 MB / 245.4 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007046/0.0007046, allocations: 98.84 kB / 297.4 MB, free: 6.859 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002005/0.0002005, allocations: 8 kB / 357.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1787, allocations: 51.28 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3033/0.482, allocations: 154.5 MB / 0.55 GB, free: 38.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.4823, allocations: 108.8 kB / 0.5501 GB, free: 38.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523/2.005, allocations: 0.5084 GB / 1.058 GB, free: 27.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.834e-06/2.006, allocations: 7.75 kB / 1.059 GB, free: 27.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0009267/2.006, allocations: 351.2 kB / 1.059 GB, free: 27.72 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4252 * Number of variables: 4252 Notification: Performance of Generate backend data structure: time 0.05019/2.057, allocations: 15.61 MB / 1.074 GB, free: 22.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/2.057, allocations: 11.47 kB / 1.074 GB, free: 22.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0387/2.095, allocations: 7.448 MB / 1.081 GB, free: 21.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02939/2.125, allocations: 12.01 MB / 1.093 GB, free: 20.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001317/2.126, allocations: 1.125 MB / 1.094 GB, free: 20.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006302/2.133, allocations: 1.455 MB / 1.096 GB, free: 20.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06828/2.201, allocations: 25.3 MB / 1.12 GB, free: 18.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001014/2.202, allocations: 25.97 kB / 1.12 GB, free: 18.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006593/2.209, allocations: 0.6281 MB / 1.121 GB, free: 18.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0013/2.21, allocations: 1.093 MB / 1.122 GB, free: 18.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04749/2.257, allocations: 22.87 MB / 1.144 GB, free: 17.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4641/2.721, allocations: 82.21 MB / 1.225 GB, free: 48.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0316/2.753, allocations: 39.09 MB / 1.263 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01234/2.765, allocations: 7.422 MB / 1.27 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03639/2.802, allocations: 17.61 MB / 1.287 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008685/2.811, allocations: 5.332 MB / 1.292 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=719): time 1.24e-05/2.811, allocations: 0 / 1.292 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=727): time 0.1122/2.923, allocations: 42.11 MB / 1.334 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001985/2.923, allocations: 467 kB / 1.334 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/2.934, allocations: 6.327 MB / 1.34 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001492/2.935, allocations: 146.2 kB / 1.34 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005825/2.941, allocations: 6.5 MB / 1.347 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002972/2.944, allocations: 2.418 MB / 1.349 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008385/2.945, allocations: 179.6 kB / 1.349 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004766/2.945, allocations: 0.6712 MB / 1.35 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006986/2.952, allocations: 4.773 MB / 1.355 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009643/2.962, allocations: 7.679 MB / 1.362 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/2.979, allocations: 12.98 MB / 1.375 GB, free: 28 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000116/2.979, allocations: 25.19 kB / 1.375 GB, free: 28 kB / 0.5105 GB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03279/3.012, allocations: 15.6 MB / 1.39 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/3.012, allocations: 40.44 kB / 1.39 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001666/3.012, allocations: 88 kB / 1.39 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007643/3.02, allocations: 2.896 MB / 1.393 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008271/3.028, allocations: 1.808 MB / 1.395 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4017/3.43, allocations: 30.77 MB / 1.425 GB, free: 74.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008955/3.439, allocations: 0.5874 MB / 1.425 GB, free: 74.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002453/3.441, allocations: 399.1 kB / 1.426 GB, free: 74.88 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 390 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,switchYDQS.idealCloser.control[1],switchYDQS.idealCloser.control[2],switchYDQS.idealCloser.control[3],switchYDQS.idealOpener.control[1],switchYDQS.idealOpener.control[2],switchYDQS.idealOpener.control[3],$PRE.switchYDQS.logicalDelay[1].tSwitch,switchYDQS.logicalDelay[1].tSwitch,$PRE.switchYDQS.logicalDelay[2].tSwitch,switchYDQS.logicalDelay[2].tSwitch,$PRE.switchYDQS.logicalDelay[3].tSwitch,switchYDQS.logicalDelay[3].tSwitch,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[3].tSwitch,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (968): * Single equations (assignments): 961 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * 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: 6 {(1,100.0%) 1,(24,31.8%) 108,(1,100.0%) 8,(9,33.3%) 25,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01516/3.456, allocations: 5.88 MB / 1.431 GB, free: 74.76 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00235/3.459, allocations: 0.7066 MB / 1.432 GB, free: 74.76 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02676/3.485, allocations: 13.38 MB / 1.445 GB, free: 74.07 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-05/3.486, allocations: 70.91 kB / 1.445 GB, free: 74.07 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.589e-05/3.486, allocations: 42.52 kB / 1.445 GB, free: 74.07 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001895/3.486, allocations: 35.72 kB / 1.445 GB, free: 74.07 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05886/3.545, allocations: 27.8 MB / 1.473 GB, free: 72.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.712e-05/3.545, allocations: 10.38 kB / 1.473 GB, free: 72.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005063/3.55, allocations: 1.071 MB / 1.474 GB, free: 72.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007164/3.557, allocations: 2.945 MB / 1.476 GB, free: 72.39 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001458/3.558, allocations: 169 kB / 1.477 GB, free: 72.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03621/3.595, allocations: 33.18 MB / 1.509 GB, free: 61.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/3.595, allocations: 9.719 kB / 1.509 GB, free: 61.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03306/3.628, allocations: 19.49 MB / 1.528 GB, free: 54.85 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005292/3.633, allocations: 1.809 MB / 1.53 GB, free: 54.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002302/3.635, allocations: 145.2 kB / 1.53 GB, free: 54.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004899/3.64, allocations: 455.2 kB / 1.53 GB, free: 53.97 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001807/3.642, allocations: 0.644 MB / 1.531 GB, free: 53.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005126/3.643, allocations: 206.1 kB / 1.531 GB, free: 53.82 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007783/3.651, allocations: 4.273 MB / 1.535 GB, free: 52.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.102e-06/3.651, allocations: 0 / 1.535 GB, free: 52.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01328/3.664, allocations: 2.945 MB / 1.538 GB, free: 51.94 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 42 (booleanStepYDQS[3].y,booleanStepYDQS[2].y,booleanStepYDQS[1].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,switchYDQS.idealCloser.control[1],switchYDQS.idealCloser.control[2],switchYDQS.idealCloser.control[3],switchYDQS.idealOpener.control[1],switchYDQS.idealOpener.control[2],switchYDQS.idealOpener.control[3],switchYDQS.logicalDelay[1].tSwitch,switchYDQS.logicalDelay[2].tSwitch,switchYDQS.logicalDelay[3].tSwitch,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (578): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(24,32.5%) 108,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 25,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002616/3.666, allocations: 0.6533 MB / 1.539 GB, free: 51.71 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0219/3.688, allocations: 13.34 MB / 1.552 GB, free: 46.38 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/3.688, allocations: 0 / 1.552 GB, free: 46.38 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01236/3.701, allocations: 8.091 MB / 1.56 GB, free: 42.72 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01613/3.717, allocations: 1.851 MB / 1.562 GB, free: 42.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05922/3.776, allocations: 33.78 MB / 1.595 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01712/3.793, allocations: 9.589 MB / 1.604 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004561/3.798, allocations: 0.5926 MB / 1.605 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of SimCode: time 1.693e-06/3.798, allocations: 0 / 1.605 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of Templates: time 3.12/6.918, allocations: 0.834 GB / 2.439 GB, free: 97.68 MB / 0.5886 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.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.InductionMachines.IMC_YDCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDCalcHelperMain.cpp:15: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDTypes.h:121:9: error: unknown type name '_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType' typedef _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iRetType /* functionHeaderRegularFunction1 */; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDCalcHelperMain.cpp:16: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDFunctions.h:17:115: error: unknown type name '_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType' void /*RecordTypetest*/ _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24i(double re_, double im_,_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType &output ); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDFunctions.cpp:47:106: error: unknown type name '_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType' void Functions::_omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24i(double re_, double im_, _omcQComplexOutput_24currentQuasiRMSSensorQS_24currentSensor_24iType& output) ^ 3 errors generated. make: *** [: OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDCalcHelperMain.o] Error 1