Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.794e-05/2.801e-05, allocations: 4 kB / 292.1 MB, free: 8.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09144/0.09148, allocations: 50.42 MB / 342.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.496, allocations: 108.5 MB / 451.1 MB, free: 1.918 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.4963, allocations: 83.02 kB / 451.2 MB, free: 1.879 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1795/0.6758, allocations: 44.73 MB / 495.9 MB, free: 9.469 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.179e-06/0.6758, allocations: 4 kB / 495.9 MB, free: 9.465 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00018/0.676, allocations: 47.94 kB / 496 MB, free: 9.418 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.005032/0.6811, allocations: 2.081 MB / 498 MB, free: 7.285 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.6811, allocations: 8.875 kB / 498 MB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.6822, allocations: 280.9 kB / 498.3 MB, free: 7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003834/0.686, allocations: 1.428 MB / 499.7 MB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.6862, allocations: 143.8 kB / 499.9 MB, free: 5.375 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000443/0.6867, allocations: 191.9 kB / 0.4884 GB, free: 5.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005912/0.6926, allocations: 2.335 MB / 0.4906 GB, free: 2.781 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.628e-05/0.6927, allocations: 8 kB / 0.4906 GB, free: 2.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002943/0.6931, allocations: 83.95 kB / 0.4907 GB, free: 2.691 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.6932, allocations: 91.69 kB / 0.4908 GB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004661/0.6979, allocations: 1.807 MB / 0.4926 GB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01707/0.715, allocations: 7.448 MB / 0.4998 GB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/0.7177, allocations: 1.333 MB / 0.5011 GB, free: 7.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.7193, allocations: 0.7223 MB / 0.5019 GB, free: 7.031 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003614/0.7197, allocations: 138 kB / 0.502 GB, free: 6.875 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/0.7211, allocations: 0.6692 MB / 0.5026 GB, free: 6.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 4.695e-06/0.7211, allocations: 0 / 0.5026 GB, free: 6.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=131): time 0.02249/0.7436, allocations: 7.392 MB / 0.5099 GB, free: 14.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.7438, allocations: 167.5 kB / 0.51 GB, free: 14.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002573/0.7464, allocations: 1.214 MB / 0.5112 GB, free: 13.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000185/0.7466, allocations: 45.7 kB / 0.5112 GB, free: 13.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.7476, allocations: 0.8871 MB / 0.5121 GB, free: 12.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005733/0.7482, allocations: 457.5 kB / 0.5126 GB, free: 11.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.7483, allocations: 32 kB / 0.5126 GB, free: 11.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002375/0.7486, allocations: 370.8 kB / 0.5129 GB, free: 11.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.7501, allocations: 0.6638 MB / 0.5136 GB, free: 10.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/0.7519, allocations: 1.016 MB / 0.5146 GB, free: 9.633 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.7537, allocations: 0.8364 MB / 0.5154 GB, free: 8.797 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.7537, allocations: 4 kB / 0.5154 GB, free: 8.793 MB / 442.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.00569/0.7594, allocations: 2.35 MB / 0.5177 GB, free: 6.422 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.7595, allocations: 12 kB / 0.5177 GB, free: 6.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.7595, allocations: 8 kB / 0.5177 GB, free: 6.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/0.7619, allocations: 0.6551 MB / 0.5183 GB, free: 5.738 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.7635, allocations: 303.5 kB / 0.5186 GB, free: 5.441 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2531/1.017, allocations: 6.459 MB / 0.5249 GB, free: 115.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/1.018, allocations: 104.9 kB / 0.525 GB, free: 115.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/1.019, allocations: 58.47 kB / 0.5251 GB, free: 115.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (150): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003415/1.019, allocations: 189 kB / 0.5253 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/1.019, allocations: 163.8 kB / 0.5254 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005569/1.025, allocations: 2.346 MB / 0.5277 GB, free: 114.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/1.025, allocations: 13.75 kB / 0.5277 GB, free: 114.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/1.025, allocations: 5.5 kB / 0.5277 GB, free: 114.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/1.025, allocations: 6.75 kB / 0.5278 GB, free: 114.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/1.036, allocations: 4.801 MB / 0.5324 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/1.036, allocations: 2.5 kB / 0.5324 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/1.037, allocations: 186.8 kB / 0.5326 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002665/1.04, allocations: 0.718 MB / 0.5333 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/1.04, allocations: 33.23 kB / 0.5334 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/1.052, allocations: 8.134 MB / 0.5413 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.941e-06/1.052, allocations: 6.188 kB / 0.5413 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007272/1.059, allocations: 3.435 MB / 0.5447 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.06, allocations: 396 kB / 0.545 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003345/1.06, allocations: 37.66 kB / 0.5451 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/1.062, allocations: 78.88 kB / 0.5451 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/1.062, allocations: 103.9 kB / 0.5452 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/1.062, allocations: 39.47 kB / 0.5453 GB, free: 109.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001747/1.064, allocations: 0.9387 MB / 0.5462 GB, free: 109.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.531e-06/1.064, allocations: 0 / 0.5462 GB, free: 109.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001939/1.066, allocations: 0.5198 MB / 0.5467 GB, free: 109.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(5,76.0%) 23,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0018/1.068, allocations: 0.6087 MB / 0.5473 GB, free: 109.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004217/1.072, allocations: 2.283 MB / 0.5495 GB, free: 109.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.775e-06/1.072, allocations: 6.781 kB / 0.5495 GB, free: 109.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002992/1.075, allocations: 1.534 MB / 0.551 GB, free: 108.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/1.077, allocations: 387.4 kB / 0.5514 GB, free: 108.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00731/1.084, allocations: 3.564 MB / 0.5549 GB, free: 106.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/1.086, allocations: 1.747 MB / 0.5566 GB, free: 105.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006446/1.087, allocations: 117.2 kB / 0.5567 GB, free: 105.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.826e-06/1.087, allocations: 0 / 0.5567 GB, free: 105.9 MB / 442.7 MB Notification: Performance of Templates: time 0.07052/1.157, allocations: 61.89 MB / 0.6171 GB, free: 69.39 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.InductionMachines.IMC_ConveyorCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_ConveyorCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_ConveyorCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_ConveyorFunctions.cpp:215:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp11.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.Electrical.Machines.Examples.InductionMachines.IMC_ConveyorCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_ConveyorCalcHelperMain.o] Error 1