Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL") Notification: Performance of loadModel(Modelica): time 2.004/2.004, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.832e-05, allocations: 9.547 kB / 292.1 MB, free: 8.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09053/0.09058, allocations: 50.41 MB / 342.6 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3745/0.4652, allocations: 91.43 MB / 434 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.4655, allocations: 81.45 kB / 434.1 MB, free: 2.777 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09086/0.5563, allocations: 22.54 MB / 456.6 MB, free: 15.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.18e-06/0.5564, allocations: 0 / 456.6 MB, free: 15.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001531/0.5565, allocations: 32 kB / 456.6 MB, free: 15.34 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.004814/0.5614, allocations: 1.845 MB / 458.5 MB, free: 13.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.5614, allocations: 8.031 kB / 458.5 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000686/0.5621, allocations: 217.3 kB / 458.7 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/0.5651, allocations: 1.085 MB / 459.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.096e-05/0.5652, allocations: 70.61 kB / 459.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.5655, allocations: 96.22 kB / 460 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.5677, allocations: 0.9488 MB / 460.9 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/0.5677, allocations: 7.938 kB / 460.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.5679, allocations: 33.69 kB / 460.9 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.5679, allocations: 20 kB / 461 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.5698, allocations: 0.7611 MB / 461.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008294/0.5781, allocations: 3.532 MB / 465.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.5807, allocations: 0.9368 MB / 466.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.5818, allocations: 443 kB / 466.6 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.858e-05/0.5819, allocations: 12.77 kB / 466.6 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/0.5833, allocations: 0.6136 MB / 467.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=86): time 4.389e-06/0.5833, allocations: 0 / 467.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=86): time 0.002722/0.586, allocations: 1.002 MB / 468.3 MB, free: 5.023 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.5862, allocations: 204.7 kB / 468.5 MB, free: 4.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004517/0.5907, allocations: 1.91 MB / 470.4 MB, free: 2.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002656/0.5911, allocations: 57.69 kB / 470.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006448/0.5917, allocations: 0.5357 MB / 471 MB, free: 2.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000422/0.5921, allocations: 272.2 kB / 471.2 MB, free: 1.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.253e-05/0.5922, allocations: 20 kB / 471.2 MB, free: 1.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.5925, allocations: 346.8 kB / 471.6 MB, free: 1.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008788/0.5934, allocations: 353.9 kB / 471.9 MB, free: 1.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.5945, allocations: 0.6057 MB / 472.5 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.5956, allocations: 447.5 kB / 473 MB, free: 68 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.756e-06/0.5956, allocations: 0 / 473 MB, free: 68 kB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002737/0.5983, allocations: 1.072 MB / 474 MB, free: 14.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001677/0.6001, allocations: 2.911 MB / 476.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.6001, allocations: 11.98 kB / 477 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000452/0.6006, allocations: 88.81 kB / 477 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.6021, allocations: 251.6 kB / 477.3 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/0.6049, allocations: 1.815 MB / 479.1 MB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.6068, allocations: 231.1 kB / 479.3 MB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.607, allocations: 40 kB / 479.4 MB, free: 9.277 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.607, allocations: 4 kB / 479.4 MB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002533/0.6095, allocations: 1.024 MB / 480.4 MB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.6096, allocations: 4 kB / 480.4 MB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003497/0.61, allocations: 89.56 kB / 480.5 MB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.6113, allocations: 243.6 kB / 480.7 MB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/0.6139, allocations: 1.8 MB / 482.5 MB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009907/0.615, allocations: 155.3 kB / 482.7 MB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.6151, allocations: 36 kB / 482.7 MB, free: 5.785 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 40 ($PRE.meanPower.y_last,meanPower.y_last,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.iH01.mean1.y_last,iH01.mean1.y_last,$PRE.iH01.mean2.y_last,iH01.mean2.y_last,$PRE.iRMS.mean.y_last,iRMS.mean.y_last,$PRE.vH01.mean1.y_last,vH01.mean1.y_last,$PRE.vH01.mean2.y_last,vH01.mean2.y_last,$PRE.vRMS.mean.y_last,vRMS.mean.y_last,$whenCondition10,$whenCondition9,$whenCondition8,$PRE.triac.thyristor1.off,triac.thyristor1.off,$PRE.triac.thyristor2.off,triac.thyristor2.off,adaptor.positiveThreshold[1].y,adaptor.negativeThreshold[1].y,$PRE.adaptor.timerPositive[1].entryTime,adaptor.timerPositive[1].entryTime,$PRE.adaptor.timerNegative[1].entryTime,adaptor.timerNegative[1].entryTime,adaptor.fire_p[1],adaptor.fire_n[1],$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004005/0.6155, allocations: 188.7 kB / 482.9 MB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005371/0.6161, allocations: 181.8 kB / 483.1 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.619, allocations: 1.086 MB / 484.2 MB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.6191, allocations: 12 kB / 484.2 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.023e-06/0.6191, allocations: 3.953 kB / 484.2 MB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.6191, allocations: 7.984 kB / 484.2 MB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006174/0.6253, allocations: 2.682 MB / 486.9 MB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.907e-06/0.6254, allocations: 8.438 kB / 486.9 MB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.6265, allocations: 163.9 kB / 487 MB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003638/0.6269, allocations: 92.7 kB / 487.1 MB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.627, allocations: 27.98 kB / 487.2 MB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002665/0.6297, allocations: 1.808 MB / 489 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.267e-06/0.6297, allocations: 4.031 kB / 489 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003863/0.6336, allocations: 1.635 MB / 490.6 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/0.6352, allocations: 0.5297 MB / 491.1 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003409/0.6356, allocations: 31.98 kB / 491.2 MB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/0.637, allocations: 163.8 kB / 491.3 MB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003229/0.6373, allocations: 96.59 kB / 491.4 MB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.6374, allocations: 35.98 kB / 491.5 MB, free: 12.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003292/0.6407, allocations: 1.507 MB / 493 MB, free: 11.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.202e-06/0.6408, allocations: 0 / 493 MB, free: 11.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002668/0.6435, allocations: 0.5579 MB / 493.5 MB, free: 10.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (adaptor.filter[1].firstOrder.y,adaptor.filter[1].transferFunction[1].x_scaled[1],adaptor.filter[1].transferFunction[2].x_scaled[1],meanPower.x,vRMS.mean.x,vH01.mean1.x,vH01.mean2.x,iRMS.mean.x,iH01.mean1.x,iH01.mean2.x,loadInductor.i) * Number of discrete variables: 27 (adaptor.positiveThreshold[1].y,adaptor.negativeThreshold[1].y,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,triac.thyristor1.off,triac.thyristor2.off,adaptor.timerPositive[1].entryTime,adaptor.timerNegative[1].entryTime,adaptor.fire_p[1],adaptor.fire_n[1],trapezoid.T_start,trapezoid.count,meanPower.y_last,vRMS.mean.y_last,vH01.mean1.y_last,vH01.mean2.y_last,iRMS.mean.y_last,iH01.mean1.y_last,iH01.mean2.y_last) * Number of discrete states: 10 (trapezoid.count,meanPower.x,vRMS.mean.x,vH01.mean1.x,vH01.mean2.x,iRMS.mean.x,iH01.mean1.x,iH01.mean2.x,triac.thyristor2.off,triac.thyristor1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001433/0.6449, allocations: 417.5 kB / 493.9 MB, free: 10.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00402/0.649, allocations: 1.741 MB / 495.7 MB, free: 8.543 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.528e-06/0.649, allocations: 448 / 495.7 MB, free: 8.543 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.6504, allocations: 0.584 MB / 496.3 MB, free: 7.949 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.6518, allocations: 198.3 kB / 496.4 MB, free: 7.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007596/0.6594, allocations: 3.036 MB / 499.5 MB, free: 4.668 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/0.6611, allocations: 1.434 MB / 0.4892 GB, free: 3.207 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006651/0.6618, allocations: 95.41 kB / 0.4893 GB, free: 3.113 MB / 410.7 MB Notification: Performance of SimCode: time 1.838e-06/0.6618, allocations: 0 / 0.4893 GB, free: 3.113 MB / 410.7 MB Notification: Performance of Templates: time 0.04223/0.704, allocations: 22.14 MB / 0.5109 GB, free: 12.96 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.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.PowerConverters.Examples.ACAC.Dimmer_RLCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RLCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RLCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RLFunctions.cpp:162:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp42.getData(), table_.getDim(1), table_.getDim(2), ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:269:23: note: candidate function not viable: 6th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTable1D_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RLCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RLCalcHelperMain.o] Error 1