Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadModel(Modelica): time 2.2/2.2, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.87e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1487, allocations: 50.42 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005633/0.1544, allocations: 3.137 MB / 348.1 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003456/0.158, allocations: 1.279 MB / 349.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005216/0.1585, allocations: 12 kB / 349.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.16, allocations: 251.1 kB / 349.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.1615, allocations: 251.3 kB / 349.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.1627, allocations: 215.4 kB / 350.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009853/0.1637, allocations: 355.6 kB / 350.5 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.1639, allocations: 94.64 kB / 350.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004319/0.1644, allocations: 199.5 kB / 350.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004611/0.1649, allocations: 239.2 kB / 351 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.1652, allocations: 47.92 kB / 351 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.1653, allocations: 24 kB / 351 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.1655, allocations: 111.6 kB / 351.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.1657, allocations: 52 kB / 351.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008809/0.1666, allocations: 0.5027 MB / 351.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1666, allocations: 0 / 351.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1666, allocations: 0 / 351.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.1666, allocations: 0 / 351.7 MB, free: 2.18 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001937/0.1686, allocations: 0.7863 MB / 352.5 MB, free: 1.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.1687, allocations: 8.031 kB / 352.5 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.1689, allocations: 79.14 kB / 352.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008936/0.1698, allocations: 397.8 kB / 353 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.098e-05/0.1698, allocations: 29 kB / 353 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.695e-05/0.17, allocations: 43.94 kB / 353 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.1712, allocations: 433.6 kB / 353.5 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.1712, allocations: 0 / 353.5 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.443e-05/0.1713, allocations: 16 kB / 353.5 MB, free: 296 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.1713, allocations: 12 kB / 353.5 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.1724, allocations: 327.7 kB / 353.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/0.1764, allocations: 1.726 MB / 355.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.1775, allocations: 362.2 kB / 355.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.168e-05/0.1776, allocations: 8 kB / 355.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007334/0.1784, allocations: 266.3 kB / 356.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 3.687e-06/0.1784, allocations: 0 / 356.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.003731/0.1821, allocations: 1.018 MB / 357.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.1823, allocations: 187.9 kB / 357.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.1834, allocations: 473 kB / 357.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.773e-05/0.1835, allocations: 33.7 kB / 357.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.1838, allocations: 287 kB / 358.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.1839, allocations: 126.2 kB / 358.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.184, allocations: 8 kB / 358.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1842, allocations: 330.8 kB / 358.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.1846, allocations: 116.8 kB / 358.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.1852, allocations: 213.3 kB / 358.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.1856, allocations: 133.5 kB / 359 MB, free: 10.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.1857, allocations: 0 / 359 MB, free: 10.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001375/0.1871, allocations: 437.4 kB / 359.5 MB, free: 9.961 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.1871, allocations: 8 kB / 359.5 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1871, allocations: 96 / 359.5 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008429/0.188, allocations: 167.2 kB / 359.6 MB, free: 9.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.1884, allocations: 51.84 kB / 359.7 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007204/0.1956, allocations: 5.989 MB / 365.7 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/0.1964, allocations: 63.56 kB / 365.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/0.1965, allocations: 12 kB / 365.7 MB, free: 3.129 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003828/0.1969, allocations: 188.1 kB / 365.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.197, allocations: 55.39 kB / 366 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.1972, allocations: 61.12 kB / 366 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.1972, allocations: 8 kB / 366.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1972, allocations: 0 / 366.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.1972, allocations: 3.984 kB / 366.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008078/0.198, allocations: 493 kB / 366.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1981, allocations: 3.938 kB / 366.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.1984, allocations: 32.11 kB / 366.6 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007527/0.1991, allocations: 163.2 kB / 366.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/0.1992, allocations: 8 kB / 366.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007161/0.2064, allocations: 5.835 MB / 372.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2064, allocations: 0 / 372.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.2082, allocations: 0.4997 MB / 373.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/0.2085, allocations: 160.4 kB / 373.2 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.2087, allocations: 16 kB / 373.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005067/0.2092, allocations: 31.97 kB / 373.3 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/0.2094, allocations: 59.84 kB / 373.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.2095, allocations: 12 kB / 373.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006591/0.2102, allocations: 359.1 kB / 373.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.2102, allocations: 0 / 373.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001093/0.2113, allocations: 167.7 kB / 373.9 MB, free: 10.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001312/0.2126, allocations: 415.5 kB / 374.3 MB, free: 10.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001916/0.2145, allocations: 0.8039 MB / 375.1 MB, free: 9.207 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.2146, allocations: 4 kB / 375.1 MB, free: 9.203 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.2158, allocations: 0.6508 MB / 375.7 MB, free: 8.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008909/0.2167, allocations: 110 kB / 375.8 MB, free: 8.391 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.22, allocations: 1.158 MB / 377 MB, free: 7.211 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.2206, allocations: 0.867 MB / 377.9 MB, free: 6.316 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.2208, allocations: 39.42 kB / 377.9 MB, free: 6.277 MB / 314.7 MB Notification: Performance of SimCode: time 1.403e-06/0.2208, allocations: 0 / 377.9 MB, free: 6.277 MB / 314.7 MB Notification: Performance of Templates: time 0.02753/0.2484, allocations: 14.01 MB / 391.9 MB, free: 8.277 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.Analog.Examples.CharacteristicThyristorsCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristorsCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristorsCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristorsFunctions.cpp:208:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp68.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.Analog.Examples.CharacteristicThyristorsCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristorsCalcHelperMain.o] Error 1