Running command: translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT") Notification: Performance of loadModel(Modelica): time 1.905/1.905, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.328e-05, allocations: 11.98 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08806/0.08812, allocations: 50.41 MB / 342.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4611, allocations: 95.82 MB / 438.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.4613, allocations: 69.78 kB / 438.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.341/1.802, allocations: 167.7 MB / 0.5919 GB, free: 80.6 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.51e-06/1.802, allocations: 0 / 0.5919 GB, free: 80.6 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0005269/1.803, allocations: 255.6 kB / 0.5921 GB, free: 80.58 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: 5853 * Number of variables: 5853 Notification: Performance of Generate backend data structure: time 0.0251/1.828, allocations: 15.88 MB / 0.6076 GB, free: 73.8 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.828, allocations: 7.188 kB / 0.6076 GB, free: 73.8 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/1.832, allocations: 1.729 MB / 0.6093 GB, free: 72.8 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02535/1.858, allocations: 8.832 MB / 0.618 GB, free: 67.88 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002806/1.858, allocations: 295.2 kB / 0.6182 GB, free: 67.59 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001804/1.86, allocations: 387.4 kB / 0.6186 GB, free: 67.22 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04363/1.904, allocations: 27.68 MB / 0.6456 GB, free: 39.38 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.971e-05/1.904, allocations: 0 / 0.6456 GB, free: 39.38 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001117/1.905, allocations: 171.3 kB / 0.6458 GB, free: 39.21 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002078/1.905, allocations: 204 kB / 0.646 GB, free: 39.01 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03613/1.941, allocations: 23.97 MB / 0.6694 GB, free: 15.03 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0609/2.002, allocations: 28.71 MB / 0.6974 GB, free: 2.293 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3352/2.337, allocations: 83.45 MB / 0.7789 GB, free: 34.47 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.08854/2.426, allocations: 80.25 MB / 0.8573 GB, free: 6.508 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004251/2.427, allocations: 144.8 kB / 0.8575 GB, free: 6.414 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3124/2.739, allocations: 28.94 MB / 0.8857 GB, free: 121.4 MB / 490.8 MB Notification: Performance of pre-optimization done (n=5058): time 1.106e-05/2.739, allocations: 4.156 kB / 0.8857 GB, free: 121.4 MB / 490.8 MB Notification: Performance of matching and sorting (n=5065): time 13.08/15.82, allocations: 2.189 GB / 3.074 GB, free: 3.359 MB / 1.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007757/15.83, allocations: 7.36 MB / 3.081 GB, free: 12.23 MB / 1.839 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005383/15.83, allocations: 2.346 MB / 3.084 GB, free: 9.875 MB / 1.839 GB Notification: Performance of collectPreVariables (initialization): time 0.008077/15.84, allocations: 3.955 MB / 3.088 GB, free: 5.906 MB / 1.839 GB Notification: Performance of collectInitialEqns (initialization): time 0.002268/15.84, allocations: 1.607 MB / 3.089 GB, free: 4.355 MB / 1.839 GB Notification: Performance of collectInitialBindings (initialization): time 0.0309/15.88, allocations: 21.64 MB / 3.11 GB, free: 14.82 MB / 1.87 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006324/15.88, allocations: 1.519 MB / 3.112 GB, free: 13.3 MB / 1.87 GB Notification: Performance of setup shared object (initialization): time 0.007139/15.89, allocations: 3.504 MB / 3.115 GB, free: 9.785 MB / 1.87 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06477/15.95, allocations: 26.27 MB / 3.141 GB, free: 15.49 MB / 1.901 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09634/16.05, allocations: 57.41 MB / 3.197 GB, free: 8.668 MB / 1.964 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08086/16.13, allocations: 38.21 MB / 3.234 GB, free: 3.07 MB / 1.995 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001335/16.13, allocations: 300 kB / 3.235 GB, free: 2.777 MB / 1.995 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.2104/16.34, allocations: 83.42 MB / 3.316 GB, free: 15.27 MB / 2.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.001549/16.34, allocations: 481.7 kB / 3.316 GB, free: 14.79 MB / 2.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002156/16.35, allocations: 1.039 MB / 3.317 GB, free: 13.75 MB / 2.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009246/16.36, allocations: 3.015 MB / 3.32 GB, free: 10.71 MB / 2.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04684/16.4, allocations: 10.72 MB / 3.331 GB, free: 15.96 MB / 2.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03876/16.44, allocations: 25.54 MB / 3.356 GB, free: 5.156 MB / 2.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04126/16.48, allocations: 2.492 MB / 3.358 GB, free: 2.664 MB / 2.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01314/16.5, allocations: 3.602 MB / 3.362 GB, free: 15.06 MB / 2.136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4832 * Number of states: 0 () * Number of discrete variables: 24 ($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,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9809): * Single equations (assignments): 9798 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.03214/16.53, allocations: 11.05 MB / 3.373 GB, free: 3.953 MB / 2.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008166/16.54, allocations: 2.342 MB / 3.375 GB, free: 1.59 MB / 2.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 11.62/28.16, allocations: 8.839 GB / 12.21 GB, free: 21.63 MB / 2.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/28.16, allocations: 28 kB / 12.21 GB, free: 21.61 MB / 2.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/28.16, allocations: 11.78 kB / 12.21 GB, free: 21.6 MB / 2.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.511e-05/28.16, allocations: 11.95 kB / 12.21 GB, free: 21.59 MB / 2.495 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 12.1/40.25, allocations: 8.864 GB / 21.08 GB, free: 1.765 GB / 2.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.9e-05/40.25, allocations: 4 kB / 21.08 GB, free: 1.765 GB / 2.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/40.25, allocations: 296.7 kB / 21.08 GB, free: 1.765 GB / 2.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004453/40.26, allocations: 1.379 MB / 21.08 GB, free: 1.764 GB / 2.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004512/40.26, allocations: 0.7968 MB / 21.08 GB, free: 1.763 GB / 2.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02772/40.29, allocations: 23.17 MB / 21.1 GB, free: 1.739 GB / 2.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.578e-06/40.29, allocations: 0 / 21.1 GB, free: 1.739 GB / 2.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 11.74/52.04, allocations: 8.891 GB / 29.99 GB, free: 1.336 GB / 2.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01842/52.05, allocations: 6.344 MB / 30 GB, free: 1.331 GB / 2.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005609/52.06, allocations: 0.6512 MB / 30 GB, free: 1.33 GB / 2.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01072/52.07, allocations: 0.7179 MB / 30 GB, free: 1.33 GB / 2.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004334/52.08, allocations: 0.6554 MB / 30 GB, free: 1.329 GB / 2.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004853/52.08, allocations: 1.245 MB / 30 GB, free: 1.328 GB / 2.495 GB Notification: Performance of sorting global known variables: time 0.003762/52.08, allocations: 1.825 MB / 30.01 GB, free: 1.326 GB / 2.495 GB Notification: Performance of sort global known variables: time 1.224e-06/52.08, allocations: 0 / 30.01 GB, free: 1.326 GB / 2.495 GB Notification: Performance of remove unused functions: time 0.04934/52.13, allocations: 9.992 MB / 30.01 GB, free: 1.316 GB / 2.495 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 20 (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,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.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 (155): * Single equations (assignments): 143 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005266/52.14, allocations: 1.076 MB / 30.02 GB, free: 1.315 GB / 2.495 GB Notification: Performance of simCode: created initialization part: time 0.1378/52.28, allocations: 81.8 MB / 30.1 GB, free: 1.236 GB / 2.495 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/52.28, allocations: 0.7188 kB / 30.1 GB, free: 1.236 GB / 2.495 GB Notification: Performance of simCode: created simulation system equations: time 51.22/103.5, allocations: 28.61 GB / 58.71 GB, free: 0.974 GB / 3.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01178/103.5, allocations: 1.476 MB / 58.71 GB, free: 0.9727 GB / 3.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.108/103.6, allocations: 54.35 MB / 58.76 GB, free: 0.92 GB / 3.323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01896/103.6, allocations: 10.21 MB / 58.77 GB, free: 0.91 GB / 3.323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009223/103.6, allocations: 1.339 MB / 58.78 GB, free: 0.9087 GB / 3.323 GB Notification: Performance of SimCode: time 1.839e-06/103.6, allocations: 0 / 58.78 GB, free: 0.9087 GB / 3.323 GB Notification: Performance of Templates: time 3.939/107.6, allocations: 1.695 GB / 60.47 GB, free: 2.126 GB / 3.323 GB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT.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.Rectifier12pulseFFTCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFTFunctions.cpp:404:46: error: use of undeclared identifier '_omcQuot_24746D7056617230_'; did you mean '_omcQuot_24746D7056617231_'? Modelica_Units_Conversions_to__deg(_omcQuot_24746D7056617230_,tmp51); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617231_ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFTFunctions.cpp:377:14: note: '_omcQuot_24746D7056617231_' declared here double _omcQuot_24746D7056617231_; ^ ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFTFunctions.cpp:614: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.Rectifier12pulseFFTCalcHelperMain.cpp:33: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT.cpp:30820:7: warning: expression result unused [-Wunused-value] tmp9; ^~~~ 1 warning and 2 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.o] Error 1