Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadModel(Modelica): time 1.726/1.726, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.064e-05, allocations: 4 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08221/0.08227, allocations: 38.78 MB / 266.9 MB, free: 1.129 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009186/0.09151, allocations: 5.544 MB / 272.4 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005637/0.09721, allocations: 2.062 MB / 274.5 MB, free: 9.48 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.09841, allocations: 47.81 kB / 274.6 MB, free: 9.434 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.1, allocations: 350.1 kB / 274.9 MB, free: 9.09 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002586/0.1026, allocations: 0.5061 MB / 275.4 MB, free: 8.582 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009895/0.1037, allocations: 171.8 kB / 275.6 MB, free: 8.414 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003758/0.1075, allocations: 1.4 MB / 277 MB, free: 7.008 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002625/0.1102, allocations: 1.19 MB / 278.2 MB, free: 5.801 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/0.112, allocations: 0.7247 MB / 278.9 MB, free: 5.074 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002338/0.1144, allocations: 0.9539 MB / 279.8 MB, free: 4.117 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.1157, allocations: 159.9 kB / 280 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005254/0.1163, allocations: 100 kB / 280.1 MB, free: 3.863 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009646/0.1172, allocations: 0.5723 MB / 280.7 MB, free: 3.289 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.1183, allocations: 239.9 kB / 280.9 MB, free: 3.055 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006084/0.1244, allocations: 3.732 MB / 284.6 MB, free: 15.31 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1245, allocations: 0 / 284.6 MB, free: 15.31 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.1245, allocations: 0 / 284.6 MB, free: 15.31 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001589/0.1246, allocations: 0 / 284.6 MB, free: 15.31 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.00932/0.134, allocations: 2.303 MB / 286.9 MB, free: 12.95 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.706e-05/0.1341, allocations: 12.03 kB / 286.9 MB, free: 12.94 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/0.1367, allocations: 312.7 kB / 287.3 MB, free: 12.63 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007242/0.144, allocations: 1.445 MB / 288.7 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.1442, allocations: 160.4 kB / 288.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007751/0.145, allocations: 223.9 kB / 289.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/0.1561, allocations: 3.143 MB / 292.2 MB, free: 7.516 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/0.1564, allocations: 7.891 kB / 292.2 MB, free: 7.508 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009031/0.1573, allocations: 95.97 kB / 292.3 MB, free: 7.414 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000308/0.1576, allocations: 112.4 kB / 292.4 MB, free: 7.301 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/0.1696, allocations: 2.715 MB / 295.1 MB, free: 4.57 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2579/0.4275, allocations: 8.953 MB / 304.1 MB, free: 24.09 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005317/0.4329, allocations: 3.392 MB / 307.5 MB, free: 21.74 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004079/0.4334, allocations: 119.4 kB / 307.6 MB, free: 21.65 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.4334, allocations: 54.19 kB / 307.7 MB, free: 21.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=128): time 4.128e-06/0.4334, allocations: 1.094 kB / 307.7 MB, free: 21.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=132): time 0.01828/0.4517, allocations: 5.711 MB / 313.4 MB, free: 19.06 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.4518, allocations: 65.09 kB / 313.4 MB, free: 19 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003073/0.4549, allocations: 1.341 MB / 314.8 MB, free: 18.46 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000277/0.4552, allocations: 50.8 kB / 314.8 MB, free: 18.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006602/0.4559, allocations: 0.898 MB / 315.7 MB, free: 17.6 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000553/0.4565, allocations: 446.7 kB / 316.2 MB, free: 17.22 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.4566, allocations: 24.75 kB / 316.2 MB, free: 17.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4568, allocations: 366 kB / 316.5 MB, free: 16.85 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.4586, allocations: 0.7038 MB / 317.2 MB, free: 16.48 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.4605, allocations: 0.8743 MB / 318.1 MB, free: 15.93 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/0.4624, allocations: 0.8309 MB / 318.9 MB, free: 15.49 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.4624, allocations: 7.953 kB / 319 MB, free: 15.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005515/0.4679, allocations: 2.224 MB / 321.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.468, allocations: 8.094 kB / 321.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.468, allocations: 3.094 kB / 321.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004073/0.4721, allocations: 0.8257 MB / 322 MB, free: 13.85 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.4738, allocations: 209.2 kB / 322.2 MB, free: 13.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01548/0.4893, allocations: 10.71 MB / 332.9 MB, free: 3.598 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.491, allocations: 59.89 kB / 333 MB, free: 3.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.4912, allocations: 36 kB / 333 MB, free: 3.504 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * 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: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001772/0.493, allocations: 0.8137 MB / 333.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005133/0.4935, allocations: 170.1 kB / 334 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005725/0.4993, allocations: 2.298 MB / 336.3 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.4993, allocations: 12 kB / 336.3 MB, free: 184 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.4993, allocations: 4 kB / 336.3 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.4994, allocations: 7.969 kB / 336.3 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/0.5131, allocations: 4.777 MB / 341.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.5132, allocations: 0 / 341.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.5146, allocations: 171.8 kB / 341.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004331/0.519, allocations: 0.7915 MB / 342.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002394/0.5193, allocations: 27.98 kB / 342.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01961/0.5389, allocations: 10.62 MB / 352.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5389, allocations: 0 / 352.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009019/0.548, allocations: 3.297 MB / 356 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/0.5495, allocations: 415.1 kB / 356.4 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004908/0.55, allocations: 27.95 kB / 356.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/0.5515, allocations: 79.94 kB / 356.5 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004529/0.552, allocations: 105.1 kB / 356.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.5521, allocations: 36.25 kB / 356.7 MB, free: 11.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002656/0.5548, allocations: 1.052 MB / 357.7 MB, free: 10.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.5548, allocations: 0 / 357.7 MB, free: 10.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002944/0.5578, allocations: 0.5117 MB / 358.2 MB, free: 9.605 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006975/0.5585, allocations: 182.7 kB / 358.4 MB, free: 9.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.006554/0.5651, allocations: 2.42 MB / 360.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.5651, allocations: 4 kB / 360.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004341/0.5695, allocations: 1.618 MB / 362.4 MB, free: 5.289 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/0.5733, allocations: 473.7 kB / 362.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.5875, allocations: 5.451 MB / 368.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00305/0.5906, allocations: 2.038 MB / 370.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006889/0.5913, allocations: 95.42 kB / 370.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5914, allocations: 0 / 370.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of Templates: time 0.3579/0.9493, allocations: 72.16 MB / 442.6 MB, free: 110.1 MB / 346.7 MB make -j1 -f Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.cpp In file included from OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.cpp:36: ./OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.cpp:1936:29: error: use of undeclared identifier 'tmp207' _transformerData1_P_C1_ = tmp207; ^ ./OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.cpp:1937:29: error: use of undeclared identifier 'tmp208' _transformerData1_P_C2_ = tmp208; ^ 2 errors generated. : recipe for target 'OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o] Error 1