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_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains") Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.319e-05/2.329e-05, allocations: 3.938 kB / 249.6 MB, free: 15.26 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2523, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4569/0.7093, allocations: 151.1 MB / 445.3 MB, free: 68.38 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.7096, allocations: 101.7 kB / 445.4 MB, free: 68.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.595/2.304, allocations: 385.1 MB / 0.811 GB, free: 34.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.77e-06/2.304, allocations: 0 / 0.811 GB, free: 34.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0009467/2.305, allocations: 289.8 kB / 0.8112 GB, free: 34.09 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3386 * Number of variables: 3386 Notification: Performance of Generate backend data structure: time 0.04618/2.351, allocations: 11.22 MB / 0.8222 GB, free: 29.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/2.352, allocations: 7.469 kB / 0.8222 GB, free: 29.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03753/2.389, allocations: 5.198 MB / 0.8273 GB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02784/2.417, allocations: 9.616 MB / 0.8367 GB, free: 17.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/2.418, allocations: 404 kB / 0.8371 GB, free: 16.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004777/2.423, allocations: 0.6912 MB / 0.8377 GB, free: 16.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04417/2.467, allocations: 15.15 MB / 0.8525 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3592/2.826, allocations: 17.44 MB / 0.8696 GB, free: 38.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006274/2.827, allocations: 22.17 kB / 0.8696 GB, free: 38.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004264/2.831, allocations: 9.312 kB / 0.8696 GB, free: 38.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001252/2.833, allocations: 0.7718 MB / 0.8703 GB, free: 38.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1357/2.968, allocations: 61.69 MB / 0.9306 GB, free: 27.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03116/3, allocations: 22.43 MB / 0.9525 GB, free: 26.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01485/3.014, allocations: 7.345 MB / 0.9597 GB, free: 23.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05625/3.071, allocations: 23.06 MB / 0.9822 GB, free: 12.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/3.071, allocations: 108.6 kB / 0.9823 GB, free: 12.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=743): time 1.482e-05/3.071, allocations: 0 / 0.9823 GB, free: 12.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=753): time 0.08245/3.153, allocations: 28.45 MB / 1.01 GB, free: 15.52 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/3.154, allocations: 143.9 kB / 1.01 GB, free: 15.42 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008627/3.162, allocations: 3.271 MB / 1.013 GB, free: 14.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001475/3.164, allocations: 29.55 kB / 1.013 GB, free: 14.06 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00448/3.168, allocations: 4.558 MB / 1.018 GB, free: 10.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004275/3.173, allocations: 2.414 MB / 1.02 GB, free: 8.605 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001606/3.174, allocations: 0 / 1.02 GB, free: 8.605 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001146/3.175, allocations: 0.6412 MB / 1.021 GB, free: 8.141 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01112/3.186, allocations: 4.707 MB / 1.025 GB, free: 5.516 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01423/3.201, allocations: 6.523 MB / 1.032 GB, free: 14.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0204/3.221, allocations: 7.008 MB / 1.039 GB, free: 9.098 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-05/3.221, allocations: 16 kB / 1.039 GB, free: 9.082 MB / 474.7 MB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.3603/3.582, allocations: 15.31 MB / 1.054 GB, free: 87.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.428e-05/3.582, allocations: 30.16 kB / 1.054 GB, free: 87.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/3.582, allocations: 55 kB / 1.054 GB, free: 87.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00966/3.592, allocations: 3.322 MB / 1.057 GB, free: 87.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008381/3.6, allocations: 1.514 MB / 1.058 GB, free: 87.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01635/3.616, allocations: 13.89 MB / 1.072 GB, free: 80.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007718/3.624, allocations: 283.8 kB / 1.072 GB, free: 80.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00205/3.626, allocations: 337.2 kB / 1.073 GB, free: 80.95 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: smpmQS.rotorCage.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [2] smpmQS.rotorCage.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [2] smpmQS.rotorCage.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [2] smpmQS.rotorCage.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [2] smpmQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: currentQuasiRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: powerSensorQS.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: smpmQS.rotorCage.star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [2] smpmQS.rotorCage.star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [2] smpmQS.rotorCage.star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [2] smpmQS.rotorCage.star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (782): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * 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: 3 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 6 {4 4,6 9,6 9,6 9,6 9,10 69} Notification: Performance of prepare postOptimizeDAE: time 0.0033/3.63, allocations: 413.4 kB / 1.073 GB, free: 80.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002132/3.632, allocations: 0.5463 MB / 1.074 GB, free: 80.82 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03774/3.67, allocations: 14.14 MB / 1.087 GB, free: 80.21 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02727/3.697, allocations: 11.09 MB / 1.098 GB, free: 79.92 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-05/3.697, allocations: 7.656 kB / 1.098 GB, free: 79.92 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001857/3.697, allocations: 34.17 kB / 1.098 GB, free: 79.92 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06713/3.764, allocations: 26.81 MB / 1.124 GB, free: 74.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.742e-05/3.764, allocations: 3.875 kB / 1.124 GB, free: 74.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006605/3.771, allocations: 0.9807 MB / 1.125 GB, free: 74.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01003/3.781, allocations: 3.4 MB / 1.129 GB, free: 73.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00173/3.783, allocations: 88.2 kB / 1.129 GB, free: 73.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02151/3.804, allocations: 18.1 MB / 1.146 GB, free: 60.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/3.804, allocations: 13.31 kB / 1.146 GB, free: 60.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04881/3.853, allocations: 21.47 MB / 1.167 GB, free: 50.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005818/3.859, allocations: 1.719 MB / 1.169 GB, free: 49.72 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002808/3.862, allocations: 11.44 kB / 1.169 GB, free: 49.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006122/3.868, allocations: 241 kB / 1.169 GB, free: 49.71 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002391/3.871, allocations: 0.5569 MB / 1.17 GB, free: 49.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001677/3.872, allocations: 202.1 kB / 1.17 GB, free: 49.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005848/3.878, allocations: 2.395 MB / 1.172 GB, free: 48.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.763e-06/3.878, allocations: 0 / 1.172 GB, free: 48.15 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01139/3.89, allocations: 1.884 MB / 1.174 GB, free: 46.29 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (502): * Single equations (assignments): 436 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 14} * Non-linear torn systems: 6 {4 4,6 9,6 9,6 9,6 9,10 69} Notification: Performance of Backend phase and start with SimCode phase: time 0.002306/3.892, allocations: 0.6096 MB / 1.175 GB, free: 45.89 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02386/3.916, allocations: 11.84 MB / 1.186 GB, free: 35.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/3.916, allocations: 4 kB / 1.186 GB, free: 35.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01401/3.93, allocations: 6.516 MB / 1.193 GB, free: 29.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008087/3.938, allocations: 1.03 MB / 1.194 GB, free: 28.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05565/3.994, allocations: 20.81 MB / 1.214 GB, free: 10.17 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01614/4.01, allocations: 7.529 MB / 1.221 GB, free: 4.508 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003021/4.013, allocations: 455.8 kB / 1.222 GB, free: 4.09 MB / 474.7 MB Notification: Performance of SimCode: time 2.671e-06/4.013, allocations: 2.844 kB / 1.222 GB, free: 4.09 MB / 474.7 MB Notification: Performance of Templates: time 2.944/6.957, allocations: 0.8585 GB / 2.08 GB, free: 110.6 MB / 0.4948 GB make -j1 -f Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.makefile 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=5 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"." -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsCalcHelperMain.cpp:28: ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsFunctions.cpp:637:43: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp342 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0))); ^ ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsFunctions.cpp:637:86: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp342 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0))); ^ 2 errors generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MainsCalcHelperMain.o] Error 1