Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.689e-05/2.706e-05, allocations: 4 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.08877, allocations: 50.41 MB / 342.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.4482, allocations: 84.4 MB / 426.9 MB, free: 9.781 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.4485, allocations: 75.28 kB / 427 MB, free: 9.746 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04437/0.4929, allocations: 11.31 MB / 438.3 MB, free: 148 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.442e-06/0.4929, allocations: 0 / 438.3 MB, free: 148 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.412e-05/0.493, allocations: 12 kB / 438.3 MB, free: 136 kB / 346.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.001623/0.4946, allocations: 0.7912 MB / 439.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.4947, allocations: 12.02 kB / 439.1 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.4949, allocations: 63.25 kB / 439.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008141/0.4957, allocations: 399.3 kB / 439.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.351e-05/0.4958, allocations: 35.09 kB / 439.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.4959, allocations: 37.25 kB / 439.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000938/0.4968, allocations: 423.6 kB / 440.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.4968, allocations: 3.984 kB / 440.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/0.4969, allocations: 13.88 kB / 440.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.4969, allocations: 11.95 kB / 440.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007397/0.4977, allocations: 293.4 kB / 440.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003324/0.501, allocations: 1.738 MB / 442.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000771/0.5018, allocations: 351.8 kB / 442.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.5022, allocations: 179 kB / 442.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/0.5023, allocations: 7.984 kB / 442.7 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005157/0.5028, allocations: 250.2 kB / 442.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 3.597e-06/0.5028, allocations: 0 / 442.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001257/0.5041, allocations: 459.2 kB / 443.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.5042, allocations: 191.9 kB / 443.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007788/0.505, allocations: 447.5 kB / 444 MB, free: 11.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.912e-05/0.5051, allocations: 35.27 kB / 444 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.5054, allocations: 286.5 kB / 444.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.5055, allocations: 121.1 kB / 444.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.5055, allocations: 6 kB / 444.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5057, allocations: 328.8 kB / 444.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.506, allocations: 107.6 kB / 444.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.5065, allocations: 206.2 kB / 445 MB, free: 10.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.5068, allocations: 121.5 kB / 445.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.864e-06/0.5068, allocations: 0 / 445.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009816/0.5078, allocations: 426.4 kB / 445.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.5078, allocations: 4 kB / 445.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5078, allocations: 3.938 kB / 445.6 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000693/0.5085, allocations: 171.1 kB / 445.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.5089, allocations: 39.98 kB / 445.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006766/0.5157, allocations: 5.943 MB / 451.7 MB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005642/0.5163, allocations: 59.36 kB / 451.8 MB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/0.5163, allocations: 8 kB / 451.8 MB, free: 3.641 MB / 362.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,IdealGTOThyristor1.off,IdealGTOThyristor1.fire,booleanStep1.combiTimeTable.nextTimeEvent,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,$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.0001935/0.5165, allocations: 145.9 kB / 451.9 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.5167, allocations: 47.44 kB / 452 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.5179, allocations: 496.9 kB / 452.5 MB, free: 3.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.477e-06/0.518, allocations: 4 kB / 452.5 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.518, allocations: 0 / 452.5 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.518, allocations: 3.984 kB / 452.5 MB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008153/0.5188, allocations: 0.505 MB / 453 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.135e-06/0.5189, allocations: 0 / 453 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.5191, allocations: 27.98 kB / 453 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006073/0.5197, allocations: 156.8 kB / 453.2 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.5197, allocations: 10.12 kB / 453.2 MB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006455/0.5262, allocations: 5.773 MB / 459 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/0.5262, allocations: 0 / 459 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.5277, allocations: 0.4887 MB / 459.4 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.528, allocations: 170.2 kB / 459.6 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.274e-05/0.5281, allocations: 7.812 kB / 459.6 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.5285, allocations: 42.72 kB / 459.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.5287, allocations: 54.47 kB / 459.7 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.5288, allocations: 11.5 kB / 459.7 MB, free: 11.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005781/0.5293, allocations: 348.7 kB / 460.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.5294, allocations: 0 / 460.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001063/0.5304, allocations: 183.8 kB / 460.2 MB, free: 11.48 MB / 378.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,IdealGTOThyristor1.off,IdealGTOThyristor1.fire,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * 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.001507/0.532, allocations: 435.9 kB / 460.7 MB, free: 11.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.5334, allocations: 0.7525 MB / 461.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.276e-06/0.5334, allocations: 0 / 461.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008869/0.5343, allocations: 0.6172 MB / 462 MB, free: 9.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.535, allocations: 103.9 kB / 462.1 MB, free: 9.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.5372, allocations: 0.7391 MB / 462.9 MB, free: 9.168 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.5378, allocations: 0.8704 MB / 463.7 MB, free: 8.273 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.538, allocations: 31.44 kB / 463.8 MB, free: 8.242 MB / 378.7 MB Notification: Performance of SimCode: time 1.602e-06/0.538, allocations: 4 kB / 463.8 MB, free: 8.238 MB / 378.7 MB Notification: Performance of Templates: time 0.02252/0.5605, allocations: 14.12 MB / 477.9 MB, free: 10.14 MB / 394.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 -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.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:28: ./OMCppModelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CharacteristicThyristorsFunctions.cpp:248:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp21.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