Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 2.122/2.122, allocations: 224.7 MB / 241.1 MB, free: 1.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.823e-05/2.828e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 50.41 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01417/0.1275, allocations: 8.393 MB / 353.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008219/0.1357, allocations: 2.872 MB / 356.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.1381, allocations: 95.62 kB / 356.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002476/0.1406, allocations: 0.5516 MB / 356.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004331/0.145, allocations: 0.8644 MB / 357.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.1467, allocations: 287.7 kB / 358 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006344/0.1531, allocations: 2.402 MB / 360.4 MB, free: 9.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005425/0.1586, allocations: 2.343 MB / 362.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003269/0.1619, allocations: 1.278 MB / 364.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004291/0.1663, allocations: 1.674 MB / 365.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.1683, allocations: 231.9 kB / 366 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001172/0.1695, allocations: 172 kB / 366.1 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002186/0.1717, allocations: 1.028 MB / 367.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00209/0.1739, allocations: 424 kB / 367.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.1854, allocations: 6.798 MB / 374.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1854, allocations: 0 / 374.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.1854, allocations: 0 / 374.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002669/0.1857, allocations: 0 / 374.4 MB, free: 11.45 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01355/0.1993, allocations: 3.945 MB / 378.3 MB, free: 7.434 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.1993, allocations: 8.031 kB / 378.3 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.2025, allocations: 0.545 MB / 378.9 MB, free: 6.875 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008192/0.2107, allocations: 2.666 MB / 381.5 MB, free: 4.133 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003998/0.2112, allocations: 299.8 kB / 381.8 MB, free: 3.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001464/0.2127, allocations: 376 kB / 382.2 MB, free: 3.473 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01885/0.2315, allocations: 5.758 MB / 387.9 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001267/0.2317, allocations: 3.938 kB / 388 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00114/0.2329, allocations: 164 kB / 388.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003372/0.2332, allocations: 204 kB / 388.3 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01668/0.2499, allocations: 5.005 MB / 393.3 MB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3478/0.5978, allocations: 16.51 MB / 409.8 MB, free: 38.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/0.6122, allocations: 6.791 MB / 416.6 MB, free: 33.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007068/0.613, allocations: 134.3 kB / 416.7 MB, free: 33.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.775e-05/0.6131, allocations: 58.81 kB / 416.8 MB, free: 33.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=249): time 8.295e-06/0.6131, allocations: 0 / 416.8 MB, free: 33.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=256): time 0.03833/0.6514, allocations: 10.81 MB / 427.6 MB, free: 27.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.6516, allocations: 80.83 kB / 427.7 MB, free: 27.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005477/0.657, allocations: 2.348 MB / 430 MB, free: 26.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005469/0.6576, allocations: 68.7 kB / 430.1 MB, free: 26.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.6589, allocations: 1.512 MB / 431.6 MB, free: 25.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001131/0.6601, allocations: 0.8382 MB / 432.5 MB, free: 24.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.6603, allocations: 43.31 kB / 432.5 MB, free: 24.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.6605, allocations: 413.1 kB / 432.9 MB, free: 24.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003408/0.6639, allocations: 1.351 MB / 434.2 MB, free: 23.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003917/0.6679, allocations: 1.66 MB / 435.9 MB, free: 22.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0039/0.6719, allocations: 1.585 MB / 437.5 MB, free: 20.58 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.6719, allocations: 0 / 437.5 MB, free: 20.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01122/0.6831, allocations: 4.31 MB / 441.8 MB, free: 16.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.6832, allocations: 8 kB / 441.8 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/0.6833, allocations: 8 kB / 441.8 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008191/0.6915, allocations: 1.627 MB / 443.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/0.6945, allocations: 395.5 kB / 443.8 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03579/0.7303, allocations: 23.89 MB / 467.7 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/0.7335, allocations: 104 kB / 467.8 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005283/0.734, allocations: 72 kB / 467.9 MB, free: 4.758 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.003994/0.7381, allocations: 1.403 MB / 469.3 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/0.7392, allocations: 300.5 kB / 469.6 MB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/0.7525, allocations: 4.423 MB / 474 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.672e-05/0.7525, allocations: 24 kB / 474 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.568e-05/0.7526, allocations: 8 kB / 474 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.326e-05/0.7527, allocations: 12.42 kB / 474.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.026/0.7787, allocations: 8.94 MB / 483 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/0.7787, allocations: 0 / 483 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002478/0.7812, allocations: 299.6 kB / 483.3 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008687/0.7899, allocations: 1.597 MB / 484.9 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004764/0.7905, allocations: 59.97 kB / 484.9 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03881/0.8293, allocations: 23.65 MB / 0.4967 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8293, allocations: 3.953 kB / 0.4967 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01689/0.8462, allocations: 6.194 MB / 0.5027 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002586/0.8489, allocations: 0.6926 MB / 0.5034 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/0.8499, allocations: 59.98 kB / 0.5035 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002876/0.8528, allocations: 131.9 kB / 0.5036 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008488/0.8537, allocations: 209.6 kB / 0.5038 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003046/0.854, allocations: 71.97 kB / 0.5039 GB, free: 3.047 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00465/0.8587, allocations: 1.834 MB / 0.5056 GB, free: 1.203 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.8588, allocations: 0 / 0.5056 GB, free: 1.203 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005518/0.8643, allocations: 0.9492 MB / 0.5066 GB, free: 260 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009351/0.8653, allocations: 210 kB / 0.5068 GB, free: 52 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01235/0.8776, allocations: 4.895 MB / 0.5116 GB, free: 11.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/0.8777, allocations: 0 / 0.5116 GB, free: 11.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008486/0.8862, allocations: 3.379 MB / 0.5149 GB, free: 7.504 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006677/0.8929, allocations: 0.886 MB / 0.5157 GB, free: 6.613 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/0.9177, allocations: 9.851 MB / 0.5253 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005815/0.9236, allocations: 3.169 MB / 0.5284 GB, free: 9.523 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/0.9248, allocations: 175.4 kB / 0.5286 GB, free: 9.355 MB / 426.7 MB Notification: Performance of SimCode: time 1.312e-06/0.9248, allocations: 4 kB / 0.5286 GB, free: 9.352 MB / 426.7 MB Notification: Performance of Templates: time 0.9603/1.885, allocations: 248.1 MB / 0.7709 GB, free: 118.7 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Rectifier12pulseCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.cpp:3212:29: error: use of undeclared identifier 'tmp390' _transformerData1_P_C1_ = tmp390; ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.cpp:3213:29: error: use of undeclared identifier 'tmp391' _transformerData1_P_C2_ = tmp391; ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.cpp:3214:29: error: use of undeclared identifier 'tmp392' _transformerData2_P_C1_ = tmp392; ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.cpp:3215:29: error: use of undeclared identifier 'tmp393' _transformerData2_P_C2_ = tmp393; ^ 4 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o] Error 1