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 2.165/2.165, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.822e-05/2.814e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 50.41 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01849/0.1285, allocations: 10.52 MB / 355.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.1402, allocations: 4.212 MB / 359.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.143, allocations: 95.69 kB / 359.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003583/0.1466, allocations: 0.7733 MB / 360.6 MB, free: 9.273 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005438/0.1521, allocations: 1.094 MB / 361.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.1555, allocations: 0.6572 MB / 362.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006478/0.162, allocations: 2.198 MB / 364.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003851/0.1659, allocations: 1.679 MB / 366.2 MB, free: 3.625 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/0.1685, allocations: 1.028 MB / 367.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003243/0.1718, allocations: 1.308 MB / 368.6 MB, free: 1.281 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.1739, allocations: 315.7 kB / 368.9 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009793/0.1749, allocations: 128 kB / 369 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.1761, allocations: 0.6382 MB / 369.6 MB, free: 212 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.1776, allocations: 296 kB / 369.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008909/0.1865, allocations: 5.528 MB / 375.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1866, allocations: 0 / 375.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1866, allocations: 0 / 375.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002035/0.1868, allocations: 0 / 375.4 MB, free: 10.38 MB / 314.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.01439/0.2012, allocations: 3.531 MB / 379 MB, free: 6.773 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.2013, allocations: 12.03 kB / 379 MB, free: 6.762 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007265/0.2086, allocations: 0.8309 MB / 379.8 MB, free: 5.926 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007139/0.2158, allocations: 2.311 MB / 382.1 MB, free: 3.559 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003983/0.2162, allocations: 242.4 kB / 382.4 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001263/0.2175, allocations: 323.9 kB / 382.7 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01448/0.232, allocations: 4.233 MB / 386.9 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/0.2322, allocations: 11.84 kB / 386.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007582/0.233, allocations: 132 kB / 387.1 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002477/0.2332, allocations: 150.4 kB / 387.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.2457, allocations: 3.613 MB / 390.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3227/0.5685, allocations: 13.4 MB / 404.2 MB, free: 40.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.5794, allocations: 6.917 MB / 411.1 MB, free: 35.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01004/0.5895, allocations: 3.247 MB / 414.4 MB, free: 34.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002513/0.5921, allocations: 0.9045 MB / 415.3 MB, free: 33.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=141): time 5.47e-06/0.5922, allocations: 0 / 415.3 MB, free: 33.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.0235/0.6157, allocations: 6.876 MB / 422.2 MB, free: 30.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.6158, allocations: 230.4 kB / 422.4 MB, free: 29.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0038/0.6196, allocations: 1.641 MB / 424 MB, free: 29.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003144/0.62, allocations: 51.2 kB / 424.1 MB, free: 29.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.6214, allocations: 1.385 MB / 425.5 MB, free: 28.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007267/0.6222, allocations: 0.5074 MB / 426 MB, free: 27.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.6224, allocations: 35.12 kB / 426 MB, free: 27.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6225, allocations: 383.4 kB / 426.4 MB, free: 27.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.6245, allocations: 0.6919 MB / 427.1 MB, free: 27.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/0.6269, allocations: 1.208 MB / 428.3 MB, free: 26.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002427/0.6294, allocations: 0.9103 MB / 429.2 MB, free: 25.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-05/0.6295, allocations: 7.844 kB / 429.2 MB, free: 25.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.006209/0.6357, allocations: 2.353 MB / 431.5 MB, free: 24.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.6358, allocations: 10.94 kB / 431.6 MB, free: 24.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-05/0.6358, allocations: 17.77 kB / 431.6 MB, free: 24.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.637, allocations: 291.1 kB / 431.9 MB, free: 24.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003003/0.64, allocations: 390.6 kB / 432.2 MB, free: 24.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007247/0.6473, allocations: 5.92 MB / 438.2 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.6498, allocations: 95.19 kB / 438.3 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/0.6501, allocations: 78.27 kB / 438.3 MB, free: 18.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (202): * Single equations (assignments): 198 * 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%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002546/0.6526, allocations: 1.032 MB / 439.4 MB, free: 18.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005544/0.6532, allocations: 202 kB / 439.6 MB, free: 18.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006264/0.6595, allocations: 2.351 MB / 441.9 MB, free: 16.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/0.6595, allocations: 22.56 kB / 441.9 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-05/0.6596, allocations: 5.719 kB / 441.9 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.092e-05/0.6596, allocations: 7.969 kB / 441.9 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/0.6728, allocations: 5.412 MB / 447.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.6729, allocations: 4.188 kB / 447.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/0.6746, allocations: 215.5 kB / 447.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00193/0.6766, allocations: 450.5 kB / 448 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002371/0.6768, allocations: 39.98 kB / 448.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0129/0.6898, allocations: 10.3 MB / 458.4 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/0.6898, allocations: 7.984 kB / 458.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009349/0.6992, allocations: 3.372 MB / 461.7 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/0.7008, allocations: 446.4 kB / 462.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007252/0.7016, allocations: 39.98 kB / 462.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/0.7036, allocations: 67.95 kB / 462.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004374/0.7041, allocations: 109.1 kB / 462.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.7042, allocations: 43.98 kB / 462.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003148/0.7074, allocations: 1.267 MB / 463.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7074, allocations: 0 / 463.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003518/0.711, allocations: 0.5846 MB / 464.3 MB, free: 9.461 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (112): * Single equations (assignments): 105 * 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.001621/0.7126, allocations: 473.6 kB / 464.7 MB, free: 9.121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006234/0.7189, allocations: 2.245 MB / 467 MB, free: 6.824 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/0.719, allocations: 4 kB / 467 MB, free: 6.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004331/0.7233, allocations: 1.608 MB / 468.6 MB, free: 5.152 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004093/0.7275, allocations: 0.4939 MB / 469.1 MB, free: 4.656 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/0.7455, allocations: 7.062 MB / 476.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003759/0.7493, allocations: 2.36 MB / 478.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009531/0.7503, allocations: 151.4 kB / 478.7 MB, free: 11 MB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/0.7503, allocations: 0 / 478.7 MB, free: 11 MB / 362.7 MB Notification: Performance of Templates: time 0.4887/1.239, allocations: 107.1 MB / 0.572 GB, free: 140.7 MB / 442.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 -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.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:29: ./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(), tmp224.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