Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadModel(Modelica): time 1.883/1.883, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.923e-05/2.935e-05, allocations: 4 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09042, allocations: 50.41 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4076/0.498, allocations: 114.8 MB / 457.3 MB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.4984, allocations: 95.23 kB / 457.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5488/1.047, allocations: 83.98 MB / 0.5287 GB, free: 93.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.328e-06/1.047, allocations: 0 / 0.5287 GB, free: 93.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003316/1.048, allocations: 86.97 kB / 0.5288 GB, free: 93.34 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.0117/1.059, allocations: 3.307 MB / 0.532 GB, free: 92.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/1.059, allocations: 9.094 kB / 0.532 GB, free: 92.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005605/1.065, allocations: 0.7435 MB / 0.5327 GB, free: 92.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/1.076, allocations: 3.361 MB / 0.536 GB, free: 91.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002883/1.076, allocations: 244.6 kB / 0.5363 GB, free: 91.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/1.077, allocations: 326.4 kB / 0.5366 GB, free: 91.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/1.088, allocations: 4.087 MB / 0.5406 GB, free: 91.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/1.088, allocations: 1.188 kB / 0.5406 GB, free: 91.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004707/1.088, allocations: 138.1 kB / 0.5407 GB, free: 91.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001886/1.089, allocations: 147.2 kB / 0.5408 GB, free: 91.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008804/1.097, allocations: 3.293 MB / 0.5441 GB, free: 91.14 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04667/1.144, allocations: 13.48 MB / 0.5572 GB, free: 88.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01436/1.159, allocations: 6.852 MB / 0.5639 GB, free: 83.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005838/1.164, allocations: 1.348 MB / 0.5652 GB, free: 83.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01674/1.181, allocations: 3.847 MB / 0.569 GB, free: 81.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003158/1.184, allocations: 0.8186 MB / 0.5698 GB, free: 80.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=130): time 9.921e-06/1.185, allocations: 0 / 0.5698 GB, free: 80.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=138): time 0.01302/1.198, allocations: 5.068 MB / 0.5747 GB, free: 78.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/1.198, allocations: 224.5 kB / 0.5749 GB, free: 77.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/1.201, allocations: 1.654 MB / 0.5766 GB, free: 77.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002434/1.201, allocations: 45.67 kB / 0.5766 GB, free: 77.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001179/1.202, allocations: 1.412 MB / 0.578 GB, free: 76.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004334/1.203, allocations: 477.2 kB / 0.5784 GB, free: 75.69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/1.203, allocations: 35.5 kB / 0.5785 GB, free: 75.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/1.203, allocations: 373.7 kB / 0.5788 GB, free: 75.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/1.204, allocations: 0.6334 MB / 0.5794 GB, free: 75.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/1.206, allocations: 1.157 MB / 0.5806 GB, free: 74.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/1.207, allocations: 0.8503 MB / 0.5814 GB, free: 73.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/1.207, allocations: 3.625 kB / 0.5814 GB, free: 73.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.004351/1.212, allocations: 2.19 MB / 0.5835 GB, free: 72.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/1.212, allocations: 11.12 kB / 0.5836 GB, free: 72.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/1.212, allocations: 14.12 kB / 0.5836 GB, free: 72.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009101/1.213, allocations: 295.8 kB / 0.5839 GB, free: 72.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/1.215, allocations: 367.6 kB / 0.5842 GB, free: 72.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005792/1.22, allocations: 5.828 MB / 0.5899 GB, free: 67.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/1.222, allocations: 103.7 kB / 0.59 GB, free: 67.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/1.223, allocations: 68 kB / 0.5901 GB, free: 67.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003803/1.223, allocations: 221.8 kB / 0.5903 GB, free: 67.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004561/1.224, allocations: 200.1 kB / 0.5905 GB, free: 67.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/1.228, allocations: 2.2 MB / 0.5926 GB, free: 66.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/1.228, allocations: 20.72 kB / 0.5926 GB, free: 66.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.228, allocations: 6.906 kB / 0.5926 GB, free: 66.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/1.228, allocations: 3.797 kB / 0.5926 GB, free: 66.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009983/1.238, allocations: 5.127 MB / 0.5976 GB, free: 64.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.351e-06/1.238, allocations: 0 / 0.5976 GB, free: 64.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/1.239, allocations: 182.5 kB / 0.5978 GB, free: 64.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001522/1.241, allocations: 459.2 kB / 0.5983 GB, free: 63.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/1.241, allocations: 41.89 kB / 0.5983 GB, free: 63.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/1.252, allocations: 10.13 MB / 0.6082 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.343e-06/1.252, allocations: 5.688 kB / 0.6082 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005873/1.258, allocations: 3.098 MB / 0.6112 GB, free: 53.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.259, allocations: 443.6 kB / 0.6116 GB, free: 53.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003645/1.259, allocations: 31.47 kB / 0.6117 GB, free: 53.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.261, allocations: 69.45 kB / 0.6117 GB, free: 53.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000274/1.261, allocations: 105.9 kB / 0.6118 GB, free: 53.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/1.261, allocations: 36.91 kB / 0.6119 GB, free: 53.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002211/1.263, allocations: 1.268 MB / 0.6131 GB, free: 52.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.263, allocations: 0 / 0.6131 GB, free: 52.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003059/1.266, allocations: 0.6282 MB / 0.6137 GB, free: 52.85 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 3,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001922/1.268, allocations: 0.7109 MB / 0.6144 GB, free: 52.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003776/1.272, allocations: 2.057 MB / 0.6164 GB, free: 51.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.008e-06/1.272, allocations: 0 / 0.6164 GB, free: 51.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002548/1.275, allocations: 1.483 MB / 0.6179 GB, free: 50.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/1.277, allocations: 0.4988 MB / 0.6184 GB, free: 50.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0098/1.287, allocations: 4.634 MB / 0.6229 GB, free: 48.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00235/1.29, allocations: 2.366 MB / 0.6252 GB, free: 47.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007308/1.29, allocations: 142 kB / 0.6253 GB, free: 47.43 MB / 442.7 MB Notification: Performance of SimCode: time 1.791e-06/1.29, allocations: 0 / 0.6253 GB, free: 47.43 MB / 442.7 MB Notification: Performance of Templates: time 0.3807/1.671, allocations: 107.8 MB / 0.7306 GB, free: 101 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorFunctions.cpp:221:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp24.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o] Error 1