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 2.038/2.038, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.036e-05/3.036e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 50.42 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.0132/0.126, allocations: 7.484 MB / 352.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008346/0.1344, allocations: 3.041 MB / 355.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.136, allocations: 59.81 kB / 355.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002373/0.1385, allocations: 0.5519 MB / 356.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00322/0.1417, allocations: 0.623 MB / 356.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.1435, allocations: 311.4 kB / 357 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004/0.1475, allocations: 1.181 MB / 358.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002184/0.1498, allocations: 0.9816 MB / 359.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.1514, allocations: 0.6233 MB / 359.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002189/0.1537, allocations: 0.8722 MB / 360.7 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.1548, allocations: 171.8 kB / 360.9 MB, free: 9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004612/0.1553, allocations: 83.94 kB / 361 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009344/0.1562, allocations: 0.5373 MB / 361.5 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008043/0.1571, allocations: 192 kB / 361.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004998/0.1621, allocations: 2.945 MB / 364.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1621, allocations: 0 / 364.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1622, allocations: 0 / 364.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001241/0.1623, allocations: 0 / 364.6 MB, free: 5.238 MB / 298.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.00686/0.1692, allocations: 2.077 MB / 366.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.1692, allocations: 8.031 kB / 366.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.1705, allocations: 273 kB / 367 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003726/0.1743, allocations: 1.307 MB / 368.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.1745, allocations: 139.7 kB / 368.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000506/0.175, allocations: 191.9 kB / 368.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006908/0.1819, allocations: 2.42 MB / 371 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.385e-05/0.182, allocations: 0 / 371 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/0.1823, allocations: 79.98 kB / 371.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/0.1825, allocations: 87.69 kB / 371.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006031/0.1885, allocations: 1.982 MB / 373.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01978/0.2084, allocations: 7.386 MB / 380.6 MB, free: 4.957 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00335/0.2118, allocations: 1.355 MB / 381.9 MB, free: 3.535 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00042/0.2123, allocations: 122.1 kB / 382 MB, free: 3.398 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001855/0.2141, allocations: 0.6983 MB / 382.7 MB, free: 2.676 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 4.388e-06/0.2142, allocations: 0 / 382.7 MB, free: 2.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=121): time 0.02773/0.2419, allocations: 7.284 MB / 390 MB, free: 11.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.2421, allocations: 171.2 kB / 390.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002843/0.2449, allocations: 1.208 MB / 391.4 MB, free: 9.793 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002671/0.2453, allocations: 45.7 kB / 391.4 MB, free: 9.742 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001048/0.2463, allocations: 0.8985 MB / 392.3 MB, free: 8.832 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006504/0.247, allocations: 414 kB / 392.7 MB, free: 8.422 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.2471, allocations: 32 kB / 392.8 MB, free: 8.391 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.2473, allocations: 362.8 kB / 393.1 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.2493, allocations: 0.6442 MB / 393.8 MB, free: 7.383 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002411/0.2518, allocations: 0.9928 MB / 394.8 MB, free: 6.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/0.2542, allocations: 0.791 MB / 395.6 MB, free: 5.457 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.2542, allocations: 0 / 395.6 MB, free: 5.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.006846/0.2611, allocations: 2.226 MB / 397.8 MB, free: 3.191 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.2612, allocations: 8.25 kB / 397.8 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.2612, allocations: 12 kB / 397.8 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/0.2632, allocations: 481.6 kB / 398.3 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/0.2657, allocations: 299.5 kB / 398.6 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2989/0.5646, allocations: 6.522 MB / 405.1 MB, free: 45.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.5666, allocations: 97.61 kB / 405.2 MB, free: 45.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/0.5669, allocations: 56.53 kB / 405.2 MB, free: 45.85 MB / 330.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 (151): * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001777/0.5687, allocations: 0.6291 MB / 405.9 MB, free: 45.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005137/0.5692, allocations: 154.4 kB / 406 MB, free: 45.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006473/0.5757, allocations: 2.139 MB / 408.2 MB, free: 44.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/0.5758, allocations: 11.25 kB / 408.2 MB, free: 44.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.732e-05/0.5758, allocations: 8.094 kB / 408.2 MB, free: 44.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.792e-05/0.5759, allocations: 10.03 kB / 408.2 MB, free: 44.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/0.5927, allocations: 4.417 MB / 412.6 MB, free: 42.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-05/0.5928, allocations: 3.906 kB / 412.6 MB, free: 42.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002435/0.5953, allocations: 203.5 kB / 412.8 MB, free: 42.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007371/0.6027, allocations: 0.5164 MB / 413.3 MB, free: 42.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003455/0.6031, allocations: 32.42 kB / 413.3 MB, free: 42.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0264/0.6296, allocations: 7.989 MB / 421.3 MB, free: 36.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.6296, allocations: 3.938 kB / 421.3 MB, free: 36.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02287/0.6525, allocations: 3.252 MB / 424.6 MB, free: 34.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/0.6541, allocations: 377 kB / 425 MB, free: 34.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006414/0.6548, allocations: 32.95 kB / 425 MB, free: 34.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00512/0.6599, allocations: 73.78 kB / 425.1 MB, free: 34.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005736/0.6605, allocations: 92 kB / 425.2 MB, free: 34.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/0.6607, allocations: 39.3 kB / 425.2 MB, free: 34.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00272/0.6635, allocations: 0.938 MB / 426.1 MB, free: 33.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.402e-06/0.6635, allocations: 1.422 kB / 426.1 MB, free: 33.69 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003459/0.667, allocations: 449.7 kB / 426.6 MB, free: 33.64 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (107): * Single equations (assignments): 100 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001962/0.669, allocations: 455.4 kB / 427 MB, free: 33.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005756/0.6748, allocations: 2.244 MB / 429.3 MB, free: 31.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.6748, allocations: 0 / 429.3 MB, free: 31.9 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003419/0.6783, allocations: 1.502 MB / 430.8 MB, free: 30.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/0.6813, allocations: 385.5 kB / 431.1 MB, free: 29.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.6914, allocations: 5.09 MB / 436.2 MB, free: 24.81 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/0.6931, allocations: 1.725 MB / 438 MB, free: 23.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007121/0.6938, allocations: 119.4 kB / 438.1 MB, free: 22.93 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.6938, allocations: 0 / 438.1 MB, free: 22.93 MB / 330.7 MB Notification: Performance of Templates: time 0.1181/0.8119, allocations: 69.08 MB / 0.4953 GB, free: 1.848 MB / 378.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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -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:29: ./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(), tmp153.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