Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadModel(Modelica): time 1.821/1.821, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.204e-05, allocations: 3.094 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07922/0.07928, allocations: 44.5 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3852/0.4645, allocations: 125.8 MB / 425.7 MB, free: 5.852 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.4649, allocations: 93.19 kB / 425.8 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.682/2.147, allocations: 381.2 MB / 0.7881 GB, free: 14.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.133e-06/2.147, allocations: 4 kB / 0.7881 GB, free: 14.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007574/2.148, allocations: 239.8 kB / 0.7883 GB, free: 14.71 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.04604/2.194, allocations: 10.26 MB / 0.7983 GB, free: 4.359 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/2.194, allocations: 8.031 kB / 0.7983 GB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0495/2.244, allocations: 6.288 MB / 0.8045 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03042/2.274, allocations: 8.759 MB / 0.813 GB, free: 5.199 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001469/2.276, allocations: 0.7944 MB / 0.8138 GB, free: 4.402 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005357/2.281, allocations: 1.035 MB / 0.8148 GB, free: 3.367 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3434/2.624, allocations: 19.01 MB / 0.8334 GB, free: 38.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005197/2.625, allocations: 11.97 kB / 0.8334 GB, free: 38.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004299/2.629, allocations: 456.1 kB / 0.8338 GB, free: 38.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001177/2.631, allocations: 0.8215 MB / 0.8346 GB, free: 38.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04649/2.677, allocations: 17.83 MB / 0.852 GB, free: 38.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1332/2.81, allocations: 61.28 MB / 0.9119 GB, free: 17.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03221/2.843, allocations: 24.97 MB / 0.9363 GB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01908/2.862, allocations: 8.326 MB / 0.9444 GB, free: 12.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1009/2.963, allocations: 28.28 MB / 0.972 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/2.963, allocations: 113.9 kB / 0.9721 GB, free: 13.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=832): time 1.328e-05/2.963, allocations: 0 / 0.9721 GB, free: 13.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=838): time 0.371/3.334, allocations: 27.88 MB / 0.9994 GB, free: 65.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.516e-05/3.334, allocations: 127.1 kB / 0.9995 GB, free: 65.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006831/3.341, allocations: 2.672 MB / 1.002 GB, free: 65.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001653/3.343, allocations: 134.4 kB / 1.002 GB, free: 65.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002521/3.345, allocations: 3.721 MB / 1.006 GB, free: 63.51 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00397/3.349, allocations: 2.749 MB / 1.009 GB, free: 61.72 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001773/3.351, allocations: 144 kB / 1.009 GB, free: 61.72 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009974/3.352, allocations: 0.6431 MB / 1.009 GB, free: 61.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01216/3.364, allocations: 5.482 MB / 1.015 GB, free: 61.37 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01409/3.378, allocations: 6.959 MB / 1.021 GB, free: 59.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01482/3.393, allocations: 6.648 MB / 1.028 GB, free: 59.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.433e-05/3.393, allocations: 7.25 kB / 1.028 GB, free: 59.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.03995/3.433, allocations: 15.9 MB / 1.043 GB, free: 59.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.52e-05/3.433, allocations: 20 kB / 1.043 GB, free: 59.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.962e-05/3.433, allocations: 37.86 kB / 1.044 GB, free: 59.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01345/3.447, allocations: 4.994 MB / 1.048 GB, free: 59.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007648/3.455, allocations: 1.344 MB / 1.05 GB, free: 59.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/3.474, allocations: 12.34 MB / 1.062 GB, free: 54.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006885/3.481, allocations: 422.8 kB / 1.062 GB, free: 54.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0022/3.483, allocations: 319 kB / 1.062 GB, free: 54.11 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (704): * Single equations (assignments): 638 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * 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,18 115} Notification: Performance of prepare postOptimizeDAE: time 0.003762/3.487, allocations: 491.4 kB / 1.063 GB, free: 53.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002586/3.489, allocations: 0.4984 MB / 1.063 GB, free: 53.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04079/3.53, allocations: 15.9 MB / 1.079 GB, free: 46.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03362/3.564, allocations: 14.12 MB / 1.093 GB, free: 40.97 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.52e-05/3.564, allocations: 0 / 1.093 GB, free: 40.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001424/3.564, allocations: 35.42 kB / 1.093 GB, free: 40.97 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07298/3.637, allocations: 30.63 MB / 1.123 GB, free: 21.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.627e-05/3.637, allocations: 3.953 kB / 1.123 GB, free: 21.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006449/3.644, allocations: 1.021 MB / 1.124 GB, free: 20.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01213/3.656, allocations: 4.807 MB / 1.128 GB, free: 16.63 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001845/3.658, allocations: 174.2 kB / 1.129 GB, free: 16.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0179/3.676, allocations: 12.15 MB / 1.14 GB, free: 5.387 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.941e-06/3.676, allocations: 0.75 kB / 1.14 GB, free: 5.387 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4118/4.087, allocations: 23.75 MB / 1.164 GB, free: 78.53 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005804/4.093, allocations: 1.805 MB / 1.165 GB, free: 78.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002668/4.096, allocations: 120.6 kB / 1.165 GB, free: 78.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005776/4.102, allocations: 372.9 kB / 1.166 GB, free: 78.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002759/4.105, allocations: 0.5962 MB / 1.166 GB, free: 78.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001955/4.107, allocations: 226.8 kB / 1.167 GB, free: 78.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00548/4.112, allocations: 2.015 MB / 1.169 GB, free: 78.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.243e-06/4.112, allocations: 0 / 1.169 GB, free: 78.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01113/4.123, allocations: 1.992 MB / 1.171 GB, free: 78.27 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (538): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * 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,17 116} Notification: Performance of Backend phase and start with SimCode phase: time 0.002655/4.126, allocations: 0.6389 MB / 1.171 GB, free: 78.17 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03104/4.157, allocations: 13.4 MB / 1.184 GB, free: 77.86 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.573e-06/4.157, allocations: 4.094 kB / 1.184 GB, free: 77.86 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0178/4.175, allocations: 6.985 MB / 1.191 GB, free: 77.69 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007738/4.183, allocations: 0.9772 MB / 1.192 GB, free: 77.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0573/4.24, allocations: 20.59 MB / 1.212 GB, free: 74.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01636/4.256, allocations: 7.165 MB / 1.219 GB, free: 73.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003619/4.26, allocations: 435.8 kB / 1.22 GB, free: 73.89 MB / 474.7 MB Notification: Performance of SimCode: time 2.18e-06/4.26, allocations: 0 / 1.22 GB, free: 73.89 MB / 474.7 MB Notification: Performance of Templates: time 1.688/5.948, allocations: 0.5938 GB / 1.813 GB, free: 49.46 MB / 0.4948 GB make -j1 -f Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.IMS_CharacteristicsCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.cpp:28: ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsFunctions.cpp:516:43: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp356 = 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.IMS_CharacteristicsFunctions.cpp:516:86: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp356 = 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.IMS_CharacteristicsCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.o] Error 1