Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.598e-05/2.607e-05, allocations: 0 / 249.7 MB, free: 15.17 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3245, allocations: 44.5 MB / 294.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5396/0.8641, allocations: 155.5 MB / 449.8 MB, free: 68.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/0.8645, allocations: 96.44 kB / 449.9 MB, free: 68.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904/2.768, allocations: 392.4 MB / 0.8225 GB, free: 24.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.016e-06/2.768, allocations: 0 / 0.8225 GB, free: 24.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001286/2.77, allocations: 304.7 kB / 0.8228 GB, free: 24.12 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: 3594 * Number of variables: 3594 Notification: Performance of Generate backend data structure: time 0.05463/2.824, allocations: 11.3 MB / 0.8338 GB, free: 16.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/2.824, allocations: 8.031 kB / 0.8338 GB, free: 16.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05649/2.881, allocations: 6.403 MB / 0.8401 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04001/2.921, allocations: 9.655 MB / 0.8495 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001358/2.922, allocations: 420 kB / 0.8499 GB, free: 84 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007188/2.93, allocations: 0.7342 MB / 0.8506 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4162/3.346, allocations: 16.4 MB / 0.8666 GB, free: 33.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06602/3.412, allocations: 18.62 MB / 0.8848 GB, free: 32.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009068/3.413, allocations: 19.95 kB / 0.8848 GB, free: 32.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00519/3.418, allocations: 10.34 kB / 0.8849 GB, free: 32.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001375/3.419, allocations: 0.8559 MB / 0.8857 GB, free: 32.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1727/3.592, allocations: 64.67 MB / 0.9488 GB, free: 17.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05631/3.649, allocations: 45.58 MB / 0.9934 GB, free: 9.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01928/3.668, allocations: 7.745 MB / 1.001 GB, free: 5.965 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08048/3.748, allocations: 24.49 MB / 1.025 GB, free: 10.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/3.749, allocations: 104.3 kB / 1.025 GB, free: 10.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=775): time 1.21e-05/3.749, allocations: 0 / 1.025 GB, free: 10.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=819): time 0.5601/4.309, allocations: 31.13 MB / 1.055 GB, free: 79.74 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/4.309, allocations: 122.1 kB / 1.055 GB, free: 79.67 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01306/4.322, allocations: 3.239 MB / 1.059 GB, free: 79.35 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002122/4.324, allocations: 28.08 kB / 1.059 GB, free: 79.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005509/4.33, allocations: 4.888 MB / 1.063 GB, free: 76.67 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005911/4.336, allocations: 2.634 MB / 1.066 GB, free: 74.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002568/4.338, allocations: 0 / 1.066 GB, free: 74.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001415/4.34, allocations: 0.6784 MB / 1.067 GB, free: 74.58 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01832/4.358, allocations: 5.13 MB / 1.072 GB, free: 74.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02103/4.379, allocations: 7.553 MB / 1.079 GB, free: 71.76 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02303/4.402, allocations: 7.56 MB / 1.086 GB, free: 71.66 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001585/4.403, allocations: 25.53 kB / 1.086 GB, free: 71.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.04942/4.452, allocations: 16.09 MB / 1.102 GB, free: 71.19 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.989e-05/4.452, allocations: 40.05 kB / 1.102 GB, free: 71.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001581/4.452, allocations: 77.41 kB / 1.102 GB, free: 71.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01231/4.465, allocations: 4.069 MB / 1.106 GB, free: 71.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01373/4.478, allocations: 1.723 MB / 1.108 GB, free: 71.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02042/4.499, allocations: 12.39 MB / 1.12 GB, free: 66.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01058/4.509, allocations: 337 kB / 1.12 GB, free: 66.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002702/4.512, allocations: 396.4 kB / 1.121 GB, free: 66.47 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starMQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[3].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: smpmQS.stator.Phi.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real smpmQS.stator.Phi.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real resistorQS.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[3].i.re:VARIABLE(unit = "A" ) "Real 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] smpmQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary 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[3].i.re:VARIABLE(unit = "A" ) "Real 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[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] currentRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.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: 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[1].i.re:VARIABLE(flow=true unit = "A" ) "Real 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] 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.re:VARIABLE(flow=true unit = "A" ) "Real 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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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[2].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] starQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 343 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (876): * Single equations (assignments): 820 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,20 119,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.00475/4.517, allocations: 446.3 kB / 1.121 GB, free: 66.31 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04287/4.56, allocations: 13.95 MB / 1.135 GB, free: 63.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003757/4.564, allocations: 0.5805 MB / 1.135 GB, free: 62.87 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04875/4.612, allocations: 15.13 MB / 1.15 GB, free: 56.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003551/4.613, allocations: 190.7 kB / 1.15 GB, free: 56.74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-05/4.613, allocations: 3.062 kB / 1.15 GB, free: 56.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001836/4.613, allocations: 34.64 kB / 1.15 GB, free: 56.74 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08566/4.699, allocations: 28.27 MB / 1.178 GB, free: 39.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001173/4.699, allocations: 4.5 kB / 1.178 GB, free: 39.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01051/4.709, allocations: 1.116 MB / 1.179 GB, free: 38.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01242/4.722, allocations: 3.935 MB / 1.183 GB, free: 35.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002077/4.724, allocations: 87.69 kB / 1.183 GB, free: 35.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0198/4.744, allocations: 12.23 MB / 1.195 GB, free: 24.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/4.744, allocations: 7.281 kB / 1.195 GB, free: 24.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5075/5.251, allocations: 24.98 MB / 1.219 GB, free: 75.87 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00772/5.259, allocations: 1.786 MB / 1.221 GB, free: 75.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003856/5.263, allocations: 9.109 kB / 1.221 GB, free: 75.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008892/5.272, allocations: 268.7 kB / 1.221 GB, free: 75.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003186/5.275, allocations: 0.5782 MB / 1.222 GB, free: 75.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002222/5.278, allocations: 222.8 kB / 1.222 GB, free: 75.77 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008223/5.286, allocations: 2.352 MB / 1.224 GB, free: 75.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.51e-07/5.286, allocations: 1.062 kB / 1.224 GB, free: 75.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01542/5.301, allocations: 1.933 MB / 1.226 GB, free: 75.59 MB / 474.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (555): * Single equations (assignments): 499 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,20 119,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0645/5.366, allocations: 24.83 MB / 1.251 GB, free: 73.01 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03424/5.4, allocations: 13 MB / 1.263 GB, free: 72.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/5.4, allocations: 6.969 kB / 1.263 GB, free: 72.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01903/5.419, allocations: 6.782 MB / 1.27 GB, free: 71.84 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0119/5.431, allocations: 1.024 MB / 1.271 GB, free: 71.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08859/5.52, allocations: 24.96 MB / 1.295 GB, free: 68.14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01981/5.54, allocations: 7.836 MB / 1.303 GB, free: 66.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01436/5.554, allocations: 4.788 MB / 1.308 GB, free: 62.75 MB / 474.7 MB Notification: Performance of SimCode: time 1.423e-06/5.554, allocations: 0 / 1.308 GB, free: 62.75 MB / 474.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=7 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSourceCalcHelperMain.o OMCppModelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSourceCalcHelperMain.cpp In file included from OMCppModelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSourceCalcHelperMain.cpp:28: ./OMCppModelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSourceFunctions.cpp:547:43: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp310 = 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_CurrentSourceFunctions.cpp:547:86: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp310 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0))); ^ In file included from OMCppModelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSourceCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSourceFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 2 errors generated. : recipe for target 'OMCppModelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSourceCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSourceCalcHelperMain.o] Error 1