Running command: translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT") Notification: Performance of loadModel(Modelica): time 1.95/1.95, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.761e-05/2.772e-05, allocations: 6.188 kB / 292.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09096/0.09101, allocations: 50.42 MB / 342.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3739/0.4649, allocations: 94.2 MB / 436.7 MB, free: 56 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.4652, allocations: 73.45 kB / 436.8 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.17/1.635, allocations: 114.6 MB / 0.5385 GB, free: 82.9 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.754e-06/1.635, allocations: 0 / 0.5385 GB, free: 82.9 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0004469/1.635, allocations: 214.1 kB / 0.5387 GB, free: 82.89 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5386 * Number of variables: 5386 Notification: Performance of Generate backend data structure: time 0.02321/1.658, allocations: 14.28 MB / 0.5526 GB, free: 78.53 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/1.659, allocations: 13.48 kB / 0.5526 GB, free: 78.53 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003712/1.662, allocations: 1.489 MB / 0.5541 GB, free: 77.64 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02272/1.685, allocations: 7.663 MB / 0.5616 GB, free: 76.33 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/1.685, allocations: 171.2 kB / 0.5617 GB, free: 76.32 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009773/1.686, allocations: 215.1 kB / 0.562 GB, free: 76.32 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0379/1.724, allocations: 25.16 MB / 0.5865 GB, free: 70.45 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.013e-05/1.724, allocations: 3.938 kB / 0.5865 GB, free: 70.44 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007715/1.725, allocations: 97.72 kB / 0.5866 GB, free: 70.37 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/1.725, allocations: 113.6 kB / 0.5867 GB, free: 70.36 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03201/1.757, allocations: 21.91 MB / 0.6081 GB, free: 59.43 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04239/1.8, allocations: 21.19 MB / 0.6288 GB, free: 46.17 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3453/2.145, allocations: 81.08 MB / 0.708 GB, free: 72.64 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.06438/2.209, allocations: 78.09 MB / 0.7843 GB, free: 31.71 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003512/2.21, allocations: 142 kB / 0.7844 GB, free: 31.61 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03829/2.248, allocations: 28.14 MB / 0.8119 GB, free: 18.84 MB / 458.8 MB Notification: Performance of pre-optimization done (n=4937): time 6.822e-06/2.248, allocations: 0 / 0.8119 GB, free: 18.84 MB / 458.8 MB Notification: Performance of matching and sorting (n=4941): time 14.23/16.48, allocations: 2.187 GB / 2.999 GB, free: 147.4 MB / 1.886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004532/16.49, allocations: 7.193 MB / 3.006 GB, free: 140.5 MB / 1.886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/16.49, allocations: 1.338 MB / 3.007 GB, free: 139.1 MB / 1.886 GB Notification: Performance of collectPreVariables (initialization): time 0.005448/16.49, allocations: 3.937 MB / 3.011 GB, free: 135.2 MB / 1.886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009592/16.49, allocations: 0.9893 MB / 3.012 GB, free: 134.3 MB / 1.886 GB Notification: Performance of collectInitialBindings (initialization): time 0.02113/16.52, allocations: 21.23 MB / 3.032 GB, free: 113.3 MB / 1.886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005377/16.52, allocations: 1.488 MB / 3.034 GB, free: 111.9 MB / 1.886 GB Notification: Performance of setup shared object (initialization): time 0.006154/16.53, allocations: 3.459 MB / 3.037 GB, free: 108.4 MB / 1.886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05064/16.58, allocations: 25.65 MB / 3.062 GB, free: 82.71 MB / 1.886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06624/16.64, allocations: 56.6 MB / 3.118 GB, free: 12.73 MB / 1.886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07367/16.72, allocations: 37.47 MB / 3.154 GB, free: 7.797 MB / 1.917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001413/16.72, allocations: 300 kB / 3.155 GB, free: 7.504 MB / 1.917 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.209/16.93, allocations: 81.4 MB / 3.234 GB, free: 6.07 MB / 1.995 GB Notification: Performance of prepare postOptimizeDAE: time 0.001491/16.93, allocations: 493.7 kB / 3.234 GB, free: 5.582 MB / 1.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001966/16.93, allocations: 1.032 MB / 3.235 GB, free: 4.551 MB / 1.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005989/16.94, allocations: 2.317 MB / 3.238 GB, free: 2.23 MB / 1.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04512/16.98, allocations: 10.54 MB / 3.248 GB, free: 7.66 MB / 2.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/17, allocations: 12.61 MB / 3.26 GB, free: 10.54 MB / 2.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04131/17.05, allocations: 2.418 MB / 3.263 GB, free: 8.117 MB / 2.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01305/17.06, allocations: 3.569 MB / 3.266 GB, free: 4.551 MB / 2.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4821 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.realFFT.firstTrigger,realFFT.firstTrigger,$PRE.realFFT.info,realFFT.info,$PRE.realFFT.buf[4000],realFFT.buf[4000],$PRE.realFFT.iTick,realFFT.iTick,$whenCondition3,$whenCondition1,$whenCondition2,realFFT.sampleTrigger,diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9716): * Single equations (assignments): 9711 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.03197/17.09, allocations: 10.99 MB / 3.277 GB, free: 9.512 MB / 2.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007855/17.1, allocations: 2.218 MB / 3.279 GB, free: 7.277 MB / 2.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 10.79/27.89, allocations: 8.837 GB / 12.12 GB, free: 1.264 GB / 2.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/27.89, allocations: 12 kB / 12.12 GB, free: 1.264 GB / 2.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/27.89, allocations: 10.44 kB / 12.12 GB, free: 1.264 GB / 2.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.68e-05/27.89, allocations: 7.969 kB / 12.12 GB, free: 1.264 GB / 2.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 10.25/38.14, allocations: 8.86 GB / 20.98 GB, free: 1.814 GB / 2.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/38.14, allocations: 4.562 kB / 20.98 GB, free: 1.814 GB / 2.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009276/38.14, allocations: 156.5 kB / 20.98 GB, free: 1.814 GB / 2.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002139/38.15, allocations: 0.7034 MB / 20.98 GB, free: 1.813 GB / 2.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003874/38.15, allocations: 0.7749 MB / 20.98 GB, free: 1.813 GB / 2.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/38.16, allocations: 10.36 MB / 20.99 GB, free: 1.802 GB / 2.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.446e-06/38.16, allocations: 0 / 20.99 GB, free: 1.802 GB / 2.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 10.25/48.41, allocations: 8.888 GB / 29.88 GB, free: 2.247 GB / 2.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01706/48.43, allocations: 6.051 MB / 29.88 GB, free: 2.247 GB / 2.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004829/48.43, allocations: 0.6223 MB / 29.88 GB, free: 2.247 GB / 2.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01022/48.44, allocations: 0.6647 MB / 29.88 GB, free: 2.247 GB / 2.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003677/48.44, allocations: 0.5531 MB / 29.88 GB, free: 2.247 GB / 2.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004142/48.45, allocations: 1.217 MB / 29.89 GB, free: 2.247 GB / 2.714 GB Notification: Performance of sorting global known variables: time 0.002037/48.45, allocations: 1.046 MB / 29.89 GB, free: 2.247 GB / 2.714 GB Notification: Performance of sort global known variables: time 9.33e-07/48.45, allocations: 1.312 kB / 29.89 GB, free: 2.247 GB / 2.714 GB Notification: Performance of remove unused functions: time 0.04644/48.5, allocations: 9.543 MB / 29.9 GB, free: 2.247 GB / 2.714 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 14 (realFFT.sampleTrigger,$whenCondition3,$whenCondition1,$whenCondition2,diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,realFFT.firstTrigger,realFFT.info,realFFT.buf[4000],realFFT.iTick) * Number of discrete states: 5 (realFFT.info,$whenCondition2,realFFT.buf[4000],realFFT.iTick,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004884/48.5, allocations: 1.007 MB / 29.9 GB, free: 2.246 GB / 2.714 GB Notification: Performance of simCode: created initialization part: time 0.1246/48.63, allocations: 79.42 MB / 29.97 GB, free: 2.216 GB / 2.714 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/48.63, allocations: 5.328 kB / 29.97 GB, free: 2.216 GB / 2.714 GB Notification: Performance of simCode: created simulation system equations: time 46.26/94.89, allocations: 28.61 GB / 58.59 GB, free: 2.602 GB / 3.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01018/94.9, allocations: 1.065 MB / 58.59 GB, free: 2.601 GB / 3.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1033/95, allocations: 51.15 MB / 58.64 GB, free: 2.553 GB / 3.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01531/95.02, allocations: 9.084 MB / 58.65 GB, free: 2.544 GB / 3.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00838/95.02, allocations: 1.272 MB / 58.65 GB, free: 2.543 GB / 3.12 GB Notification: Performance of SimCode: time 1.711e-06/95.02, allocations: 0 / 58.65 GB, free: 2.543 GB / 3.12 GB Notification: Performance of Templates: time 2.993/98.02, allocations: 1.385 GB / 60.03 GB, free: 1.158 GB / 3.12 GB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.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/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFTFunctions.cpp:359:46: error: use of undeclared identifier '_omcQuot_24746D7056617230_'; did you mean '_omcQuot_24746D7056617231_'? Modelica_Units_Conversions_to__deg(_omcQuot_24746D7056617230_,tmp39); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617231_ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFTFunctions.cpp:332:14: note: '_omcQuot_24746D7056617231_' declared here double _omcQuot_24746D7056617231_; ^ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFTFunctions.cpp:569:15: error: no matching function for call to 'ModelicaFFT_kiss_fftr' info__ext = ModelicaFFT_kiss_fftr(ConstArray(u_).getData(), u_.getDim(1), work_.getData(), work_.getDim(1), amplitudes_.getData(), phases_.getData()); ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaFFT.h:72:21: note: candidate function not viable: 1st argument ('const double *') would lose const qualifier MODELICA_EXPORT int ModelicaFFT_kiss_fftr(_In_ double* u, size_t nu, _In_ double* work, size_t nwork, ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.cpp:33: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.cpp:29844:7: warning: expression result unused [-Wunused-value] tmp7; ^~~~ 1 warning and 2 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.o] Error 1