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.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 2.118/2.118, allocations: 194.9 MB / 211.2 MB, free: 7.867 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.806e-05/2.801e-05, allocations: 7.984 kB / 258.8 MB, free: 8.211 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3049, allocations: 44.5 MB / 303.3 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01466/0.3197, allocations: 8.626 MB / 311.9 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.3299, allocations: 2.95 MB / 314.9 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002826/0.3328, allocations: 91.62 kB / 315 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002899/0.3358, allocations: 0.5633 MB / 315.5 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005257/0.3411, allocations: 0.8683 MB / 316.4 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.3428, allocations: 299.7 kB / 316.7 MB, free: 208 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.02004/0.3629, allocations: 2.507 MB / 319.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01825/0.3812, allocations: 2.16 MB / 321.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007503/0.3888, allocations: 1.301 MB / 322.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009133/0.398, allocations: 1.701 MB / 324.4 MB, free: 8.484 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.4001, allocations: 247.8 kB / 324.6 MB, free: 8.246 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001194/0.4013, allocations: 184 kB / 324.8 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002174/0.4035, allocations: 1.04 MB / 325.8 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002124/0.4057, allocations: 428 kB / 326.2 MB, free: 6.605 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.4168, allocations: 6.81 MB / 333 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4169, allocations: 0 / 333 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4169, allocations: 0 / 333 MB, free: 15.78 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002918/0.4172, allocations: 0 / 333 MB, free: 15.78 MB / 282.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.01375/0.431, allocations: 3.895 MB / 336.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.431, allocations: 8.031 kB / 337 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003441/0.4345, allocations: 0.5528 MB / 337.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008161/0.4427, allocations: 2.511 MB / 340 MB, free: 8.664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004379/0.4432, allocations: 295.8 kB / 340.3 MB, free: 8.375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00161/0.4448, allocations: 376 kB / 340.7 MB, free: 8.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/0.4631, allocations: 5.742 MB / 346.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/0.4633, allocations: 3.984 kB / 346.4 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009257/0.4642, allocations: 164 kB / 346.6 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003524/0.4646, allocations: 204 kB / 346.8 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01663/0.4812, allocations: 5.001 MB / 351.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07529/0.5566, allocations: 16.51 MB / 368.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02821/0.5848, allocations: 6.793 MB / 375.1 MB, free: 4.656 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007493/0.5857, allocations: 139.1 kB / 375.2 MB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.659e-05/0.5858, allocations: 56.56 kB / 375.3 MB, free: 4.441 MB / 314.7 MB Notification: Performance of pre-optimization done (n=249): time 1.042e-05/0.5858, allocations: 7.984 kB / 375.3 MB, free: 4.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=256): time 0.03895/0.6248, allocations: 10.79 MB / 386.1 MB, free: 9.391 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/0.6249, allocations: 81.36 kB / 386.2 MB, free: 9.297 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006427/0.6313, allocations: 2.339 MB / 388.5 MB, free: 6.941 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005608/0.632, allocations: 69.7 kB / 388.6 MB, free: 6.867 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001785/0.6338, allocations: 1.511 MB / 390.1 MB, free: 5.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001459/0.6353, allocations: 0.8316 MB / 390.9 MB, free: 4.496 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.6356, allocations: 56 kB / 391 MB, free: 4.441 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002973/0.6359, allocations: 407.6 kB / 391.4 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004037/0.6399, allocations: 1.348 MB / 392.7 MB, free: 2.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004622/0.6446, allocations: 1.658 MB / 394.4 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00487/0.6495, allocations: 1.589 MB / 396 MB, free: 15.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/0.6496, allocations: 3.953 kB / 396 MB, free: 15.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01415/0.6637, allocations: 4.307 MB / 400.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.6638, allocations: 8 kB / 400.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.6639, allocations: 4 kB / 400.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009156/0.673, allocations: 1.628 MB / 401.9 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003233/0.6763, allocations: 395.4 kB / 402.3 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3228/0.9992, allocations: 23.88 MB / 426.2 MB, free: 100.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003134/1.002, allocations: 100.2 kB / 426.3 MB, free: 100.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004862/1.003, allocations: 77.75 kB / 426.3 MB, free: 100.5 MB / 362.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.00443/1.007, allocations: 1.405 MB / 427.7 MB, free: 100.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/1.008, allocations: 302 kB / 428 MB, free: 100.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/1.021, allocations: 4.421 MB / 432.5 MB, free: 99.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.342e-05/1.021, allocations: 27.59 kB / 432.5 MB, free: 99.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.276e-05/1.021, allocations: 7.781 kB / 432.5 MB, free: 99.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-05/1.021, allocations: 11.34 kB / 432.5 MB, free: 99.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02311/1.045, allocations: 8.94 MB / 441.4 MB, free: 95.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/1.045, allocations: 2.062 kB / 441.5 MB, free: 95.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/1.047, allocations: 294.2 kB / 441.7 MB, free: 95.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00805/1.055, allocations: 1.606 MB / 443.3 MB, free: 94.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004365/1.056, allocations: 63.97 kB / 443.4 MB, free: 94.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03221/1.088, allocations: 23.63 MB / 467 MB, free: 69.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.088, allocations: 3.938 kB / 467 MB, free: 69.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/1.102, allocations: 6.193 MB / 473.2 MB, free: 63.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002328/1.105, allocations: 0.6973 MB / 473.9 MB, free: 62.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009478/1.106, allocations: 51.98 kB / 474 MB, free: 62.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002831/1.109, allocations: 134.2 kB / 474.1 MB, free: 62.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007347/1.109, allocations: 213.7 kB / 474.3 MB, free: 62.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000226/1.11, allocations: 63.98 kB / 474.4 MB, free: 62.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003878/1.114, allocations: 1.829 MB / 476.2 MB, free: 60.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.114, allocations: 0 / 476.2 MB, free: 60.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005153/1.119, allocations: 0.9564 MB / 477.2 MB, free: 59.66 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.0008735/1.12, allocations: 205.1 kB / 477.4 MB, free: 59.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01059/1.13, allocations: 4.879 MB / 482.2 MB, free: 54.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.13, allocations: 1.562 kB / 482.3 MB, free: 54.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007498/1.138, allocations: 3.392 MB / 485.6 MB, free: 50.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00652/1.144, allocations: 0.8882 MB / 486.5 MB, free: 50.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02208/1.167, allocations: 9.848 MB / 496.4 MB, free: 40.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004767/1.171, allocations: 3.175 MB / 499.6 MB, free: 36.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/1.173, allocations: 175.4 kB / 499.7 MB, free: 36.81 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/1.173, allocations: 3.938 kB / 499.7 MB, free: 36.81 MB / 362.7 MB Notification: Performance of Templates: time 1.022/2.194, allocations: 248.2 MB / 0.7304 GB, free: 149.3 MB / 426.7 MB make -j1 -f Modelica_3.2.2_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.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.cpp:36: ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.cpp:3212:29: error: use of undeclared identifier 'tmp390' _transformerData1_P_C1_ = tmp390; ^ ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.cpp:3213:29: error: use of undeclared identifier 'tmp391' _transformerData1_P_C2_ = tmp391; ^ ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.cpp:3214:29: error: use of undeclared identifier 'tmp392' _transformerData2_P_C1_ = tmp392; ^ ./OMCppModelica_3.2.2_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.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulseCalcHelperMain.o] Error 1