Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00232/0.00232, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 86.48 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.04e-05/3.031e-05, allocations: 4 kB / 314.9 MB, free: 9.035 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3618, allocations: 47.55 MB / 362.5 MB, free: 45.74 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2327/0.5945, allocations: 131.3 MB / 493.8 MB, free: 2.766 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003605/0.5949, allocations: 103.9 kB / 493.9 MB, free: 2.664 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.024/2.619, allocations: 348.1 MB / 0.8223 GB, free: 30.36 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.334e-06/2.619, allocations: 0 / 0.8223 GB, free: 30.36 MB / 427.1 MB Notification: Performance of Transformations before backend: time 0.0008099/2.62, allocations: 220 kB / 0.8225 GB, free: 30.36 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.0477/2.667, allocations: 9.538 MB / 0.8318 GB, free: 29.03 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/2.668, allocations: 11.28 kB / 0.8318 GB, free: 29.03 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0417/2.709, allocations: 4.911 MB / 0.8366 GB, free: 28.5 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03011/2.739, allocations: 8.162 MB / 0.8446 GB, free: 27.58 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001108/2.741, allocations: 321.4 kB / 0.8449 GB, free: 27.58 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005519/2.746, allocations: 0.551 MB / 0.8455 GB, free: 27.57 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04377/2.79, allocations: 13.66 MB / 0.8588 GB, free: 27.53 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0535/2.844, allocations: 15.41 MB / 0.8738 GB, free: 26.48 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006157/2.844, allocations: 14.38 kB / 0.8739 GB, free: 26.48 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004344/2.849, allocations: 7.469 kB / 0.8739 GB, free: 26.48 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001213/2.85, allocations: 0.7083 MB / 0.8746 GB, free: 26.45 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1475/2.997, allocations: 54.3 MB / 0.9276 GB, free: 9.043 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03606/3.033, allocations: 19.21 MB / 0.9463 GB, free: 12.49 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01984/3.053, allocations: 7.514 MB / 0.9537 GB, free: 7.406 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08509/3.138, allocations: 25.58 MB / 0.9787 GB, free: 2.398 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/3.139, allocations: 110.1 kB / 0.9788 GB, free: 2.285 MB / 459.1 MB Notification: Performance of pre-optimization done (n=749): time 1.223e-05/3.139, allocations: 0 / 0.9788 GB, free: 2.285 MB / 459.1 MB Notification: Performance of matching and sorting (n=754): time 0.4636/3.602, allocations: 28.63 MB / 1.007 GB, free: 61.45 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/3.602, allocations: 117.1 kB / 1.007 GB, free: 61.38 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008115/3.611, allocations: 2.835 MB / 1.01 GB, free: 61.12 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002054/3.613, allocations: 25.7 kB / 1.01 GB, free: 61.09 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003276/3.616, allocations: 3.456 MB / 1.013 GB, free: 59.37 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004563/3.621, allocations: 2.388 MB / 1.015 GB, free: 57.76 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/3.622, allocations: 0 / 1.015 GB, free: 57.76 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.000829/3.623, allocations: 0.615 MB / 1.016 GB, free: 57.43 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01281/3.635, allocations: 5.076 MB / 1.021 GB, free: 57.42 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01549/3.651, allocations: 6.286 MB / 1.027 GB, free: 56.24 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02055/3.672, allocations: 7.2 MB / 1.034 GB, free: 56.15 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-05/3.672, allocations: 16.06 kB / 1.034 GB, free: 56.15 MB / 459.1 MB Notification: Performance of matching and sorting (n=941) (initialization): time 0.04298/3.715, allocations: 15.13 MB / 1.049 GB, free: 55.72 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.044e-05/3.715, allocations: 21.81 kB / 1.049 GB, free: 55.72 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.791e-05/3.715, allocations: 31.72 kB / 1.049 GB, free: 55.72 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01267/3.728, allocations: 3.98 MB / 1.053 GB, free: 55.64 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01031/3.738, allocations: 1.228 MB / 1.054 GB, free: 55.64 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02067/3.759, allocations: 12.76 MB / 1.066 GB, free: 50.74 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008478/3.767, allocations: 283 kB / 1.067 GB, free: 50.73 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002422/3.77, allocations: 285.3 kB / 1.067 GB, free: 50.68 MB / 459.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imcQS.rotorCage.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imcQS.rotorCage.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.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: terminalBoxQS.multiDelta.plugToPins_n.pin_n[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiDelta.plugToPins_n.pin_n[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiDelta.plugToPins_n.pin_n[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiDelta.plugToPins_n.pin_n[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiDelta.plugToPins_n.pin_n[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiDelta.plugToPins_n.pin_n[2].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: electricalPowerSensorQS.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] electricalPowerSensorQS.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] electricalPowerSensorQS.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] electricalPowerSensorQS.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] electricalPowerSensorQS.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] electricalPowerSensorQS.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: currentQuasiRMSSensorQS.currentSensor[3].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[1].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[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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[3].i.re:VARIABLE(flow=true unit = "A" ) "Real 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[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.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (636): * Single equations (assignments): 560 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of prepare postOptimizeDAE: time 0.003508/3.773, allocations: 364.7 kB / 1.067 GB, free: 50.52 MB / 459.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04075/3.814, allocations: 13.67 MB / 1.081 GB, free: 44.87 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003239/3.817, allocations: 478.2 kB / 1.081 GB, free: 44.61 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04802/3.865, allocations: 14.97 MB / 1.096 GB, free: 38.5 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03869/3.904, allocations: 13.59 MB / 1.109 GB, free: 27.26 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-05/3.904, allocations: 0 / 1.109 GB, free: 27.26 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001846/3.904, allocations: 33.91 kB / 1.109 GB, free: 27.25 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07874/3.983, allocations: 27.5 MB / 1.136 GB, free: 4.465 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001003/3.983, allocations: 6.156 kB / 1.136 GB, free: 4.461 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00877/3.992, allocations: 0.9218 MB / 1.137 GB, free: 3.773 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01308/4.005, allocations: 3.902 MB / 1.141 GB, free: 0.6094 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002038/4.007, allocations: 80.02 kB / 1.141 GB, free: 0.5508 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0254/4.033, allocations: 12.71 MB / 1.153 GB, free: 4.973 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/4.033, allocations: 0 / 1.153 GB, free: 4.973 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4352/4.468, allocations: 23.38 MB / 1.176 GB, free: 73.37 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006711/4.475, allocations: 1.758 MB / 1.178 GB, free: 73.28 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002682/4.478, allocations: 3.984 kB / 1.178 GB, free: 73.28 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007303/4.485, allocations: 246.2 kB / 1.178 GB, free: 73.28 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002943/4.488, allocations: 0.5552 MB / 1.178 GB, free: 73.27 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002107/4.49, allocations: 201.3 kB / 1.179 GB, free: 73.27 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.005988/4.496, allocations: 2.113 MB / 1.181 GB, free: 73.12 MB / 475.1 MB Notification: Performance of sort global known variables: time 6.11e-07/4.496, allocations: 1.312 kB / 1.181 GB, free: 73.12 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.01256/4.509, allocations: 1.608 MB / 1.182 GB, free: 73.12 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (480): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.06519/4.574, allocations: 23.99 MB / 1.206 GB, free: 71.59 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.03272/4.607, allocations: 12.33 MB / 1.218 GB, free: 71.22 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/4.607, allocations: 2.516 kB / 1.218 GB, free: 71.22 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0186/4.625, allocations: 6.438 MB / 1.224 GB, free: 70.97 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008568/4.634, allocations: 0.696 MB / 1.225 GB, free: 70.95 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07523/4.709, allocations: 21.99 MB / 1.246 GB, free: 64.68 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01547/4.725, allocations: 6.65 MB / 1.253 GB, free: 62.3 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01106/4.736, allocations: 3.599 MB / 1.256 GB, free: 59.29 MB / 475.1 MB Notification: Performance of SimCode: time 1.844e-06/4.736, allocations: 0 / 1.256 GB, free: 59.29 MB / 475.1 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=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLossesCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLossesCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLossesCalcHelperMain.cpp:28: ./OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLossesFunctions.cpp:611:43: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp363 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0))); ^ ./OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLossesFunctions.cpp:611:86: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp363 = 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_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLossesCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLossesFMU.cpp:11: /var/lib/jenkins1/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_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLossesCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLossesCalcHelperMain.o] Error 1