Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadModel(Modelica): time 1.837/1.837, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.864e-05, allocations: 1.844 kB / 255.4 MB, free: 3.164 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08063/0.08068, allocations: 44.5 MB / 299.9 MB, free: 6.602 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4246/0.5053, allocations: 121.2 MB / 421.1 MB, free: 8.062 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.5057, allocations: 103.4 kB / 421.2 MB, free: 8.043 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.42/1.926, allocations: 339.5 MB / 0.7429 GB, free: 47.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.926, allocations: 0 / 0.7429 GB, free: 47.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005726/1.926, allocations: 210.9 kB / 0.7431 GB, free: 47.18 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.03628/1.962, allocations: 9.053 MB / 0.7519 GB, free: 44.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.962, allocations: 9.906 kB / 0.7519 GB, free: 44.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03553/1.998, allocations: 4.857 MB / 0.7567 GB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02227/2.02, allocations: 7.864 MB / 0.7643 GB, free: 39.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009897/2.021, allocations: 0.6971 MB / 0.765 GB, free: 38.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004255/2.026, allocations: 0.9065 MB / 0.7659 GB, free: 37.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04595/2.072, allocations: 16.52 MB / 0.782 GB, free: 21.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004142/2.072, allocations: 15.89 kB / 0.7821 GB, free: 21.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003787/2.076, allocations: 397 kB / 0.7824 GB, free: 21.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009009/2.077, allocations: 0.6948 MB / 0.7831 GB, free: 20.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04184/2.119, allocations: 15.19 MB / 0.7979 GB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3978/2.517, allocations: 53.86 MB / 0.8505 GB, free: 44.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02434/2.541, allocations: 18.76 MB / 0.8689 GB, free: 35.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01413/2.555, allocations: 6.981 MB / 0.8757 GB, free: 35.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05113/2.606, allocations: 22.67 MB / 0.8978 GB, free: 28.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.802e-05/2.606, allocations: 96.83 kB / 0.8979 GB, free: 28.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=684): time 1.209e-05/2.606, allocations: 2.531 kB / 0.8979 GB, free: 28.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=690): time 0.05762/2.664, allocations: 23.37 MB / 0.9207 GB, free: 18.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/2.664, allocations: 116.5 kB / 0.9209 GB, free: 18.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005265/2.669, allocations: 2.435 MB / 0.9232 GB, free: 17.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001343/2.671, allocations: 115.5 kB / 0.9233 GB, free: 17.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002025/2.673, allocations: 3.305 MB / 0.9266 GB, free: 14.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003162/2.676, allocations: 2.273 MB / 0.9288 GB, free: 13.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/2.677, allocations: 122.4 kB / 0.9289 GB, free: 12.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007473/2.678, allocations: 0.5959 MB / 0.9295 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009947/2.688, allocations: 4.634 MB / 0.934 GB, free: 10.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01144/2.7, allocations: 5.957 MB / 0.9398 GB, free: 7.137 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/2.712, allocations: 5.633 MB / 0.9453 GB, free: 4.727 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.136e-05/2.712, allocations: 11.47 kB / 0.9453 GB, free: 4.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.03502/2.747, allocations: 13.32 MB / 0.9584 GB, free: 9.852 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/2.747, allocations: 20 kB / 0.9584 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-05/2.747, allocations: 32 kB / 0.9584 GB, free: 9.801 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01125/2.758, allocations: 3.845 MB / 0.9622 GB, free: 6.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006601/2.765, allocations: 1.125 MB / 0.9633 GB, free: 5.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/2.784, allocations: 10.66 MB / 0.9737 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00583/2.789, allocations: 346.3 kB / 0.974 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001917/2.791, allocations: 273.5 kB / 0.9743 GB, free: 11.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (601): * Single equations (assignments): 533 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * 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: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.002892/2.794, allocations: 437.8 kB / 0.9747 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002139/2.796, allocations: 427.2 kB / 0.9751 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3253/3.122, allocations: 13.25 MB / 0.988 GB, free: 88.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0286/3.15, allocations: 11.72 MB / 0.9995 GB, free: 88.39 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-05/3.15, allocations: 0 / 0.9995 GB, free: 88.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000112/3.151, allocations: 34.95 kB / 0.9995 GB, free: 88.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06007/3.211, allocations: 26.14 MB / 1.025 GB, free: 87.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.603e-05/3.211, allocations: 0 / 1.025 GB, free: 87.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005433/3.216, allocations: 0.8122 MB / 1.026 GB, free: 87.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01083/3.227, allocations: 3.794 MB / 1.03 GB, free: 87.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001447/3.229, allocations: 143.7 kB / 1.03 GB, free: 87.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/3.243, allocations: 10.55 MB / 1.04 GB, free: 82.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.94e-06/3.243, allocations: 3.062 kB / 1.04 GB, free: 82.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04146/3.285, allocations: 19.65 MB / 1.059 GB, free: 74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004758/3.289, allocations: 1.54 MB / 1.061 GB, free: 73.35 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002139/3.292, allocations: 94.81 kB / 1.061 GB, free: 73.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004629/3.296, allocations: 280.9 kB / 1.061 GB, free: 73.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002164/3.299, allocations: 0.5024 MB / 1.062 GB, free: 73.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001361/3.3, allocations: 186.2 kB / 1.062 GB, free: 73.05 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00429/3.304, allocations: 1.833 MB / 1.063 GB, free: 72.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.143e-06/3.304, allocations: 1.281 kB / 1.063 GB, free: 72.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009138/3.313, allocations: 1.684 MB / 1.065 GB, free: 72.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (436): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * 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: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.002137/3.316, allocations: 0.5567 MB / 1.066 GB, free: 71.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02552/3.341, allocations: 11.33 MB / 1.077 GB, free: 67.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/3.341, allocations: 3.656 kB / 1.077 GB, free: 67.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01433/3.356, allocations: 5.847 MB / 1.082 GB, free: 65.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006292/3.362, allocations: 0.8357 MB / 1.083 GB, free: 64.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04323/3.405, allocations: 17.65 MB / 1.1 GB, free: 49.24 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01241/3.418, allocations: 6.326 MB / 1.107 GB, free: 44.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002436/3.42, allocations: 359.8 kB / 1.107 GB, free: 44.07 MB / 458.7 MB Notification: Performance of SimCode: time 1.936e-06/3.42, allocations: 0 / 1.107 GB, free: 44.07 MB / 458.7 MB Notification: Performance of Templates: time 1.835/5.255, allocations: 0.5767 GB / 1.684 GB, free: 98.15 MB / 474.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.cpp:28: ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsFunctions.cpp:455:43: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp325 = 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.InductionMachines.IMC_CharacteristicsFunctions.cpp:455:86: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp325 = 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.InductionMachines.IMC_CharacteristicsCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.o] Error 1