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.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadModel(Modelica): time 2.187/2.187, allocations: 194.9 MB / 211.2 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.297e-05, allocations: 8 kB / 258.8 MB, free: 8.695 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3413, allocations: 44.5 MB / 303.3 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009544/0.3509, allocations: 5.561 MB / 308.9 MB, free: 8.137 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006228/0.3572, allocations: 2.089 MB / 310.9 MB, free: 6.043 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.3587, allocations: 51.81 kB / 311 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.3604, allocations: 350.1 kB / 311.3 MB, free: 5.648 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.3632, allocations: 0.5022 MB / 311.8 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008099/0.364, allocations: 171.8 kB / 312 MB, free: 4.977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003582/0.3676, allocations: 1.392 MB / 313.4 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.3702, allocations: 1.186 MB / 314.6 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.3722, allocations: 0.7286 MB / 315.3 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.3747, allocations: 0.9539 MB / 316.3 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.3761, allocations: 159.9 kB / 316.4 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006776/0.3768, allocations: 100 kB / 316.5 MB, free: 448 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.378, allocations: 0.5684 MB / 317.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.3792, allocations: 236 kB / 317.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006535/0.3858, allocations: 3.732 MB / 321.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3859, allocations: 0 / 321.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.3859, allocations: 0 / 321.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001714/0.3861, allocations: 0 / 321.1 MB, free: 11.89 MB / 266.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.008137/0.3942, allocations: 2.295 MB / 323.3 MB, free: 9.535 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.3943, allocations: 12.03 kB / 323.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.3963, allocations: 304.7 kB / 323.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004637/0.401, allocations: 1.456 MB / 325.1 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/0.4013, allocations: 172.2 kB / 325.3 MB, free: 7.535 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009676/0.4023, allocations: 215.9 kB / 325.5 MB, free: 7.324 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.4129, allocations: 3.147 MB / 328.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.541e-05/0.4131, allocations: 0 / 328.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004269/0.4135, allocations: 88 kB / 328.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002032/0.4137, allocations: 116.4 kB / 328.8 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009203/0.4229, allocations: 2.719 MB / 331.6 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02587/0.4489, allocations: 8.959 MB / 340.5 MB, free: 8.023 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00633/0.4553, allocations: 3.378 MB / 343.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004871/0.4558, allocations: 126.4 kB / 344 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.698e-05/0.4559, allocations: 59.77 kB / 344.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 4.158e-06/0.4559, allocations: 0 / 344.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.01976/0.4757, allocations: 5.708 MB / 349.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.4758, allocations: 68.66 kB / 349.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/0.4792, allocations: 1.327 MB / 351.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003125/0.4796, allocations: 53.7 kB / 351.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009105/0.4805, allocations: 0.8991 MB / 352.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006816/0.4812, allocations: 445.5 kB / 352.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.4814, allocations: 24 kB / 352.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.4816, allocations: 370.7 kB / 353 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/0.4836, allocations: 0.7052 MB / 353.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002406/0.4861, allocations: 0.8708 MB / 354.5 MB, free: 9.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00249/0.4886, allocations: 0.8261 MB / 355.4 MB, free: 8.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/0.4887, allocations: 4 kB / 355.4 MB, free: 8.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006851/0.4956, allocations: 2.225 MB / 357.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.4957, allocations: 4 kB / 357.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.4957, allocations: 4 kB / 357.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00455/0.5002, allocations: 0.8111 MB / 358.4 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.502, allocations: 207.7 kB / 358.6 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02031/0.5224, allocations: 10.72 MB / 369.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.5243, allocations: 55.95 kB / 369.4 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/0.5245, allocations: 36 kB / 369.4 MB, free: 9.977 MB / 314.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.002217/0.5267, allocations: 0.8246 MB / 370.2 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006004/0.5274, allocations: 166 kB / 370.4 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007078/0.5344, allocations: 2.296 MB / 372.7 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.905e-05/0.5345, allocations: 12 kB / 372.7 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/0.5346, allocations: 8 kB / 372.7 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.378e-05/0.5346, allocations: 7.969 kB / 372.7 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/0.5494, allocations: 4.774 MB / 377.5 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.5495, allocations: 0 / 377.5 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/0.551, allocations: 167.8 kB / 377.7 MB, free: 1.602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004556/0.5556, allocations: 0.7923 MB / 378.5 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002641/0.5559, allocations: 31.98 kB / 378.5 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02028/0.5762, allocations: 10.62 MB / 389.1 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5763, allocations: 0 / 389.1 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009411/0.5857, allocations: 3.296 MB / 392.4 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/0.5873, allocations: 411 kB / 392.8 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005755/0.5879, allocations: 28 kB / 392.8 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.5896, allocations: 75.94 kB / 392.9 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004806/0.5901, allocations: 117.2 kB / 393 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/0.5903, allocations: 39.97 kB / 393.1 MB, free: 1.578 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00274/0.593, allocations: 1.04 MB / 394.1 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.5931, allocations: 0 / 394.1 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002993/0.5961, allocations: 0.5156 MB / 394.6 MB, free: 20 kB / 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.0007768/0.5969, allocations: 172.2 kB / 394.8 MB, free: 15.85 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006728/0.6036, allocations: 2.416 MB / 397.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.6037, allocations: 0.875 kB / 397.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004573/0.6083, allocations: 1.624 MB / 398.8 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/0.6121, allocations: 467.4 kB / 399.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/0.6265, allocations: 5.428 MB / 404.7 MB, free: 5.785 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003144/0.6297, allocations: 2.022 MB / 406.7 MB, free: 3.727 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000709/0.6305, allocations: 99.42 kB / 406.8 MB, free: 3.629 MB / 346.7 MB Notification: Performance of SimCode: time 1.883e-06/0.6305, allocations: 0 / 406.8 MB, free: 3.629 MB / 346.7 MB Notification: Performance of Templates: time 0.4104/1.041, allocations: 72.16 MB / 479 MB, free: 58.79 MB / 362.7 MB make -j1 -f Modelica_3.2.2_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.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.cpp:36: ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.cpp:1936:29: error: use of undeclared identifier 'tmp207' _transformerData1_P_C1_ = tmp207; ^ ./OMCppModelica_3.2.2_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.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulseCalcHelperMain.o] Error 1