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_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadModel(Modelica): time 2.217/2.217, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.702e-05/2.701e-05, allocations: 0 / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 50.42 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009344/0.1227, allocations: 5.435 MB / 350.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005476/0.1283, allocations: 2.03 MB / 352.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.1295, allocations: 51.81 kB / 352.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.1308, allocations: 342.1 kB / 352.8 MB, free: 1.066 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002449/0.1332, allocations: 0.5022 MB / 353.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007779/0.1341, allocations: 159.8 kB / 353.5 MB, free: 416 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003295/0.1374, allocations: 1.33 MB / 354.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002624/0.1401, allocations: 1.297 MB / 356.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.1418, allocations: 0.7169 MB / 356.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002243/0.144, allocations: 0.9305 MB / 357.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.1452, allocations: 155.9 kB / 357.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004602/0.1457, allocations: 99.94 kB / 358 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007876/0.1465, allocations: 0.5606 MB / 358.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008852/0.1474, allocations: 236 kB / 358.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005947/0.1534, allocations: 3.72 MB / 362.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1534, allocations: 0 / 362.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1535, allocations: 0 / 362.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001552/0.1536, allocations: 4 kB / 362.5 MB, free: 7.328 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.007762/0.1614, allocations: 2.323 MB / 364.9 MB, free: 4.945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1615, allocations: 11.97 kB / 364.9 MB, free: 4.934 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.1631, allocations: 308.7 kB / 365.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004369/0.1675, allocations: 1.542 MB / 366.7 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.1677, allocations: 164.4 kB / 366.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007392/0.1685, allocations: 220 kB / 367.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009704/0.1782, allocations: 3.151 MB / 370.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.967e-05/0.1783, allocations: 0 / 370.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003442/0.1787, allocations: 95.98 kB / 370.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001952/0.1789, allocations: 108.4 kB / 370.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008815/0.1877, allocations: 2.723 MB / 373.2 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02553/0.2133, allocations: 8.955 MB / 382.1 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006154/0.2195, allocations: 3.376 MB / 385.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004772/0.22, allocations: 126.4 kB / 385.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.632e-05/0.2201, allocations: 55.81 kB / 385.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 3.927e-06/0.2201, allocations: 0 / 385.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.0194/0.2395, allocations: 5.827 MB / 391.5 MB, free: 9.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.2396, allocations: 64.72 kB / 391.6 MB, free: 9.406 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003305/0.243, allocations: 1.331 MB / 392.9 MB, free: 8.062 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002736/0.2433, allocations: 49.7 kB / 392.9 MB, free: 8.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009504/0.2442, allocations: 0.9029 MB / 393.8 MB, free: 7.094 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006955/0.245, allocations: 449.5 kB / 394.3 MB, free: 6.648 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.2451, allocations: 24 kB / 394.3 MB, free: 6.625 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.2453, allocations: 366.8 kB / 394.7 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/0.2474, allocations: 0.7013 MB / 395.4 MB, free: 5.555 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/0.2497, allocations: 0.8819 MB / 396.2 MB, free: 4.625 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/0.2521, allocations: 0.8222 MB / 397.1 MB, free: 3.809 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.2522, allocations: 8 kB / 397.1 MB, free: 3.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006793/0.259, allocations: 2.229 MB / 399.3 MB, free: 1.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.259, allocations: 4 kB / 399.3 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.2591, allocations: 4 kB / 399.3 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004635/0.2637, allocations: 0.8233 MB / 400.1 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.2655, allocations: 211.7 kB / 400.3 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3299/0.5954, allocations: 10.71 MB / 411 MB, free: 41.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.5971, allocations: 56.52 kB / 411.1 MB, free: 41.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.5973, allocations: 42.89 kB / 411.1 MB, free: 41.95 MB / 330.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.001893/0.5992, allocations: 0.8176 MB / 412 MB, free: 41.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005145/0.5997, allocations: 160 kB / 412.1 MB, free: 41.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006499/0.6062, allocations: 2.308 MB / 414.4 MB, free: 40.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/0.6063, allocations: 13.75 kB / 414.4 MB, free: 40.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.6063, allocations: 4.125 kB / 414.4 MB, free: 40.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.944e-05/0.6063, allocations: 7.172 kB / 414.5 MB, free: 40.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.6184, allocations: 4.77 MB / 419.2 MB, free: 38.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.6185, allocations: 0.5625 kB / 419.2 MB, free: 38.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.6197, allocations: 167.8 kB / 419.4 MB, free: 38.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003975/0.6237, allocations: 0.8114 MB / 420.2 MB, free: 38.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/0.624, allocations: 27.88 kB / 420.2 MB, free: 38.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/0.6397, allocations: 10.61 MB / 430.8 MB, free: 29.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.6397, allocations: 7.766 kB / 430.8 MB, free: 29.69 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007376/0.6471, allocations: 3.288 MB / 434.1 MB, free: 26.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.6483, allocations: 415.1 kB / 434.5 MB, free: 26.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003971/0.6487, allocations: 24 kB / 434.6 MB, free: 26.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.6501, allocations: 75.94 kB / 434.6 MB, free: 26.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003671/0.6505, allocations: 113.1 kB / 434.7 MB, free: 25.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.6506, allocations: 36 kB / 434.8 MB, free: 25.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002012/0.6526, allocations: 1.048 MB / 435.8 MB, free: 24.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6527, allocations: 0 / 435.8 MB, free: 24.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002398/0.6551, allocations: 0.5127 MB / 436.3 MB, free: 24.38 MB / 330.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.0005664/0.6557, allocations: 173.9 kB / 436.5 MB, free: 24.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005222/0.6609, allocations: 2.419 MB / 438.9 MB, free: 21.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.661, allocations: 0 / 438.9 MB, free: 21.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003407/0.6644, allocations: 1.625 MB / 440.6 MB, free: 20.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/0.6675, allocations: 470.1 kB / 441 MB, free: 19.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.6782, allocations: 5.433 MB / 446.4 MB, free: 14.15 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/0.6802, allocations: 2.038 MB / 448.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000596/0.6808, allocations: 95.44 kB / 448.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6808, allocations: 0 / 448.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of Templates: time 0.1284/0.8092, allocations: 72.12 MB / 0.5085 GB, free: 3.93 MB / 394.7 MB make -j1 -f Modelica_trunk_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/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.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.cpp:1936:29: error: use of undeclared identifier 'tmp207' _transformerData1_P_C1_ = tmp207; ^ ./OMCppModelica_trunk_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_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o] Error 1