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_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 1.696/1.696, allocations: 171.1 MB / 186.3 MB, free: 1.422 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.277e-05, allocations: 6.172 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08037/0.08043, allocations: 38.76 MB / 266.9 MB, free: 1.141 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01412/0.0946, allocations: 8.611 MB / 275.5 MB, free: 8.484 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008199/0.1029, allocations: 2.926 MB / 278.4 MB, free: 5.551 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/0.1053, allocations: 95.62 kB / 278.5 MB, free: 5.457 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002591/0.1079, allocations: 0.5555 MB / 279.1 MB, free: 4.898 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004414/0.1124, allocations: 0.8721 MB / 279.9 MB, free: 4.023 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.1141, allocations: 303.6 kB / 280.2 MB, free: 3.727 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00627/0.1204, allocations: 2.515 MB / 282.8 MB, free: 1.203 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004783/0.1253, allocations: 2.149 MB / 284.9 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003091/0.1284, allocations: 1.309 MB / 286.2 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00415/0.1326, allocations: 1.709 MB / 287.9 MB, free: 12 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.1347, allocations: 243.9 kB / 288.2 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.1358, allocations: 180 kB / 288.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001728/0.1375, allocations: 1.036 MB / 289.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.1394, allocations: 428 kB / 289.8 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.1501, allocations: 6.821 MB / 296.6 MB, free: 3.293 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1501, allocations: 0 / 296.6 MB, free: 3.293 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1502, allocations: 3.938 kB / 296.6 MB, free: 3.289 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002591/0.1504, allocations: 0 / 296.6 MB, free: 3.289 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.2475/0.3979, allocations: 3.89 MB / 300.5 MB, free: 24.07 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.622e-05/0.398, allocations: 11.72 kB / 300.5 MB, free: 24.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003995/0.402, allocations: 0.5474 MB / 301.1 MB, free: 23.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/0.4129, allocations: 2.509 MB / 303.6 MB, free: 22.8 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005917/0.4135, allocations: 293.9 kB / 303.9 MB, free: 22.67 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001934/0.4155, allocations: 388 kB / 304.2 MB, free: 22.55 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/0.4358, allocations: 5.739 MB / 310 MB, free: 20.23 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.4359, allocations: 1.75 kB / 310 MB, free: 20.23 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007968/0.4367, allocations: 163.3 kB / 310.1 MB, free: 20.11 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004842/0.4372, allocations: 207.6 kB / 310.3 MB, free: 20.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.4528, allocations: 4.995 MB / 315.3 MB, free: 17.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03953/0.4924, allocations: 16.52 MB / 331.9 MB, free: 2.445 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.5032, allocations: 6.807 MB / 338.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006043/0.5038, allocations: 139.1 kB / 338.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.864e-05/0.5039, allocations: 56.56 kB / 338.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=249): time 5.841e-06/0.5039, allocations: 0 / 338.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=256): time 0.03718/0.5411, allocations: 10.79 MB / 349.7 MB, free: 15.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/0.5413, allocations: 81.41 kB / 349.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006018/0.5473, allocations: 2.355 MB / 352.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004989/0.5479, allocations: 73.64 kB / 352.2 MB, free: 13.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001666/0.5495, allocations: 1.503 MB / 353.7 MB, free: 11.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001375/0.5509, allocations: 0.8369 MB / 354.5 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.5512, allocations: 52 kB / 354.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002787/0.5515, allocations: 407.6 kB / 354.9 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003841/0.5553, allocations: 1.355 MB / 356.3 MB, free: 9.117 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004455/0.5598, allocations: 1.656 MB / 358 MB, free: 7.367 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004566/0.5645, allocations: 1.589 MB / 359.6 MB, free: 5.758 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/0.5645, allocations: 4 kB / 359.6 MB, free: 5.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01299/0.5775, allocations: 4.304 MB / 363.9 MB, free: 1.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.5776, allocations: 12.06 kB / 363.9 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.5777, allocations: 7.938 kB / 363.9 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008892/0.5866, allocations: 1.635 MB / 365.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/0.5898, allocations: 391.5 kB / 365.9 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04152/0.6314, allocations: 23.88 MB / 389.8 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003136/0.6346, allocations: 96.17 kB / 389.9 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005827/0.6352, allocations: 84.3 kB / 390 MB, free: 5.922 MB / 314.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.004077/0.6393, allocations: 1.41 MB / 391.4 MB, free: 4.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/0.6404, allocations: 304.5 kB / 391.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/0.6553, allocations: 4.42 MB / 396.1 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.556e-05/0.6554, allocations: 27.95 kB / 396.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.284e-05/0.6554, allocations: 8 kB / 396.1 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-05/0.6555, allocations: 11.95 kB / 396.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02905/0.6846, allocations: 8.948 MB / 405.1 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.125e-05/0.6847, allocations: 0 / 405.1 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002599/0.6873, allocations: 295.6 kB / 405.4 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008913/0.6963, allocations: 1.596 MB / 407 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005787/0.6969, allocations: 59.98 kB / 407 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04288/0.7398, allocations: 23.64 MB / 430.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7399, allocations: 0 / 430.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01824/0.7581, allocations: 6.198 MB / 436.9 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002609/0.7608, allocations: 0.6927 MB / 437.6 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/0.762, allocations: 59.98 kB / 437.6 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0031/0.7651, allocations: 131.9 kB / 437.7 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001037/0.7662, allocations: 213.6 kB / 438 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002954/0.7665, allocations: 67.98 kB / 438 MB, free: 4.195 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005093/0.7716, allocations: 1.837 MB / 439.9 MB, free: 2.348 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.022e-06/0.7717, allocations: 0 / 439.9 MB, free: 2.348 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005998/0.7777, allocations: 0.9606 MB / 440.8 MB, free: 1.391 MB / 362.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.001004/0.7787, allocations: 207 kB / 441 MB, free: 1.191 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.2432/1.022, allocations: 4.871 MB / 445.9 MB, free: 119.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.022, allocations: 1.062 kB / 445.9 MB, free: 119.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008304/1.03, allocations: 3.383 MB / 449.3 MB, free: 118.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006974/1.037, allocations: 0.8797 MB / 450.2 MB, free: 118.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02434/1.062, allocations: 9.88 MB / 460 MB, free: 113.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00514/1.067, allocations: 3.178 MB / 463.2 MB, free: 112.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001153/1.068, allocations: 167.4 kB / 463.4 MB, free: 112.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/1.068, allocations: 0 / 463.4 MB, free: 112.6 MB / 362.7 MB Notification: Performance of Templates: time 0.6334/1.702, allocations: 248.2 MB / 0.6949 GB, free: 12.24 MB / 378.7 MB make -j1 -f Modelica_3.2.1_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"." -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.Rectifier12pulseCalcHelperMain.o OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.cpp In file included from OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.cpp:36: ./OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.cpp:3212:29: error: use of undeclared identifier 'tmp390' _transformerData1_P_C1_ = tmp390; ^ ./OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.cpp:3213:29: error: use of undeclared identifier 'tmp391' _transformerData1_P_C2_ = tmp391; ^ ./OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.cpp:3214:29: error: use of undeclared identifier 'tmp392' _transformerData2_P_C1_ = tmp392; ^ ./OMCppModelica_3.2.1_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_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o] Error 1