Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Core.B|Core.Hstat|Core.MagRel|WindingPrim.i|WindingSec.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadModel(Modelica): time 2.355/2.355, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.369e-05, allocations: 8 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 50.41 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004939/0.1174, allocations: 2.727 MB / 347.7 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.1208, allocations: 1.275 MB / 349 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003317/0.1212, allocations: 8 kB / 349 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003838/0.1251, allocations: 2.082 MB / 351.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007722/0.1259, allocations: 147.5 kB / 351.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.127, allocations: 235.5 kB / 351.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002266/0.1292, allocations: 0.9756 MB / 352.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.1295, allocations: 65.61 kB / 352.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005179/0.1301, allocations: 239.5 kB / 352.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005298/0.1306, allocations: 275.3 kB / 353 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.1309, allocations: 59.84 kB / 353 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.1311, allocations: 24 kB / 353.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009842/0.1321, allocations: 0.8259 MB / 353.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000367/0.1325, allocations: 92 kB / 354 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003014/0.1355, allocations: 2.09 MB / 356.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1355, allocations: 0 / 356.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1356, allocations: 4 kB / 356.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.191e-05/0.1356, allocations: 0 / 356.1 MB, free: 13.8 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004158/0.1398, allocations: 1.79 MB / 357.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.1399, allocations: 8.031 kB / 357.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008415/0.1407, allocations: 284.3 kB / 358.2 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004674/0.1454, allocations: 1.689 MB / 359.8 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.1456, allocations: 54.7 kB / 359.9 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/0.1459, allocations: 51.91 kB / 360 MB, free: 9.816 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.1471, allocations: 387 kB / 360.3 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.1471, allocations: 0 / 360.3 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.1472, allocations: 19.95 kB / 360.3 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.1472, allocations: 12 kB / 360.4 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.1485, allocations: 335.7 kB / 360.7 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007321/0.1558, allocations: 2.915 MB / 363.6 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.157, allocations: 317 kB / 363.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-05/0.1571, allocations: 11.98 kB / 363.9 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.1572, allocations: 34.56 kB / 364 MB, free: 5.672 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 3.367e-06/0.1572, allocations: 0 / 364 MB, free: 5.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.008659/0.1658, allocations: 2.393 MB / 366.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.166, allocations: 85.48 kB / 366.4 MB, free: 3.105 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01217/0.1782, allocations: 5.055 MB / 371.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.1783, allocations: 37.7 kB / 371.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.18, allocations: 0.944 MB / 372.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.1803, allocations: 169.5 kB / 372.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.1804, allocations: 8 kB / 372.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1806, allocations: 338.8 kB / 373 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006143/0.1812, allocations: 137.1 kB / 373.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/0.1819, allocations: 217.7 kB / 373.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006356/0.1825, allocations: 172.7 kB / 373.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1825, allocations: 0 / 373.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001466/0.184, allocations: 451.8 kB / 373.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.1841, allocations: 4 kB / 373.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.1841, allocations: 4 kB / 373.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.1841, allocations: 7.984 kB / 373.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009918/0.1851, allocations: 123.8 kB / 374.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.259e-05/0.1852, allocations: 8 kB / 374.1 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.1863, allocations: 20.03 kB / 374.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/0.1864, allocations: 23.98 kB / 374.1 MB, free: 11.38 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002149/0.1886, allocations: 0.9192 MB / 375 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008192/0.1894, allocations: 264.5 kB / 375.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/0.1923, allocations: 0.7981 MB / 376.1 MB, free: 9.375 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.1923, allocations: 4 kB / 376.1 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.1923, allocations: 0 / 376.1 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.1924, allocations: 7.984 kB / 376.1 MB, free: 9.363 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/0.1955, allocations: 1.469 MB / 377.6 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/0.1955, allocations: 3.938 kB / 377.6 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009059/0.1965, allocations: 95.88 kB / 377.7 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000579/0.1971, allocations: 100.7 kB / 377.8 MB, free: 7.645 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.256e-05/0.1971, allocations: 12 kB / 377.8 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008127/0.1979, allocations: 0.6304 MB / 378.4 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.198, allocations: 4.062 kB / 378.4 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/0.2011, allocations: 1.102 MB / 379.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/0.2027, allocations: 0.4897 MB / 380 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004394/0.2031, allocations: 15.92 kB / 380 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008708/0.204, allocations: 20 kB / 380 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.2041, allocations: 28.39 kB / 380.1 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-05/0.2042, allocations: 19.98 kB / 380.1 MB, free: 5.246 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.008706/0.2129, allocations: 3.981 MB / 384.1 MB, free: 1.273 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.112e-06/0.213, allocations: 0 / 384.1 MB, free: 1.273 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001494/0.2145, allocations: 204 kB / 384.3 MB, free: 1.074 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001283/0.2158, allocations: 416.8 kB / 384.7 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.2173, allocations: 376.9 kB / 385 MB, free: 412 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.2174, allocations: 0 / 385 MB, free: 412 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000846/0.2183, allocations: 222.9 kB / 385.3 MB, free: 192 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.2201, allocations: 177.5 kB / 385.4 MB, free: 12 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.2348, allocations: 6.101 MB / 391.5 MB, free: 9.867 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003397/0.2383, allocations: 1.865 MB / 393.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007286/0.2391, allocations: 91.42 kB / 393.5 MB, free: 7.875 MB / 330.7 MB Notification: Performance of SimCode: time 3.727e-06/0.2391, allocations: 0 / 393.5 MB, free: 7.875 MB / 330.7 MB Notification: Performance of Templates: time 0.4279/0.667, allocations: 34.65 MB / 428.1 MB, free: 33.37 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1Functions.cpp:194:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp36.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.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.o] Error 1