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.825/1.825, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.377e-05/3.391e-05, allocations: 6.891 kB / 255.4 MB, free: 3.164 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07897/0.07903, allocations: 44.5 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3822/0.4612, allocations: 121.2 MB / 421.1 MB, free: 8.039 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.4616, allocations: 105 kB / 421.2 MB, free: 8.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.396/1.857, allocations: 339.5 MB / 0.7429 GB, free: 47.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.383e-06/1.857, allocations: 0 / 0.7429 GB, free: 47.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005955/1.858, allocations: 213 kB / 0.7431 GB, free: 47.03 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.03512/1.893, allocations: 9.048 MB / 0.7519 GB, free: 44.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.893, allocations: 7.188 kB / 0.7519 GB, free: 44.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03471/1.928, allocations: 4.859 MB / 0.7567 GB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02112/1.949, allocations: 7.871 MB / 0.7644 GB, free: 39.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009477/1.95, allocations: 0.6877 MB / 0.765 GB, free: 38.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003859/1.954, allocations: 0.9021 MB / 0.7659 GB, free: 37.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04325/1.997, allocations: 16.41 MB / 0.782 GB, free: 21.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003633/1.997, allocations: 22.31 kB / 0.782 GB, free: 21.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003549/2.001, allocations: 392.1 kB / 0.7823 GB, free: 21.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008258/2.002, allocations: 0.6909 MB / 0.783 GB, free: 20.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04001/2.042, allocations: 15.08 MB / 0.7977 GB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4023/2.444, allocations: 53.86 MB / 0.8503 GB, free: 44.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02278/2.467, allocations: 18.71 MB / 0.8686 GB, free: 35.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01316/2.48, allocations: 6.979 MB / 0.8754 GB, free: 35.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04977/2.53, allocations: 22.68 MB / 0.8976 GB, free: 29.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.219e-05/2.53, allocations: 90.45 kB / 0.8977 GB, free: 28.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=684): time 1.26e-05/2.53, allocations: 0 / 0.8977 GB, free: 28.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=690): time 0.05427/2.585, allocations: 23.37 MB / 0.9205 GB, free: 18.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/2.585, allocations: 114.4 kB / 0.9206 GB, free: 18.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004434/2.589, allocations: 2.432 MB / 0.923 GB, free: 17.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001246/2.59, allocations: 117.7 kB / 0.9231 GB, free: 17.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001796/2.592, allocations: 3.305 MB / 0.9263 GB, free: 14.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003039/2.595, allocations: 2.276 MB / 0.9285 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009036/2.596, allocations: 119.1 kB / 0.9287 GB, free: 13.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006338/2.597, allocations: 0.5907 MB / 0.9292 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009092/2.606, allocations: 4.638 MB / 0.9338 GB, free: 10.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01048/2.616, allocations: 5.916 MB / 0.9395 GB, free: 7.273 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/2.628, allocations: 5.64 MB / 0.945 GB, free: 4.863 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-05/2.628, allocations: 11.75 kB / 0.9451 GB, free: 4.863 MB / 426.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.05711/2.685, allocations: 14.62 MB / 0.9593 GB, free: 13.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.177e-05/2.685, allocations: 30.36 kB / 0.9594 GB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.113e-05/2.685, allocations: 36.03 kB / 0.9594 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01104/2.696, allocations: 3.842 MB / 0.9632 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006584/2.703, allocations: 1.124 MB / 0.9643 GB, free: 9.801 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01751/2.72, allocations: 10.65 MB / 0.9747 GB, free: 8 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00717/2.727, allocations: 427.2 kB / 0.9751 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001898/2.729, allocations: 270.5 kB / 0.9753 GB, free: 15.7 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.002335/2.732, allocations: 430.4 kB / 0.9757 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001659/2.733, allocations: 434.1 kB / 0.9761 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03422/2.768, allocations: 13.18 MB / 0.989 GB, free: 3.613 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3144/3.082, allocations: 11.78 MB / 1.001 GB, free: 90.44 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.7e-05/3.082, allocations: 1.594 kB / 1.001 GB, free: 90.44 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001301/3.082, allocations: 29.58 kB / 1.001 GB, free: 90.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06225/3.145, allocations: 26.14 MB / 1.026 GB, free: 89.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-05/3.145, allocations: 0 / 1.026 GB, free: 89.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005016/3.15, allocations: 0.8076 MB / 1.027 GB, free: 89.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00973/3.16, allocations: 3.784 MB / 1.031 GB, free: 89.53 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001547/3.161, allocations: 143.6 kB / 1.031 GB, free: 89.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/3.175, allocations: 10.55 MB / 1.041 GB, free: 86.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.259e-06/3.175, allocations: 3 kB / 1.041 GB, free: 86.39 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03773/3.213, allocations: 19.65 MB / 1.06 GB, free: 77.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004603/3.218, allocations: 1.541 MB / 1.062 GB, free: 77.14 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001771/3.219, allocations: 100.6 kB / 1.062 GB, free: 77.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004458/3.224, allocations: 285.4 kB / 1.062 GB, free: 76.99 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001977/3.226, allocations: 0.4979 MB / 1.063 GB, free: 76.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007864/3.227, allocations: 183.5 kB / 1.063 GB, free: 76.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003756/3.23, allocations: 1.837 MB / 1.065 GB, free: 76.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.239e-06/3.23, allocations: 3.812 kB / 1.065 GB, free: 76.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008371/3.239, allocations: 1.682 MB / 1.066 GB, free: 75.92 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.001911/3.241, allocations: 0.5518 MB / 1.067 GB, free: 75.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0231/3.264, allocations: 11.23 MB / 1.078 GB, free: 71.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.468e-06/3.264, allocations: 0 / 1.078 GB, free: 71.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01283/3.277, allocations: 5.825 MB / 1.083 GB, free: 68.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00568/3.283, allocations: 0.8435 MB / 1.084 GB, free: 68.65 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04033/3.323, allocations: 17.62 MB / 1.101 GB, free: 53.63 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0108/3.334, allocations: 6.332 MB / 1.108 GB, free: 48.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002372/3.336, allocations: 351 kB / 1.108 GB, free: 48.47 MB / 458.7 MB Notification: Performance of SimCode: time 1.861e-06/3.336, allocations: 0 / 1.108 GB, free: 48.47 MB / 458.7 MB Notification: Performance of Templates: time 1.797/5.133, allocations: 0.5759 GB / 1.684 GB, free: 96.57 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/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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